Home
last modified time | relevance | path

Searched refs:clipRegion (Results 1 – 25 of 47) sorted by relevance

12

/third_party/flutter/skia/src/android/
DSkAndroidFrameworkUtils.cpp28 SkRegion clipRegion; in clipWithStencil() local
29 canvas->temporary_internal_getRgnClip(&clipRegion); in clipWithStencil()
30 if (clipRegion.isEmpty()) { in clipWithStencil()
53 rtc->drawRegion(noClip, std::move(grPaint), GrAA::kNo, SkMatrix::I(), clipRegion, in clipWithStencil()
/third_party/skia/docs/examples/
DRegion_setPath.cpp13 SkRegion clipRegion(clipRect);
15 region.setPath(textPath, clipRegion);
DCanvas_clipRegion.cpp13 canvas->clipRegion(region, SkClipOp::kIntersect); in draw()
/third_party/flutter/skia/docs/examples/
DRegion_setPath.cpp13 SkRegion clipRegion(clipRect);
15 region.setPath(textPath, clipRegion);
DCanvas_clipRegion.cpp13 canvas->clipRegion(region, SkClipOp::kIntersect); in draw()
/third_party/flutter/skia/src/utils/
DSkCanvasStack.cpp38 fList[i-1]->clipRegion(fCanvasData[i-1].requiredClip); in pushCanvas()
57 fList[i]->clipRegion(fCanvasData[i].requiredClip); in clipToZOrderedBounds()
102 fList[i]->clipRegion(tempRegion, op); in onClipRegion()
/third_party/skia/src/utils/
DSkCanvasStack.cpp40 fList[i-1]->clipRegion(fCanvasData[i-1].requiredClip); in pushCanvas()
59 fList[i]->clipRegion(fCanvasData[i].requiredClip); in clipToZOrderedBounds()
106 fList[i]->clipRegion(tempRegion, op); in onClipRegion()
DSkNWayCanvas.cpp167 iter->clipRegion(deviceRgn, op); in onClipRegion()
/third_party/skia/gm/
Dclipdrawdraw.cpp61 canvas->clipRegion(rgn);
67 canvas->clipRegion(rgn);
Dclip_sierpinski_region.cpp34 canvas->clipRegion(region);
/third_party/flutter/skia/gm/
Dclipdrawdraw.cpp61 canvas->clipRegion(rgn);
67 canvas->clipRegion(rgn);
/third_party/skia/tests/
DCanvasStateTest.cpp212 SkRegion clipRegion; in DEF_TEST() local
213 clipRegion.setRect(regionBounds); in DEF_TEST()
214 clipRegion.op(regionInterior, SkRegion::kDifference_Op); in DEF_TEST()
245 SkRegion localRegion = clipRegion; in DEF_TEST()
DCanvasStateHelpers.cpp56 canvas->clipRegion(localRegion, (SkClipOp) clipOp); in complex_clips_draw()
DCanvasTest.cpp277 c->clipRegion(make_region_from_irect(SkIRect{0, 0, 2, 1})); in __anonedd776880b02()
286 c->clipRegion(make_region_from_irect(SkIRect{0, 0, 2, 1})); in __anonedd776880d02()
317 c->clipRegion(make_region_from_irect(SkIRect{0, 0, 2, 1})); in __anonedd776881102()
/third_party/flutter/skia/tests/
DCanvasStateTest.cpp185 SkRegion clipRegion; in DEF_TEST() local
186 clipRegion.setRect(regionBounds); in DEF_TEST()
187 clipRegion.op(regionInterior, SkRegion::kDifference_Op); in DEF_TEST()
226 SkRegion localRegion = clipRegion; in DEF_TEST()
DCanvasStateHelpers.cpp53 canvas->clipRegion(localRegion, (SkClipOp) clipOp); in complex_clips_draw()
DCanvasTest.cpp256 c->clipRegion(make_region_from_irect(SkIRect{0, 0, 2, 1}), kReplace_SkClipOp); in __anon9374f1bd0b02()
265 c->clipRegion(make_region_from_irect(SkIRect{0, 0, 2, 1})); in __anon9374f1bd0d02()
296 c->clipRegion(make_region_from_irect(SkIRect{0, 0, 2, 1})); in __anon9374f1bd1102()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/clipping/
DvktClippingTests.cpp274 bool checkFragColors (const tcu::ConstPixelBufferAccess pixels, IVec2 clipRegion, int barIdx, bool … in checkFragColors() argument
279 if (x < clipRegion.x() && y < clipRegion.y()) in checkFragColors()
1409 …const IVec2 clipRegion = IVec2(caseDef.numClipDistances * RENDER_SIZE / numBars, RENDER_SIZE / … in testClipDistance() local
1410 const int expectedClippedPixels = clipRegion.x() * clipRegion.y(); in testClipDistance()
1412 … = countPixels(drawContext.getColorPixels(), IVec2(0, RENDER_SIZE/2), clipRegion, Vec4(0.0f, 0.0f… in testClipDistance()
1413 …f.readInFragmentShader ? checkFragColors(drawContext.getColorPixels(), clipRegion, caseDef.numClip… in testClipDistance()
/third_party/skia/src/core/
DSkRasterClipStack.h73 void clipRegion(const SkRegion& rgn, SkClipOp op) { in clipRegion() function
/third_party/skia/src/gpu/v1/
DDevice.cpp1041 SkRegion clipRegion; in android_utils_clipWithStencil() local
1042 this->onAsRgnClip(&clipRegion); in android_utils_clipWithStencil()
1043 if (clipRegion.isEmpty()) { in android_utils_clipWithStencil()
1061 sdc->drawRegion(nullptr, std::move(grPaint), aa, SkMatrix::I(), clipRegion, in android_utils_clipWithStencil()
/third_party/flutter/skia/experimental/xform/
DXContext.cpp153 fCanvas->clipRegion(peek_rasterclip(x->clip()).bwRgn()); in onDrawRect()
/third_party/flutter/skia/src/core/
DSkRasterClipStack.h120 void clipRegion(const SkRegion& rgn, SkClipOp op) { in clipRegion() function
DSkBitmapDevice.cpp770 fRCStack.clipRegion(*ptr, op); in onClipRegion()
777 fRCStack.clipRegion(rgn, SkClipOp::kIntersect); in onSetDeviceClipRestriction()
DSkDevice.h115 void clipRegion(const SkRegion& region, SkClipOp op) { in clipRegion() function
/third_party/skia/experimental/xform/
DXContext.cpp153 fCanvas->clipRegion(peek_rasterclip(x->clip()).bwRgn()); in onDrawRect()

12