Searched refs:clip (Results 76 - 100 of 215) sorted by relevance

123456789

/external/skia/gm/
H A Dcomplexclip2.cpp24 ComplexClip2GM(Clip clip, bool antiAlias) argument
25 : fClip(clip)
108 static const char* ClipStr(Clip clip) { argument
109 switch (clip) {
117 SkDEBUGFAIL("Unknown clip type.");
H A Daarectmodes.cpp55 SkRect clip = {0, 130, 772, 531}; local
56 canvas->clipRect(clip);
H A Demptypath.cpp28 const SkRect& clip,
37 canvas->clipRect(clip);
26 drawEmpty(SkCanvas* canvas, SkColor color, const SkRect& clip, SkPaint::Style style, SkPath::FillType fill) argument
H A Dlinepaths.cpp27 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join,
38 canvas->clipRect(clip);
170 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join,
181 canvas->clipRect(clip);
26 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
169 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 Dquadpaths.cpp27 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join,
38 canvas->clipRect(clip);
172 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join,
183 canvas->clipRect(clip);
26 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
171 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 Dpathfill.cpp150 // test inverse-fill w/ a clip that completely excludes the geometry
170 const SkRect* clip, SkScalar top, const SkScalar bottom) {
172 if (clip) {
173 SkRect r = *clip;
169 show(SkCanvas* canvas, const SkPath& path, const SkPaint& paint, const SkRect* clip, SkScalar top, const SkScalar bottom) argument
/external/skia/src/core/
H A DSkBlitter_Sprite.cpp42 void SkSpriteBlitter::blitMask(const SkMask&, const SkIRect& clip) { argument
H A DSkRegion_path.cpp311 static bool check_inverse_on_empty_return(SkRegion* dst, const SkPath& path, const SkRegion& clip) { argument
313 return dst->set(clip);
319 bool SkRegion::setPath(const SkPath& path, const SkRegion& clip) { argument
322 if (clip.isEmpty()) {
327 return check_inverse_on_empty_return(this, path, clip);
334 return check_inverse_on_empty_return(this, path, clip);
338 int clipTransitions = clip.count_runtype_values(&clipTop, &clipBot);
343 return check_inverse_on_empty_return(this, path, clip);
355 SkScan::FillPath(path, clip, &builder);
H A DSkCubicClipper.cpp17 void SkCubicClipper::setClip(const SkIRect& clip) { argument
19 fClip.set(clip);
H A DSkRasterClip.h110 bool setPath(const SkPath& path, const SkRegion& clip, bool doAA);
111 bool setPath(const SkPath& path, const SkIRect& clip, bool doAA);
140 * not, they return the raw blitter and (bw) clip region.
/external/skia/src/gpu/
H A DGrClipMaskManager.cpp80 * This method traverses the clip stack to see if the GrSoftwarePathRenderer
82 * entire clip should be rendered in SW and then uploaded en masse to the gpu.
88 // a clip gets complex enough it can just be done in SW regardless
92 // Set the matrix so that rendered clip elements are transformed to mask space from clip
207 // sort out what kind of clip mask needs to be created: alpha, stencil,
230 const GrClip& clip = pipelineBuilder->clip(); local
231 if (clip.isWideOpen(clipSpaceRTIBounds)) {
236 // The clip mas
[all...]
H A DGrStencilAndCoverTextContext.cpp48 const GrClip& clip,
76 const GrClip& clip,
105 this->init(rt, clip, paint, skPaint, byteLength, kMaxAccuracy_RenderMode, viewMatrix,
169 const GrClip& clip,
195 this->init(rt, clip, paint, skPaint, byteLength, kMaxPerformance_RenderMode, viewMatrix,
249 const GrClip& clip,
256 GrTextContext::init(rt, clip, paint, skPaint, regionClipBounds);
47 canDraw(const GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkPaint& skPaint, const SkMatrix& viewMatrix) argument
75 onDrawText(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkPaint& skPaint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, SkScalar x, SkScalar y, const SkIRect& regionClipBounds) argument
168 onDrawPosText(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkPaint& skPaint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, const SkScalar pos[], int scalarsPerPosition, const SkPoint& offset, const SkIRect& regionClipBounds) argument
248 init(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkPaint& skPaint, size_t textByteLength, RenderMode renderMode, const SkMatrix& viewMatrix, const SkIRect& regionClipBounds) argument
H A DGrContext.cpp294 const GrClip& clip,
306 // by definition this fills the entire clip, no need for AA
323 this->drawRect(rt, clip, *paint, viewMatrix, r);
333 GrDrawTarget* target = this->prepareToDraw(&pipelineBuilder, rt, clip, paint, &acf);
577 const GrClip& clip,
586 this->drawPath(rt, clip, paint, viewMatrix, path, *strokeInfo);
592 GrDrawTarget* target = this->prepareToDraw(&pipelineBuilder, rt, clip, &paint, &acf);
606 bool checkClip = GrClip::kWideOpen_ClipType != clip.clipType();
608 clipSpaceRTRect.offset(SkIntToScalar(clip.origin().fX),
609 SkIntToScalar(clip
293 drawPaint(GrRenderTarget* rt, const GrClip& clip, const GrPaint& origPaint, const SkMatrix& viewMatrix) argument
576 drawRect(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkMatrix& viewMatrix, const SkRect& rect, const GrStrokeInfo* strokeInfo) argument
685 drawNonAARectToRect(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkMatrix& viewMatrix, const SkRect& rectToDraw, const SkRect& localRect, const SkMatrix* localMatrix) argument
987 drawVertices(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkMatrix& viewMatrix, GrPrimitiveType primitiveType, int vertexCount, const SkPoint positions[], const SkPoint texCoords[], const GrColor colors[], const uint16_t indices[], int indexCount) argument
1036 drawRRect(GrRenderTarget*rt, const GrClip& clip, const GrPaint& paint, const SkMatrix& viewMatrix, const SkRRect& rrect, const GrStrokeInfo& strokeInfo) argument
1082 drawDRRect(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkMatrix& viewMatrix, const SkRRect& outer, const SkRRect& inner) argument
1120 drawOval(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkMatrix& viewMatrix, const SkRect& oval, const GrStrokeInfo& strokeInfo) argument
1217 drawPath(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkMatrix& viewMatrix, const SkPath& path, const GrStrokeInfo& strokeInfo) argument
1726 prepareToDraw(GrPipelineBuilder* pipelineBuilder, GrRenderTarget* rt, const GrClip& clip, const GrPaint* paint, const AutoCheckFlush* acf) argument
[all...]
H A DGrPipelineBuilder.cpp51 void GrPipelineBuilder::setFromPaint(const GrPaint& paint, GrRenderTarget* rt, const GrClip& clip) { argument
74 fClip = clip;
H A DGrPipelineBuilder.h216 * Changing the clip has the side-effect of possibly zeroing
218 * using stencil should not change the clip between passes.
381 void setClip(const GrClip& clip) { fClip = clip; } argument
382 const GrClip& clip() const { return fClip; } function in class:GrPipelineBuilder
/external/skia/tools/
H A Dfiltermain.cpp188 // where the rect is entirely within the clip and the clip is an intersect
223 // where the rect entirely encloses the clip
319 // the last (smallest) clip rect is a subset of the drawBitmapRectToRect's dest rect
497 // the clip rect is BW and a subset of the drawBitmapRectToRect's dest rect
507 SkClipRectCommand* clip = local
512 if (clip->doAA() || SkRegion::kIntersect_Op != clip->op()) {
529 if (!dbmr->dstRect().contains(clip->rect())) {
538 SkClipRectCommand* clip local
581 SkClipRectCommand* clip = local
[all...]
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe.c48 draw->pipeline.clip = draw_clip_stage( draw );
60 !draw->pipeline.clip ||
91 if (draw->pipeline.clip)
92 draw->pipeline.clip->destroy( draw->pipeline.clip );
/external/icu/icu4c/source/samples/layout/
H A DGDIFontInstance.cpp60 RECT clip; local
62 clip.top = 0;
63 clip.left = 0;
64 clip.bottom = height;
65 clip.right = width;
93 ExtTextOut(fHdc, x + (le_int32) xOffset, y + (le_int32) yOffset - font->getAscent(), ETO_CLIPPED | ETO_GLYPH_INDEX, &clip,
/external/pdfium/fpdfsdk/src/
H A Dfpdfformfill.cpp216 FX_RECT clip; local
217 clip.left = start_x;
218 clip.right = start_x + size_x;
219 clip.top = start_y;
220 clip.bottom = start_y + size_y;
229 pDevice->SetClip_Rect(&clip);
/external/skia/samplecode/
H A DSampleDitherBitmap.cpp51 SkRegion clip(bounds);
52 return region.setPath(path, clip); // <-- !! DOWN !!
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_context.h73 struct pipe_clip_state clip; member in struct:llvmpipe_context
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dgen7_viewport_state.c43 /* Also assign to clip.vp_offset in case something uses it. */
44 brw->clip.vp_offset = brw->sf.vp_offset;
/external/skia/tests/
H A DRecordOptsTest.cpp195 SkRect clip = SkRect::MakeWH(SkIntToScalar(50), SkIntToScalar(60)); local
237 recorder.clipRect(clip);
273 recorder.clipRect(clip);
285 recorder.clipRect(clip);
298 // Test that currently we do not fold alphas for patterns without the clip. This is just not
/external/skia/src/effects/
H A DSkMorphologyImageFilter.cpp565 const GrClip& clip,
579 context->drawNonAARectToRect(rt, clip, paint, SkMatrix::I(), SkRect::Make(dstRect),
585 const GrClip& clip,
597 context->drawNonAARectToRect(rt, clip, paint, SkMatrix::I(), SkRect::Make(dstRect),
603 const GrClip& clip,
635 apply_morphology_rect(context, rt, clip, texture, srcRect, dstRect, radius,
639 apply_morphology_rect(context, rt, clip, texture, lowerSrcRect, lowerDstRect, radius,
641 apply_morphology_rect(context, rt, clip, texture, upperSrcRect, upperDstRect, radius,
643 apply_morphology_rect_no_bounds(context, rt, clip, texture, middleSrcRect, middleDstRect,
657 // setup new clip
563 apply_morphology_rect(GrContext* context, GrRenderTarget* rt, const GrClip& clip, GrTexture* texture, const SkIRect& srcRect, const SkIRect& dstRect, int radius, GrMorphologyEffect::MorphologyType morphType, float bounds[2], Gr1DKernelEffect::Direction direction) argument
583 apply_morphology_rect_no_bounds(GrContext* context, GrRenderTarget* rt, const GrClip& clip, GrTexture* texture, const SkIRect& srcRect, const SkIRect& dstRect, int radius, GrMorphologyEffect::MorphologyType morphType, Gr1DKernelEffect::Direction direction) argument
601 apply_morphology_pass(GrContext* context, GrRenderTarget* rt, const GrClip& clip, GrTexture* texture, const SkIRect& srcRect, const SkIRect& dstRect, int radius, GrMorphologyEffect::MorphologyType morphType, Gr1DKernelEffect::Direction direction) argument
[all...]
/external/libvncserver/webclients/novnc/include/
H A Dui.js79 UI.forceSetting('clip', true);
82 UI.initSetting('clip', false);
268 UI.updateSetting('clip');
311 UI.saveSetting('clip');
532 setViewClip: function(clip) {
543 if (typeof(clip) !== 'boolean') {
545 clip = UI.getSetting('clip');
548 if (clip && !cur_clip) {
550 UI.updateSetting('clip', tru
[all...]

Completed in 509 milliseconds

123456789