/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_clip_state.c | 41 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.state_offset [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_clip_state.c | 41 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.state_offset [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_atom_clip.c | 42 /* 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/ |
st_atom_clip.c | 42 /* 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/ |
SkScan.cpp | 18 void SkScan::FillIRect(const SkIRect& r, const SkRegion* clip, 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, 53 SkScan::FillIRect(r, clip, blitter); 58 void SkScan::FillRect(const SkRect& r, const SkRegion* clip, 63 SkScan::FillIRect(ir, clip, blitter); 70 void SkScan::FillIRect(const SkIRect& r, const SkRasterClip& clip, [all...] |
SkCubicClipper.h | 16 /** This class is initialized with a clip rectangle, and then can be fed cubics, 19 In the future, it might return a series of segments, allowing it to clip 26 void setClip(const SkIRect& clip);
|
SkLineClipper.cpp | 87 bool SkLineClipper::IntersectLine(const SkPoint src[2], const SkRect& clip, 92 if (containsNoEmptyCheck(clip, bounds)) { 100 if (nestedLT(bounds.fRight, clip.fLeft, bounds.width()) || 101 nestedLT(clip.fRight, bounds.fLeft, bounds.width()) || 102 nestedLT(bounds.fBottom, clip.fTop, bounds.height()) || 103 nestedLT(clip.fBottom, bounds.fTop, bounds.height())) { 121 if (tmp[index0].fY < clip.fTop) { 122 tmp[index0].set(sect_with_horizontal(src, clip.fTop), clip.fTop); 124 if (tmp[index1].fY > clip.fBottom) [all...] |
SkEdgeClipper.cpp | 13 static bool quick_reject(const SkRect& bounds, const SkRect& clip) { 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) { 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.fTop) [all...] |
SkScan_Hairline.cpp | 44 const SkRegion* clip, SkBlitter* blitter) { 51 // We have to pre-clip the line to fit in a SkFixed, so we just chop 63 if (clip) { 64 // Perform a clip in scalar space, so we catch huge values which might 66 r.set(clip->getBounds()); 82 if (clip) { 86 const SkIRect& bounds = clip->getBounds(); 102 if (clip->isRect() && clipR.contains(ptsR)) { 103 clip = NULL; 105 blitter = clipper.apply(blitter, clip); [all...] |
SkScanPriv.h | 18 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/ |
SkScan.cpp | 18 void SkScan::FillIRect(const SkIRect& r, const SkRegion* clip, 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, 53 SkScan::FillIRect(r, clip, blitter); 58 void SkScan::FillRect(const SkRect& r, const SkRegion* clip, 63 SkScan::FillIRect(ir, clip, blitter); 70 void SkScan::FillIRect(const SkIRect& r, const SkRasterClip& clip, [all...] |
SkCubicClipper.h | 16 /** This class is initialized with a clip rectangle, and then can be fed cubics, 19 In the future, it might return a series of segments, allowing it to clip 26 void setClip(const SkIRect& clip);
|
SkLineClipper.cpp | 87 bool SkLineClipper::IntersectLine(const SkPoint src[2], const SkRect& clip, 92 if (containsNoEmptyCheck(clip, bounds)) { 100 if (nestedLT(bounds.fRight, clip.fLeft, bounds.width()) || 101 nestedLT(clip.fRight, bounds.fLeft, bounds.width()) || 102 nestedLT(bounds.fBottom, clip.fTop, bounds.height()) || 103 nestedLT(clip.fBottom, bounds.fTop, bounds.height())) { 121 if (tmp[index0].fY < clip.fTop) { 122 tmp[index0].set(sect_with_horizontal(src, clip.fTop), clip.fTop); 124 if (tmp[index1].fY > clip.fBottom) [all...] |
SkEdgeClipper.cpp | 13 static bool quick_reject(const SkRect& bounds, const SkRect& clip) { 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) { 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.fTop) [all...] |
SkScan_Hairline.cpp | 44 const SkRegion* clip, SkBlitter* blitter) { 51 // We have to pre-clip the line to fit in a SkFixed, so we just chop 63 if (clip) { 64 // Perform a clip in scalar space, so we catch huge values which might 66 r.set(clip->getBounds()); 82 if (clip) { 86 const SkIRect& bounds = clip->getBounds(); 102 if (clip->isRect() && clipR.contains(ptsR)) { 103 clip = NULL; 105 blitter = clipper.apply(blitter, clip); [all...] |
SkScanPriv.h | 18 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/icu4c/samples/layout/ |
Surface.cpp | 18 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/skia/include/core/ |
SkLineClipper.h | 21 /* 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,
|
/external/skia/include/core/ |
SkLineClipper.h | 21 /* 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,
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/base/ |
Clipboard.java | 58 * the clip; consumers of this API should familiarize themselves with the 70 final ClipData clip = mClipboardManager.getPrimaryClip(); local 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(); local 90 if (clip != null && clip.getItemCount() > 0) [all...] |
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
soundclip.cc | 40 : clip(c), 46 const void *clip; member in struct:cricket::PlaySoundMessageData 57 bool Soundclip::PlaySound(const void *clip, 60 PlaySoundMessageData data(clip, len, flags); 65 bool Soundclip::PlaySound_w(const void *clip, 68 return soundclip_media_->PlaySound(static_cast<const char *>(clip), 77 data->result = PlaySound_w(data->clip,
|
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
soundclip.cc | 40 : clip(c), 46 const void *clip; member in struct:cricket::PlaySoundMessageData 57 bool Soundclip::PlaySound(const void *clip, 60 PlaySoundMessageData data(clip, len, flags); 65 bool Soundclip::PlaySound_w(const void *clip, 68 return soundclip_media_->PlaySound(static_cast<const char *>(clip), 77 data->result = PlaySound_w(data->clip,
|
/external/chromium_org/third_party/libwebp/dec/ |
quant.c | 20 static WEBP_INLINE int clip(int v, int M) { function 95 m->y1_mat_[0] = kDcTable[clip(q + dqy1_dc, 127)]; 96 m->y1_mat_[1] = kAcTable[clip(q + 0, 127)]; 98 m->y2_mat_[0] = kDcTable[clip(q + dqy2_dc, 127)] * 2; 102 m->y2_mat_[1] = (kAcTable[clip(q + dqy2_ac, 127)] * 101581) >> 16; 105 m->uv_mat_[0] = kDcTable[clip(q + dquv_dc, 117)]; 106 m->uv_mat_[1] = kAcTable[clip(q + dquv_ac, 127)];
|
/external/webp/src/dec/ |
quant.c | 20 static WEBP_INLINE int clip(int v, int M) { function 95 m->y1_mat_[0] = kDcTable[clip(q + dqy1_dc, 127)]; 96 m->y1_mat_[1] = kAcTable[clip(q + 0, 127)]; 98 m->y2_mat_[0] = kDcTable[clip(q + dqy2_dc, 127)] * 2; 102 m->y2_mat_[1] = (kAcTable[clip(q + dqy2_ac, 127)] * 101581) >> 16; 105 m->uv_mat_[0] = kDcTable[clip(q + dquv_dc, 117)]; 106 m->uv_mat_[1] = kAcTable[clip(q + dquv_ac, 127)];
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
StyleVisualData.h | 43 return clip == o.clip 51 LengthBox clip; member in class:WebCore::StyleVisualData
|