/external/skia/samplecode/ |
H A D | SampleDitherBitmap.cpp | 50 SkRegion clip(bounds); 51 return region.setPath(path, clip); // <-- !! DOWN !!
|
H A D | SampleText.cpp | 128 SkRect clip; variable 129 clip.set(SkIntToScalar(25), SkIntToScalar(34), SkIntToScalar(88), SkIntToScalar(155));
|
/external/skia/src/core/ |
H A D | SkBlitter_Sprite.cpp | 42 void SkSpriteBlitter::blitMask(const SkMask& mask, const SkIRect& clip) { argument 46 INHERITED::blitMask(mask, clip);
|
H A D | SkCubicClipper.cpp | 16 void SkCubicClipper::setClip(const SkIRect& clip) { argument 18 fClip.set(clip);
|
/external/skia/src/gpu/ |
H A D | GrProcessorSet.cpp | 161 const GrAppliedClip* clip, 163 analysis->init(colorInput, coverageInput, *this, clip, caps); 157 analyzeAndEliminateFragmentProcessors( FragmentProcessorAnalysis* analysis, const GrPipelineAnalysisColor& colorInput, const GrPipelineAnalysisCoverage coverageInput, const GrAppliedClip* clip, const GrCaps& caps) argument
|
H A D | GrRenderTargetContextPriv.h | 28 // called to note the last clip drawn to the stencil buffer. 36 // called to determine if we have to render the clip into SB. 61 void stencilRect(const GrClip& clip,
|
H A D | GrReducedClip.cpp | 31 * take a rect in case the caller knows a bound on what is to be drawn through this clip. 55 // "Is intersection of rects" means the clip is a single rect indicated by the stack bounds. 60 // The clip is a non-aa rect. This is the one spot where we can actually implement the 61 // clip (using fIBounds) rather than just telling the caller what it should be. 78 // Implement the clip with an AA rect element. 89 // Tighten the query by introducing a new clip at the stack's pixel boundaries. (This new 90 // clip will be enforced by the scissor through fIBounds.) 120 // During our backwards walk, track whether we've seen ops that either grow or shrink the clip. 121 // TODO: track these per saved clip so that we can consider them on the forward pass. 153 // the clip empt 528 stencil_element(GrRenderTargetContext* rtc, const GrFixedClip& clip, const GrUserStencilSettings* ss, const SkMatrix& viewMatrix, const SkClipStack::Element* element) argument 560 draw_element(GrRenderTargetContext* rtc, const GrClip& clip, GrPaint&& paint, GrAA aa, const SkMatrix& viewMatrix, const SkClipStack::Element* element) argument [all...] |
H A D | GrRenderTargetContext.h | 91 * Draw everywhere (respecting the clip) with the paint. 130 void fillRectWithLocalMatrix(const GrClip& clip, 444 bool drawFilledDRRect(const GrClip& clip, 452 bool drawFilledRect(const GrClip& clip,
|
/external/skia/src/gpu/text/ |
H A D | GrAtlasTextContext.cpp | 77 const GrClip& clip, const SkPaint& skPaint, 159 clip, viewMatrix, clipBounds, x, y); 285 const GrClip& clip, const SkPaint& skPaint, 300 blob->flushThrowaway(context, rtc, props, fDistanceAdjustTable.get(), paint, clip, 306 GrTextUtils::DrawTextAsPath(context, rtc, clip, paint, viewMatrix, text, byteLength, x, y, 311 const GrClip& clip, const SkPaint& skPaint, 328 blob->flushThrowaway(context, rtc, props, fDistanceAdjustTable.get(), paint, clip, 334 GrTextUtils::DrawPosTextAsPath(context, rtc, props, clip, paint, viewMatrix, text, byteLength, 76 drawTextBlob(GrContext* context, GrRenderTargetContext* rtc, const GrClip& clip, const SkPaint& skPaint, const SkMatrix& viewMatrix, const SkSurfaceProps& props, const SkTextBlob* blob, SkScalar x, SkScalar y, SkDrawFilter* drawFilter, const SkIRect& clipBounds) argument 284 drawText(GrContext* context, GrRenderTargetContext* rtc, const GrClip& clip, const SkPaint& skPaint, const SkMatrix& viewMatrix, const SkSurfaceProps& props, const char text[], size_t byteLength, SkScalar x, SkScalar y, const SkIRect& regionClipBounds) argument 310 drawPosText(GrContext* context, GrRenderTargetContext* rtc, const GrClip& clip, const SkPaint& skPaint, const SkMatrix& viewMatrix, const SkSurfaceProps& props, const char text[], size_t byteLength, const SkScalar pos[], int scalarsPerPosition, const SkPoint& offset, const SkIRect& regionClipBounds) argument
|
H A D | GrTextUtils.h | 130 static void DrawTextAsPath(GrContext*, GrRenderTargetContext*, const GrClip& clip, 136 const SkSurfaceProps& props, const GrClip& clip,
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_context.h | 73 struct pipe_clip_state clip; member in struct:llvmpipe_context
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | gen7_viewport_state.c | 43 /* Also assign to clip.vp_offset in case something uses it. */ 44 brw->clip.vp_offset = brw->sf.vp_offset;
|
/external/skia/gm/ |
H A D | quadpaths.cpp | 30 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, 41 canvas->clipRect(clip); 173 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, 184 canvas->clipRect(clip); 29 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPath::FillType fill, SkScalar strokeWidth) argument 172 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPath::FillType fill, SkScalar strokeWidth) argument
|
H A D | cubicpaths.cpp | 93 void drawOne(SkCanvas* canvas, const SkPath& path, const SkRect& clip) { argument 96 canvas->drawRect(clip, framePaint); 99 canvas->clipRect(clip); 141 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, 152 canvas->clipRect(clip); 285 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, 296 canvas->clipRect(clip); 140 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPath::FillType fill, SkScalar strokeWidth) argument 284 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPath::FillType fill, SkScalar strokeWidth) argument
|
H A D | reveal.cpp | 37 virtual void clip(SkCanvas* canvas) const = 0; 83 void clip(SkCanvas* canvas) const override { 139 void clip(SkCanvas* canvas) const override { 190 void clip(SkCanvas* canvas) const override { 238 void clip(SkCanvas* canvas) const override { 290 void clip(SkCanvas* canvas) const override { 388 // shadow) with a draw using the geometric clip 391 clipObj->clip(canvas); 478 // Draw the clip and draw objects for reference
|
H A D | colorfilterimagefilter.cpp | 112 SkRect clip(r); 113 clip.outset(outset, outset); 114 canvas->clipRect(clip);
|
/external/skia/src/effects/ |
H A D | SkMorphologyImageFilter.cpp | 400 const GrClip& clip, 417 renderTargetContext->fillRectToRect(clip, std::move(paint), GrAA::kNo, SkMatrix::I(), 422 const GrClip& clip, 437 renderTargetContext->fillRectToRect(clip, std::move(paint), GrAA::kNo, SkMatrix::I(), 442 const GrClip& clip, 474 apply_morphology_rect(renderTargetContext, clip, std::move(textureProxy), 478 apply_morphology_rect(renderTargetContext, clip, textureProxy, 480 apply_morphology_rect(renderTargetContext, clip, textureProxy, 482 apply_morphology_rect_no_bounds(renderTargetContext, clip, std::move(textureProxy), 499 // setup new clip 399 apply_morphology_rect(GrRenderTargetContext* renderTargetContext, const GrClip& clip, sk_sp<GrTextureProxy> proxy, const SkIRect& srcRect, const SkIRect& dstRect, int radius, GrMorphologyEffect::MorphologyType morphType, const float bounds[2], Gr1DKernelEffect::Direction direction) argument 421 apply_morphology_rect_no_bounds(GrRenderTargetContext* renderTargetContext, const GrClip& clip, sk_sp<GrTextureProxy> proxy, const SkIRect& srcRect, const SkIRect& dstRect, int radius, GrMorphologyEffect::MorphologyType morphType, Gr1DKernelEffect::Direction direction) argument 441 apply_morphology_pass(GrRenderTargetContext* renderTargetContext, const GrClip& clip, sk_sp<GrTextureProxy> textureProxy, const SkIRect& srcRect, const SkIRect& dstRect, int radius, GrMorphologyEffect::MorphologyType morphType, Gr1DKernelEffect::Direction direction) argument [all...] |
/external/skia/experimental/svg/model/ |
H A D | SkSVGRenderContext.cpp | 284 if (auto* clip = attrs.fClipPath.getMaybeNull()) { 285 this->applyClip(*clip); 319 void SkSVGRenderContext::applyClip(const SkSVGClip& clip) { argument 320 if (clip.type() != SkSVGClip::Type::kIRI) { 324 const SkSVGNode* clipNode = this->findNodeById(clip.iri()); 331 // We use the computed clip path in two ways:
|
/external/skia/src/effects/shadows/ |
H A D | SkSpotShadowMaskFilter.cpp | 162 const GrClip& clip, 187 return this->directFilterRRectMaskGPU(context, rtContext, std::move(paint), clip, 191 return this->directFilterRRectMaskGPU(context, rtContext, std::move(paint), clip, 201 const GrClip& clip, 308 rtContext->drawShadowRRect(clip, std::move(paint), viewMatrix, spotShadowRRect, 159 directFilterMaskGPU(GrContext* context, GrRenderTargetContext* rtContext, GrPaint&& paint, const GrClip& clip, const SkMatrix& viewMatrix, const SkStrokeRec& strokeRec, const SkPath& path) const argument 198 directFilterRRectMaskGPU(GrContext*, GrRenderTargetContext* rtContext, GrPaint&& paint, const GrClip& clip, const SkMatrix& viewMatrix, const SkStrokeRec& strokeRec, const SkRRect& rrect, const SkRRect& devRRect) const argument
|
/external/webp/src/dsp/ |
H A D | yuv.c | 22 static WEBP_INLINE uint8_t clip(int v, int max_value) { function 45 VP8kClip[i - YUV_RANGE_MIN] = clip(k, 255); 46 VP8kClip4Bits[i - YUV_RANGE_MIN] = clip((k + 8) >> 4, 15); 57 VP8kClip[i - YUV_RANGE_MIN] = clip(k, 255); 58 VP8kClip4Bits[i - YUV_RANGE_MIN] = clip((k + 8) >> 4, 15);
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_vs.h | 68 unsigned clip:1; member in struct:draw_vs_variant_key
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_state.h | 77 struct si_pm4_state *clip; member in struct:si_state::__anon14658
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_context.h | 77 struct pipe_clip_state clip; member in struct:softpipe_context
|
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_state_framebuffer.c | 329 prescale.translate[2] = 0.5; /* D3D clip space */ 330 prescale.scale[2] = 0.5; /* D3D clip space */ 506 float a = svga->curr.clip.ucp[i][0]; 507 float b = svga->curr.clip.ucp[i][1]; 508 float c = svga->curr.clip.ucp[i][2]; 509 float d = svga->curr.clip.ucp[i][3];
|
/external/mesa3d/src/mesa/tnl/ |
H A D | t_vb_program.c | 69 GLubyte *clipmask; /**< clip flags */ 83 GLvector4f *clip, 97 GLfloat *coord = (GLfloat *)clip->data; 98 GLuint stride = clip->stride; 99 GLuint count = clip->count; 82 userclip( struct gl_context *ctx, GLvector4f *clip, GLubyte *clipmask, GLubyte *clipormask, GLubyte *clipandmask ) argument
|