Searched refs:clip (Results 1 - 25 of 575) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_clip_state.c41 struct brw_clip_unit_state *clip; local
43 clip = brw_state_batch(brw, AUB_TRACE_CLIP_STATE,
44 sizeof(*clip), 32, &brw->clip.state_offset);
45 memset(clip, 0, sizeof(*clip));
48 clip->thread0.grf_reg_count = (ALIGN(brw->clip.prog_data->total_grf, 16) /
50 clip->thread0.kernel_start_pointer =
52 brw->clip
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_clip_state.c41 struct brw_clip_unit_state *clip; local
43 clip = brw_state_batch(brw, AUB_TRACE_CLIP_STATE,
44 sizeof(*clip), 32, &brw->clip.state_offset);
45 memset(clip, 0, sizeof(*clip));
48 clip->thread0.grf_reg_count = (ALIGN(brw->clip.prog_data->total_grf, 16) /
50 clip->thread0.kernel_start_pointer =
52 brw->clip
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_atom_clip.c42 /* Second state atom for user clip planes:
46 struct pipe_clip_state clip; local
50 STATIC_ASSERT(sizeof(clip.ucp) <= sizeof(ctx->Transform._ClipUserPlane));
52 /* if we have a vertex shader that writes clip vertex we need to pass
59 memcpy(clip.ucp,
61 : ctx->Transform._ClipUserPlane, sizeof(clip.ucp));
62 st->state.clip = clip;
63 cso_set_clip(st->cso_context, &clip);
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_clip.c42 /* Second state atom for user clip planes:
46 struct pipe_clip_state clip; local
50 STATIC_ASSERT(sizeof(clip.ucp) <= sizeof(ctx->Transform._ClipUserPlane));
52 /* if we have a vertex shader that writes clip vertex we need to pass
59 memcpy(clip.ucp,
61 : ctx->Transform._ClipUserPlane, sizeof(clip.ucp));
62 st->state.clip = clip;
63 cso_set_clip(st->cso_context, &clip);
/external/chromium_org/third_party/skia/src/core/
H A DSkScan.cpp18 void SkScan::FillIRect(const SkIRect& r, const SkRegion* clip, argument
21 if (clip) {
22 if (clip->isRect()) {
23 const SkIRect& clipBounds = clip->getBounds();
34 SkRegion::Cliperator cliper(*clip, r);
48 void SkScan::FillXRect(const SkXRect& xr, const SkRegion* clip, argument
53 SkScan::FillIRect(r, clip, blitter);
56 void SkScan::FillRect(const SkRect& r, const SkRegion* clip, argument
61 SkScan::FillIRect(ir, clip, blitter);
66 void SkScan::FillIRect(const SkIRect& r, const SkRasterClip& clip, argument
81 FillXRect(const SkXRect& xr, const SkRasterClip& clip, SkBlitter* blitter) argument
96 FillRect(const SkRect& r, const SkRasterClip& clip, SkBlitter* blitter) argument
[all...]
H A DSkLineClipper.cpp77 bool SkLineClipper::IntersectLine(const SkPoint src[2], const SkRect& clip, argument
82 if (containsNoEmptyCheck(clip, bounds)) {
90 if (nestedLT(bounds.fRight, clip.fLeft, bounds.width()) ||
91 nestedLT(clip.fRight, bounds.fLeft, bounds.width()) ||
92 nestedLT(bounds.fBottom, clip.fTop, bounds.height()) ||
93 nestedLT(clip.fBottom, bounds.fTop, bounds.height())) {
111 if (tmp[index0].fY < clip.fTop) {
112 tmp[index0].set(sect_with_horizontal(src, clip.fTop), clip.fTop);
114 if (tmp[index1].fY > clip
175 ClipLine(const SkPoint pts[], const SkRect& clip, SkPoint lines[]) argument
[all...]
H A DSkLineClipper.h21 /* Clip the line pts[0]...pts[1] against clip, ignoring segments that
22 lie completely above or below the clip. For portions to the left or
24 edge of the clip.
32 static int ClipLine(const SkPoint pts[2], const SkRect& clip,
43 static bool IntersectLine(const SkPoint src[2], const SkRect& clip,
H A DSkEdgeClipper.cpp13 static bool quick_reject(const SkRect& bounds, const SkRect& clip) { argument
14 return bounds.fTop >= clip.fBottom || bounds.fBottom <= clip.fTop;
75 // Modify pts[] in place so that it is clipped in Y to the clip rect
76 static void chop_quad_in_Y(SkPoint pts[3], const SkRect& clip) { argument
81 if (pts[0].fY < clip.fTop) {
82 if (chopMonoQuadAtY(pts, clip.fTop, &t)) {
86 tmp[2].fY = clip.fTop;
87 clamp_ge(tmp[3].fY, clip.fTop);
95 if (pts[i].fY < clip
125 clipMonoQuad(const SkPoint srcPts[3], const SkRect& clip) argument
197 clipQuad(const SkPoint srcPts[3], const SkRect& clip) argument
[all...]
H A DSkScan_Hairline.cpp44 const SkRegion* clip, SkBlitter* blitter) {
50 // We have to pre-clip the line to fit in a SkFixed, so we just chop
61 if (clip) {
62 // Perform a clip in scalar space, so we catch huge values which might
64 r.set(clip->getBounds());
80 if (clip) {
84 const SkIRect& bounds = clip->getBounds();
100 if (clip->isRect() && clipR.contains(ptsR)) {
101 clip = NULL;
103 blitter = clipper.apply(blitter, clip);
[all...]
H A DSkScanPriv.h18 SkScanClipper(SkBlitter* blitter, const SkRegion* clip, const SkIRect& bounds,
31 // clipRect == null means path is entirely inside the clip
36 // blit the rects above and below avoid, clipped to clip
37 void sk_blit_above(SkBlitter*, const SkIRect& avoid, const SkRegion& clip);
38 void sk_blit_below(SkBlitter*, const SkIRect& avoid, const SkRegion& clip);
/external/skia/src/core/
H A DSkScan.cpp18 void SkScan::FillIRect(const SkIRect& r, const SkRegion* clip, argument
21 if (clip) {
22 if (clip->isRect()) {
23 const SkIRect& clipBounds = clip->getBounds();
34 SkRegion::Cliperator cliper(*clip, r);
48 void SkScan::FillXRect(const SkXRect& xr, const SkRegion* clip, argument
53 SkScan::FillIRect(r, clip, blitter);
56 void SkScan::FillRect(const SkRect& r, const SkRegion* clip, argument
61 SkScan::FillIRect(ir, clip, blitter);
66 void SkScan::FillIRect(const SkIRect& r, const SkRasterClip& clip, argument
81 FillXRect(const SkXRect& xr, const SkRasterClip& clip, SkBlitter* blitter) argument
96 FillRect(const SkRect& r, const SkRasterClip& clip, SkBlitter* blitter) argument
[all...]
H A DSkLineClipper.cpp77 bool SkLineClipper::IntersectLine(const SkPoint src[2], const SkRect& clip, argument
82 if (containsNoEmptyCheck(clip, bounds)) {
90 if (nestedLT(bounds.fRight, clip.fLeft, bounds.width()) ||
91 nestedLT(clip.fRight, bounds.fLeft, bounds.width()) ||
92 nestedLT(bounds.fBottom, clip.fTop, bounds.height()) ||
93 nestedLT(clip.fBottom, bounds.fTop, bounds.height())) {
111 if (tmp[index0].fY < clip.fTop) {
112 tmp[index0].set(sect_with_horizontal(src, clip.fTop), clip.fTop);
114 if (tmp[index1].fY > clip
175 ClipLine(const SkPoint pts[], const SkRect& clip, SkPoint lines[]) argument
[all...]
H A DSkLineClipper.h21 /* Clip the line pts[0]...pts[1] against clip, ignoring segments that
22 lie completely above or below the clip. For portions to the left or
24 edge of the clip.
32 static int ClipLine(const SkPoint pts[2], const SkRect& clip,
43 static bool IntersectLine(const SkPoint src[2], const SkRect& clip,
H A DSkEdgeClipper.cpp13 static bool quick_reject(const SkRect& bounds, const SkRect& clip) { argument
14 return bounds.fTop >= clip.fBottom || bounds.fBottom <= clip.fTop;
75 // Modify pts[] in place so that it is clipped in Y to the clip rect
76 static void chop_quad_in_Y(SkPoint pts[3], const SkRect& clip) { argument
81 if (pts[0].fY < clip.fTop) {
82 if (chopMonoQuadAtY(pts, clip.fTop, &t)) {
86 tmp[2].fY = clip.fTop;
87 clamp_ge(tmp[3].fY, clip.fTop);
95 if (pts[i].fY < clip
125 clipMonoQuad(const SkPoint srcPts[3], const SkRect& clip) argument
197 clipQuad(const SkPoint srcPts[3], const SkRect& clip) argument
[all...]
H A DSkScan_Hairline.cpp44 const SkRegion* clip, SkBlitter* blitter) {
50 // We have to pre-clip the line to fit in a SkFixed, so we just chop
61 if (clip) {
62 // Perform a clip in scalar space, so we catch huge values which might
64 r.set(clip->getBounds());
80 if (clip) {
84 const SkIRect& bounds = clip->getBounds();
100 if (clip->isRect() && clipR.contains(ptsR)) {
101 clip = NULL;
103 blitter = clipper.apply(blitter, clip);
[all...]
H A DSkScanPriv.h18 SkScanClipper(SkBlitter* blitter, const SkRegion* clip, const SkIRect& bounds,
31 // clipRect == null means path is entirely inside the clip
36 // blit the rects above and below avoid, clipped to clip
37 void sk_blit_above(SkBlitter*, const SkIRect& avoid, const SkRegion& clip);
38 void sk_blit_below(SkBlitter*, const SkIRect& avoid, const SkRegion& clip);
/external/chromium_org/third_party/icu/source/samples/layout/
H A DSurface.cpp18 RECT clip; local
20 clip.top = 0;
21 clip.left = 0;
22 clip.bottom = height;
23 clip.right = width;
27 ExtTextOut(fHdc, x, y - fAscent, ETO_CLIPPED | ETO_GLYPH_INDEX, &clip,
/external/icu/icu4c/source/samples/layout/
H A DSurface.cpp18 RECT clip; local
20 clip.top = 0;
21 clip.left = 0;
22 clip.bottom = height;
23 clip.right = width;
27 ExtTextOut(fHdc, x, y - fAscent, ETO_CLIPPED | ETO_GLYPH_INDEX, &clip,
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DStyleVisualData.cpp42 , clip(o.clip)
H A DStyleVisualData.h43 return clip == o.clip
50 LengthBox clip; member in class:blink::StyleVisualData
/external/chromium_org/ui/android/java/src/org/chromium/ui/base/
H A DClipboard.java58 * the clip; consumers of this API should familiarize themselves with the
70 final ClipData clip = mClipboardManager.getPrimaryClip();
71 if (clip != null && clip.getItemCount() > 0) {
72 final CharSequence sequence = clip.getItemAt(0).coerceToText(mContext);
81 * Gets the HTML text of top item on the primary clip on the Android clipboard.
84 * text or no entries on the primary clip.
89 final ClipData clip = mClipboardManager.getPrimaryClip();
90 if (clip != null && clip
156 setPrimaryClipNoException(ClipData clip) argument
[all...]
/external/chromium_org/third_party/libjingle/source/talk/session/media/
H A Dsoundclip.cc40 : clip(c),
46 const void *clip; member in struct:cricket::PlaySoundMessageData
57 bool Soundclip::PlaySound(const void *clip, argument
60 PlaySoundMessageData data(clip, len, flags);
65 bool Soundclip::PlaySound_w(const void *clip, argument
68 return soundclip_media_->PlaySound(static_cast<const char *>(clip),
77 data->result = PlaySound_w(data->clip,
/external/chromium_org/third_party/libwebp/dec/
H A Dquant.c16 static WEBP_INLINE int clip(int v, int M) { function
91 m->y1_mat_[0] = kDcTable[clip(q + dqy1_dc, 127)];
92 m->y1_mat_[1] = kAcTable[clip(q + 0, 127)];
94 m->y2_mat_[0] = kDcTable[clip(q + dqy2_dc, 127)] * 2;
98 m->y2_mat_[1] = (kAcTable[clip(q + dqy2_ac, 127)] * 101581) >> 16;
101 m->uv_mat_[0] = kDcTable[clip(q + dquv_dc, 117)];
102 m->uv_mat_[1] = kAcTable[clip(q + dquv_ac, 127)];
/external/webp/src/dec/
H A Dquant.c16 static WEBP_INLINE int clip(int v, int M) { function
91 m->y1_mat_[0] = kDcTable[clip(q + dqy1_dc, 127)];
92 m->y1_mat_[1] = kAcTable[clip(q + 0, 127)];
94 m->y2_mat_[0] = kDcTable[clip(q + dqy2_dc, 127)] * 2;
98 m->y2_mat_[1] = (kAcTable[clip(q + dqy2_ac, 127)] * 101581) >> 16;
101 m->uv_mat_[0] = kDcTable[clip(q + dquv_dc, 117)];
102 m->uv_mat_[1] = kAcTable[clip(q + dquv_ac, 127)];
/external/chromium_org/android_webview/browser/
H A Dparent_output_surface.cc27 const gfx::Rect& clip) {
34 identity, empty, clip, clip, identity, resourceless_software_draw);
26 SetDrawConstraints(const gfx::Size& surface_size, const gfx::Rect& clip) argument

Completed in 676 milliseconds

1234567891011>>