Searched defs:clip (Results 1 - 25 of 176) sorted by relevance

12345678

/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/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/skia/tests/
H A DFillPathTest.cpp34 SkIRect clip; local
39 clip.set(0, height - expected_lines, width, height);
45 SkScan::FillPath(path, clip, &blitter);
/external/icu/icu4c/source/samples/layout/
H A DSurface.cpp21 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/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_state_clip.c37 const struct pipe_clip_state *clip)
41 /* pass the clip state to the draw module */
42 draw_set_clip_state(llvmpipe->draw, clip);
36 llvmpipe_set_clip_state(struct pipe_context *pipe, const struct pipe_clip_state *clip) argument
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_state_clip.c37 const struct pipe_clip_state *clip)
41 /* pass the clip state to the draw module */
42 draw_set_clip_state(softpipe->draw, clip);
36 softpipe_set_clip_state(struct pipe_context *pipe, const struct pipe_clip_state *clip) argument
/external/skia/debugger/QT/
H A DSkInspectorWidget.cpp54 void SkInspectorWidget::setClip(const SkIRect& clip) { argument
55 fClipEntry[0].setText(QString::number(clip.left(), 'g', kSignificantNumbersInFields));
56 fClipEntry[1].setText(QString::number(clip.top(), 'g', kSignificantNumbersInFields));
57 fClipEntry[2].setText(QString::number(clip.right(), 'g', kSignificantNumbersInFields));
58 fClipEntry[3].setText(QString::number(clip.bottom(), 'g', kSignificantNumbersInFields));
/external/skia/src/core/
H A DSkScan.cpp25 void SkScan::FillIRect(const SkIRect& r, const SkRegion* clip, argument
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, argument
60 SkScan::FillIRect(r, clip, blitter);
63 void SkScan::FillRect(const SkRect& r, const SkRegion* clip, argument
68 SkScan::FillIRect(ir, clip, blitter);
73 void SkScan::FillIRect(const SkIRect& r, const SkRasterClip& clip, argument
88 FillXRect(const SkXRect& xr, const SkRasterClip& clip, SkBlitter* blitter) argument
103 FillRect(const SkRect& r, const SkRasterClip& clip, SkBlitter* blitter) argument
[all...]
H A DSkCubicClipper.cpp16 void SkCubicClipper::setClip(const SkIRect& clip) { argument
18 fClip.set(clip);
H A DSkQuadClipper.cpp15 void SkQuadClipper::setClip(const SkIRect& clip) { argument
17 fClip.set(clip);
/external/skia/src/gpu/
H A DGrGpuCommandBuffer.cpp22 void GrGpuCommandBuffer::clear(GrRenderTarget* rt, const GrFixedClip& clip, GrColor color) { argument
25 SkASSERT(!clip.scissorEnabled() ||
26 (SkIRect::MakeWH(rt->width(), rt->height()).contains(clip.scissorRect()) &&
27 SkIRect::MakeWH(rt->width(), rt->height()) != clip.scissorRect()));
29 this->onClear(rt, clip, color);
32 void GrGpuCommandBuffer::clearStencilClip(GrRenderTarget* rt, const GrFixedClip& clip, argument
34 this->onClearStencilClip(rt, clip, insideStencilMask);
H A DGrPathRenderingRenderTargetContext.cpp18 void GrPathRenderingRenderTargetContext::drawText(const GrClip& clip, const SkPaint& skPaint, argument
32 fStencilAndCoverTextContext->drawText(this->drawingManager()->getContext(), this, clip, skPaint,
37 void GrPathRenderingRenderTargetContext::drawPosText(const GrClip& clip, const SkPaint& skPaint, argument
54 this->drawingManager()->getContext(), this, clip, skPaint, viewMatrix,
58 void GrPathRenderingRenderTargetContext::drawTextBlob(const GrClip& clip, const SkPaint& skPaint, argument
75 fStencilAndCoverTextContext->drawTextBlob(this->drawingManager()->getContext(), this, clip,
H A DSkGpuDevice.h154 GrClipStackClip clip() const { return GrClipStackClip(&this->cs()); } function in class:SkGpuDevice
158 * matrix, clip, and the device's render target has already been set on GrContext.
/external/skia/src/gpu/ops/
H A DGrClearStencilClipOp.h22 static std::unique_ptr<GrOp> Make(const GrFixedClip& clip, bool insideStencilMask, argument
24 return std::unique_ptr<GrOp>(new GrClearStencilClipOp(clip, insideStencilMask, rt));
42 GrClearStencilClipOp(const GrFixedClip& clip, bool insideStencilMask, GrRenderTarget* rt) argument
44 , fClip(clip)
H A DGrClearOp.h22 static std::unique_ptr<GrClearOp> Make(const GrFixedClip& clip, GrColor color, argument
24 std::unique_ptr<GrClearOp> op(new GrClearOp(clip, color, rt));
26 return nullptr; // The clip did not contain any pixels within the render target.
53 GrClearOp(const GrFixedClip& clip, GrColor color, GrRenderTarget* rt) argument
55 , fClip(clip)
104 // The constructor ensures that scissor gets disabled on any clip that fills the entire RT.
/external/toybox/toys/posix/
H A Dnl.c75 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");
/external/fec/
H A Dsim.c33 unsigned char addnoise(int sym,double amp,double gain,double offset,int clip){ argument
40 else if(sample > clip)
41 sample = clip;
/external/skia/gm/
H A Dimagemakewithfilter.cpp19 static void show_bounds(SkCanvas* canvas, const SkIRect& subset, const SkIRect& clip) { argument
20 SkIRect rects[] { subset, clip };
H A Dpath_stroke_with_zero_length.cpp164 SkPath clip; local
166 fClipL.transform(clipM, &clip);
168 fClipS.transform(clipM, &clip);
170 canvas->clipPath(clip, true);
181 SkPath clip; local
182 fClipR.transform(clipM, &clip);
183 canvas->clipPath(clip, true);
/external/webp/src/dec/
H A Dquant_dec.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/mesa3d/src/mesa/tnl/
H A Dt_vb_vertex.c44 GLvector4f clip; member in struct:vertex_stage_data
56 /* This function implements cliptesting for user-defined clip planes.
62 GLvector4f *clip, \
76 GLfloat *coord = (GLfloat *)clip->data; \
77 GLuint stride = clip->stride; \
78 GLuint count = clip->count; \
161 VB->ClipPtr = TransformRaw( &store->clip,
245 _mesa_vector4f_alloc( &store->clip, 0, size, 32 );
252 !store->clip.data ||
265 _mesa_vector4f_free( &store->clip );
[all...]
/external/skia/bench/
H A DSKPAnimationBench.cpp13 SKPAnimationBench::SKPAnimationBench(const char* name, const SkPicture* pic, const SkIRect& clip, argument
15 : INHERITED(name, pic, clip, 1.0, false, doLooping)
/external/skia/experimental/svg/model/
H A DSkSVGNode.cpp43 // There is a clip-path present on the current node.
60 void SkSVGNode::setClipPath(const SkSVGClip& clip) { argument
61 fPresentationAttributes.fClipPath.set(clip);
98 if (const SkSVGClipValue* clip = v.as<SkSVGClipValue>()) {
99 this->setClipPath(*clip);
/external/skia/samplecode/
H A DSampleAAClip.cpp42 static void drawClip(SkCanvas* canvas, const SkAAClip& clip) { argument
46 clip.copyToMask(&mask);
H A DSampleText.cpp128 SkRect clip; variable
129 clip.set(SkIntToScalar(25), SkIntToScalar(34), SkIntToScalar(88), SkIntToScalar(155));

Completed in 662 milliseconds

12345678