HomeSort by relevance Sort by last modified time
    Searched refs:clip (Results 1 - 25 of 678) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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
62 memcpy(clip.ucp,
64 : ctx->Transform._ClipUserPlane, sizeof(clip.ucp));
66 if (memcmp(&st->state.clip, &clip, sizeof(clip)) != 0) {
67 st->state.clip = clip
    [all...]
st_cb_blit.c 64 } clip; local
73 clip.srcX0 = srcX0;
74 clip.srcY0 = srcY0;
75 clip.srcX1 = srcX1;
76 clip.srcY1 = srcY1;
77 clip.dstX0 = dstX0;
78 clip.dstY0 = dstY0;
79 clip.dstX1 = dstX1;
80 clip.dstY1 = dstY1;
89 &clip.srcX0, &clip.srcY0, &clip.srcX1, &clip.srcY1
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_clip_state.c 44 sizeof(*vp), 32, &brw->clip.vp_offset);
60 struct brw_clip_unit_state *clip; local
69 clip = brw_state_batch(brw, AUB_TRACE_CLIP_STATE,
70 sizeof(*clip), 32, &brw->clip.state_offset);
71 memset(clip, 0, sizeof(*clip));
74 clip->thread0.grf_reg_count = (ALIGN(brw->clip.prog_data->total_grf, 16) /
76 clip->thread0.kernel_start_pointer
    [all...]
  /external/skia/src/core/
SkScan.cpp 25 void SkScan::FillIRect(const SkIRect& r, const SkRegion* clip,
28 if (clip) {
29 if (clip->isRect()) {
30 const SkIRect& clipBounds = clip->getBounds();
41 SkRegion::Cliperator cliper(*clip, r);
55 void SkScan::FillXRect(const SkXRect& xr, const SkRegion* clip,
60 SkScan::FillIRect(r, clip, blitter);
63 void SkScan::FillRect(const SkRect& r, const SkRegion* clip,
68 SkScan::FillIRect(ir, clip, blitter);
73 void SkScan::FillIRect(const SkIRect& r, const SkRasterClip& clip,
    [all...]
SkLineClipper.cpp 77 bool SkLineClipper::IntersectLine(const SkPoint src[2], const SkRect& clip,
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.fBottom)
    [all...]
SkLineClipper.h 20 /* Clip the line pts[0]...pts[1] against clip, ignoring segments that
21 lie completely above or below the clip. For portions to the left or
23 edge of the clip.
31 static int ClipLine(const SkPoint pts[2], const SkRect& clip,
42 static bool IntersectLine(const SkPoint src[2], const SkRect& clip, SkPoint dst[2]);
SkEdgeClipper.cpp 13 static bool quick_reject(const SkRect& bounds, const SkRect& clip) {
14 return bounds.fTop >= clip.fBottom || bounds.fBottom <= clip.fTop;
46 bool SkEdgeClipper::clipLine(SkPoint p0, SkPoint p1, const SkRect& clip) {
52 int lineCount = SkLineClipper::ClipLine(pts, clip, lines, fCanCullToTheRight);
92 // Modify pts[] in place so that it is clipped in Y to the clip rect
93 static void chop_quad_in_Y(SkPoint pts[3], const SkRect& clip) {
98 if (pts[0].fY < clip.fTop) {
99 if (chopMonoQuadAtY(pts, clip.fTop, &t)) {
103 tmp[2].fY = clip.fTop
    [all...]
SkEdgeClipper.h 14 /** This is basically an iterator. It is initialized with an edge and a clip,
21 bool clipLine(SkPoint p0, SkPoint p1, const SkRect& clip);
22 bool clipQuad(const SkPoint pts[3], const SkRect& clip);
23 bool clipCubic(const SkPoint pts[4], const SkRect& clip);
41 void clipMonoQuad(const SkPoint srcPts[3], const SkRect& clip);
42 void clipMonoCubic(const SkPoint srcPts[4], const SkRect& clip);
SkQuadClipper.h 14 /** This class is initialized with a clip rectangle, and then can be fed quads,
17 In the future, it might return a series of segments, allowing it to clip
24 void setClip(const SkIRect& clip);
38 bool clipQuad(const SkPoint pts[3], const SkRect& clip);
39 bool clipCubic(const SkPoint pts[4], const SkRect& clip);
54 void clipMonoQuad(const SkPoint srcPts[3], const SkRect& clip);
55 void clipMonoCubic(const SkPoint srcPts[4], const SkRect& clip);
SkScan_Antihair.cpp 18 our extends. The bug is that when this happens, we will set the clip to
19 nullptr (for speed), and thus draw outside of the clip by a pixel, which might
25 case (i.e. not setting the clip to nullptr) when we might not actually need
305 const SkIRect* clip, SkBlitter* blitter) {
313 // The caller must clip the line to [-32767.0 ... 32767.0] ahead of time
323 values are huge. A better fix might be to clip the original pts
329 do_anti_hairline(x0, y0, hx, hy, clip, blitter);
330 do_anti_hairline(hx, hy, x1, y1, clip, blitter);
374 if (clip){
375 if (istart >= clip->fRight || istop <= clip->fLeft)
    [all...]
SkCubicClipper.h 15 /** This class is initialized with a clip rectangle, and then can be fed cubics,
18 In the future, it might return a series of segments, allowing it to clip
25 void setClip(const SkIRect& clip);
  /external/icu/icu4c/source/samples/layout/
Surface.cpp 21 RECT clip; local
23 clip.top = 0;
24 clip.left = 0;
25 clip.bottom = height;
26 clip.right = width;
30 ExtTextOut(fHdc, x, y - fAscent, ETO_CLIPPED | ETO_GLYPH_INDEX, &clip,
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
RoundedRectHelper.java 43 public void setClipToRoundedOutline(View view, boolean clip, int radius) {
44 mImpl.setClipToRoundedOutline(view, clip, radius);
50 public void setClipToRoundedOutline(View view, boolean clip) {
51 mImpl.setClipToRoundedOutline(view, clip, view.getResources().getDimensionPixelSize(
56 public void setClipToRoundedOutline(View view, boolean clip, int radius);
67 public void setClipToRoundedOutline(View view, boolean clip, int radius) {
81 public void setClipToRoundedOutline(View view, boolean clip, int radius) {
82 RoundedRectHelperApi21.setClipToRoundedOutline(view, clip, radius);
  /external/skia/src/gpu/
GrGpuCommandBuffer.cpp 24 void GrGpuCommandBuffer::clear(GrRenderTarget* rt, const GrFixedClip& clip, GrColor color) {
27 SkASSERT(!clip.scissorEnabled() ||
28 (SkIRect::MakeWH(rt->width(), rt->height()).contains(clip.scissorRect()) &&
29 SkIRect::MakeWH(rt->width(), rt->height()) != clip.scissorRect()));
31 this->onClear(rt, clip, color);
34 void GrGpuCommandBuffer::clearStencilClip(GrRenderTarget* rt, const GrFixedClip& clip,
36 this->onClearStencilClip(rt, clip, insideStencilMask);
GrPathRenderingRenderTargetContext.cpp 18 void GrPathRenderingRenderTargetContext::drawText(const GrClip& clip, const SkPaint& skPaint,
32 fStencilAndCoverTextContext->drawText(this->drawingManager()->getContext(), this, clip, skPaint,
37 void GrPathRenderingRenderTargetContext::drawPosText(const GrClip& clip, const SkPaint& skPaint,
54 this->drawingManager()->getContext(), this, clip, skPaint, viewMatrix,
58 void GrPathRenderingRenderTargetContext::drawTextBlob(const GrClip& clip, const SkPaint& skPaint,
75 fStencilAndCoverTextContext->drawTextBlob(this->drawingManager()->getContext(), this, clip,
  /external/webp/src/dec/
quant_dec.c 16 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/skia/tests/
MatrixClipCollapseTest.cpp 15 // This test exercises the Matrix/Clip State collapsing system. It generates
18 // overall structure, bodies that draw something and model/clip state changes.
23 // be completely removed by the matrix/clip collapse. Note: every save in
32 // The ModelClip methods output matrix and clip ops in various orders and
34 // expected matrix & clip ops. Note that, currently, the entire clip stack
35 // is output for each MC state so the clip operations accumulate down the
39 // check on clip offsets
40 // - not sure if this is possible. The desire is to verify that the clip
43 // offset stored in the SkPicture to the debugger's clip object
    [all...]
FillPathTest.cpp 34 SkIRect clip; local
39 clip.set(0, height - expected_lines, width, height);
45 SkScan::FillPath(path, clip, &blitter);
  /frameworks/native/opengl/libagl/
vertex.cpp 52 // Divides a vertex clip coordinates by W
56 // [x,y,z]window = vpt * ([x,y,z]clip / clip.w)
69 const int32_t rw = gglRecip28(v->clip.w);
72 v->window.x = gglMulAddx(gglMulx(v->clip.x, rw, 16), m[ 0], m[12], 28);
73 v->window.y = gglMulAddx(gglMulx(v->clip.y, rw, 16), m[ 5], m[13], 28);
77 v->window.z = gglMulAddx(gglMulx(v->clip.z, rw, 16), m[10], m[14], 28);
85 // ndc = clip / W
88 // clip to the view-volume
89 uint32_t clip = v->flags & vertex_t::CLIP_ALL local
118 uint32_t clip = 0; local
    [all...]
  /external/fec/
sim.c 33 unsigned char addnoise(int sym,double amp,double gain,double offset,int clip){
37 /* Clip to 8-bit offset range */
40 else if(sample > clip)
41 sample = clip;
  /cts/tests/tests/content/src/android/content/cts/
ClipboardManagerListenerActivity.java 46 public synchronized void setPrimaryClip(ClipData clip) {
47 mClipboardManager.setPrimaryClip(clip);
  /frameworks/base/core/java/android/content/
ClipboardManager.java 73 * Defines a listener callback that is invoked when the primary clip on the clipboard changes.
84 * clip changes.
97 * Sets the current primary clip on the clipboard. This is the clip that
100 * @param clip The clipped data item to set.
102 public void setPrimaryClip(ClipData clip) {
104 if (clip != null) {
105 clip.prepareToLeaveProcess(true);
107 mService.setPrimaryClip(clip, mContext.getOpPackageName());
114 * Returns the current primary clip on the clipboard
181 ClipData clip = getPrimaryClip(); local
    [all...]
  /external/skia/src/gpu/ops/
GrClearStencilClipOp.h 21 static std::unique_ptr<GrOp> Make(const GrFixedClip& clip, bool insideStencilMask,
23 return std::unique_ptr<GrOp>(new GrClearStencilClipOp(clip, insideStencilMask, proxy));
42 GrClearStencilClipOp(const GrFixedClip& clip, bool insideStencilMask,
45 , fClip(clip)
  /external/toybox/toys/posix/
nl.c 75 char *clip = ""; local
80 else if (!strcmp(TT.n, "ln")) clip = "-";
81 else if (!strcmp(TT.n, "rz")) clip = "0";
84 sprintf(toybuf, "%%%s%s", clip, "*ld%s");
  /cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
CopyPasteTest.java 57 ClipData clip = ClipData.newPlainText(""/*label*/, INITIAL_TEXT); local
58 mClipboard.setPrimaryClip(clip);
67 ClipData clip = ClipData.newPlainText(""/*label*/, INITIAL_TEXT); local
68 mClipboard.setPrimaryClip(clip);
98 ClipData clip = mClipboard.getPrimaryClip(); local
99 if (clip == null) {
102 ClipData.Item item = clip.getItemAt(0);

Completed in 1369 milliseconds

1 2 3 4 5 6 7 8 91011>>