HomeSort by relevance Sort by last modified time
    Searched refs:clip (Results 1 - 25 of 530) 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
60 memcpy(clip.ucp,
62 : ctx->Transform._ClipUserPlane, sizeof(clip.ucp));
64 if (memcmp(&st->state.clip, &clip, sizeof(clip)) != 0) {
65 st->state.clip = clip
    [all...]
  /external/skia/src/core/
SkScan.cpp 23 void SkScan::FillIRect(const SkIRect& r, const SkRegion* clip,
26 if (clip) {
27 if (clip->isRect()) {
28 const SkIRect& clipBounds = clip->getBounds();
39 SkRegion::Cliperator cliper(*clip, r);
53 void SkScan::FillXRect(const SkXRect& xr, const SkRegion* clip,
58 SkScan::FillIRect(r, clip, blitter);
61 void SkScan::FillRect(const SkRect& r, const SkRegion* clip,
66 SkScan::FillIRect(ir, clip, blitter);
71 void SkScan::FillIRect(const SkIRect& r, const SkRasterClip& clip,
    [all...]
SkLineClipper.cpp 90 bool SkLineClipper::IntersectLine(const SkPoint src[2], const SkRect& clip,
95 if (containsNoEmptyCheck(clip, bounds)) {
103 if (nestedLT(bounds.fRight, clip.fLeft, bounds.width()) ||
104 nestedLT(clip.fRight, bounds.fLeft, bounds.width()) ||
105 nestedLT(bounds.fBottom, clip.fTop, bounds.height()) ||
106 nestedLT(clip.fBottom, bounds.fTop, bounds.height())) {
124 if (tmp[index0].fY < clip.fTop) {
125 tmp[index0].set(sect_with_horizontal(src, clip.fTop), clip.fTop);
127 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 15 static bool quick_reject(const SkRect& bounds, const SkRect& clip) {
16 return bounds.fTop >= clip.fBottom || bounds.fBottom <= clip.fTop;
48 bool SkEdgeClipper::clipLine(SkPoint p0, SkPoint p1, const SkRect& clip) {
54 int lineCount = SkLineClipper::ClipLine(pts, clip, lines, fCanCullToTheRight);
94 // Modify pts[] in place so that it is clipped in Y to the clip rect
95 static void chop_quad_in_Y(SkPoint pts[3], const SkRect& clip) {
100 if (pts[0].fY < clip.fTop) {
101 if (chopMonoQuadAtY(pts, clip.fTop, &t)) {
105 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);
  /external/skqp/src/core/
SkScan.cpp 23 void SkScan::FillIRect(const SkIRect& r, const SkRegion* clip,
26 if (clip) {
27 if (clip->isRect()) {
28 const SkIRect& clipBounds = clip->getBounds();
39 SkRegion::Cliperator cliper(*clip, r);
53 void SkScan::FillXRect(const SkXRect& xr, const SkRegion* clip,
58 SkScan::FillIRect(r, clip, blitter);
61 void SkScan::FillRect(const SkRect& r, const SkRegion* clip,
66 SkScan::FillIRect(ir, clip, blitter);
71 void SkScan::FillIRect(const SkIRect& r, const SkRasterClip& clip,
    [all...]
SkLineClipper.cpp 90 bool SkLineClipper::IntersectLine(const SkPoint src[2], const SkRect& clip,
95 if (containsNoEmptyCheck(clip, bounds)) {
103 if (nestedLT(bounds.fRight, clip.fLeft, bounds.width()) ||
104 nestedLT(clip.fRight, bounds.fLeft, bounds.width()) ||
105 nestedLT(bounds.fBottom, clip.fTop, bounds.height()) ||
106 nestedLT(clip.fBottom, bounds.fTop, bounds.height())) {
124 if (tmp[index0].fY < clip.fTop) {
125 tmp[index0].set(sect_with_horizontal(src, clip.fTop), clip.fTop);
127 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 15 static bool quick_reject(const SkRect& bounds, const SkRect& clip) {
16 return bounds.fTop >= clip.fBottom || bounds.fBottom <= clip.fTop;
48 bool SkEdgeClipper::clipLine(SkPoint p0, SkPoint p1, const SkRect& clip) {
54 int lineCount = SkLineClipper::ClipLine(pts, clip, lines, fCanCullToTheRight);
94 // Modify pts[] in place so that it is clipped in Y to the clip rect
95 static void chop_quad_in_Y(SkPoint pts[3], const SkRect& clip) {
100 if (pts[0].fY < clip.fTop) {
101 if (chopMonoQuadAtY(pts, clip.fTop, &t)) {
105 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);
  /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,
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowClipboardManager.java 24 private ClipData clip; field in class:ShadowClipboardManager
27 protected void setPrimaryClip(ClipData clip) {
29 if (clip != null) {
30 clip.prepareToLeaveProcess(true);
33 if (clip != null) {
34 ReflectionHelpers.callInstanceMethod(ClipData.class, clip, "prepareToLeaveProcess");
38 this.clip = clip;
47 return clip;
52 return clip == null ? null : clip.getDescription()
    [all...]
  /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/skqp/modules/sksg/include/
SkSGClipEffect.h 18 * Concrete Effect node, applying a clip to its descendants.
23 static sk_sp<ClipEffect> Make(sk_sp<RenderNode> child, sk_sp<GeometryNode> clip,
25 return (child && clip)
26 ? sk_sp<ClipEffect>(new ClipEffect(std::move(child), std::move(clip), aa))
  /external/skia/src/gpu/ops/
GrClearStencilClipOp.cpp 17 const GrFixedClip& clip,
22 return pool->allocate<GrClearStencilClipOp>(clip, insideStencilMask, proxy);
  /external/skqp/src/gpu/ops/
GrClearStencilClipOp.cpp 14 const GrFixedClip& clip,
19 return pool->allocate<GrClearStencilClipOp>(clip, insideStencilMask, proxy);
  /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...]
  /external/skqp/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...]
  /external/libkmsxx/kms++/src/
framebuffer.cpp 40 drmModeClip clip { };
41 clip.x1 = clip.y1 = 0;
42 clip.x2 = width();
43 clip.y2 = height();
45 drmModeDirtyFB(card().fd(), id(), &clip, 1);
  /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);
85 ClipData clip = mClipboard.getPrimaryClip(); local
86 if (clip == null) {
89 ClipData.Item item = clip.getItemAt(0);
  /external/pdfium/core/fxge/dib/
fx_dib_main.cpp 53 FX_RECT FXDIB_SwapClipBox(FX_RECT& clip,
60 rect.left = height - clip.top;
61 rect.right = height - clip.bottom;
63 rect.left = clip.top;
64 rect.right = clip.bottom;
67 rect.top = width - clip.left;
68 rect.bottom = width - clip.right;
70 rect.top = clip.left;
71 rect.bottom = clip.right;
  /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;

Completed in 3490 milliseconds

1 2 3 4 5 6 7 8 91011>>