Home
last modified time | relevance | path

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

/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/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/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 __anon712ff1b50b02()
286 c->clipRegion(make_region_from_irect(SkIRect{0, 0, 2, 1})); in __anon712ff1b50d02()
317 c->clipRegion(make_region_from_irect(SkIRect{0, 0, 2, 1})); in __anon712ff1b51102()
DAAClipTest.cpp100 canvas.clipRegion(tmpRgn); in copyToMask()
DMatrixClipCollapseTest.cpp186 canvas->clipRegion(r, SkRegion::kIntersect_Op); in emit_clip()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/clipping/
DvktClippingTests.cpp275 bool checkFragColors (const tcu::ConstPixelBufferAccess pixels, IVec2 clipRegion, int barIdx, bool … in checkFragColors() argument
280 if (x < clipRegion.x() && y < clipRegion.y()) in checkFragColors()
1457 …const IVec2 clipRegion = IVec2(caseDef.numClipDistances * RENDER_SIZE / numBars, RENDER_SIZE / … in testClipDistance() local
1461 …const int expectedClippedPixels = clipRegion.x() * clipRegion.y() + cullRegion.x() * cullRegion.y(… in testClipDistance()
1463 … = countPixels(drawContext.getColorPixels(), IVec2(0, RENDER_SIZE/2), clipRegion, Vec4(0.0f, 0.0f… in testClipDistance()
1464 …f.readInFragmentShader ? checkFragColors(drawContext.getColorPixels(), clipRegion, caseDef.numClip… in testClipDistance()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/clipping/
DvktClippingTests.cpp275 bool checkFragColors (const tcu::ConstPixelBufferAccess pixels, IVec2 clipRegion, int barIdx, bool … in checkFragColors() argument
280 if (x < clipRegion.x() && y < clipRegion.y()) in checkFragColors()
1457 …const IVec2 clipRegion = IVec2(caseDef.numClipDistances * RENDER_SIZE / numBars, RENDER_SIZE / … in testClipDistance() local
1461 …const int expectedClippedPixels = clipRegion.x() * clipRegion.y() + cullRegion.x() * cullRegion.y(… in testClipDistance()
1463 … = countPixels(drawContext.getColorPixels(), IVec2(0, RENDER_SIZE/2), clipRegion, Vec4(0.0f, 0.0f… in testClipDistance()
1464 …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
DSkDevice.h178 void clipRegion(const SkRegion& region, SkClipOp op) { in clipRegion() function
DSkRecordDraw.cpp108 DRAW(ClipRegion, clipRegion(r.region, r.op));
DSkBitmapDevice.cpp672 fRCStack.clipRegion(*ptr, op); in onClipRegion()
DSkCanvas.cpp1477 this->topDevice()->clipRegion(SkRegion(rect), SkClipOp::kIntersect); in androidFramework_setDeviceClipRestriction()
1572 void SkCanvas::clipRegion(const SkRegion& rgn, SkClipOp op) { in clipRegion() function in SkCanvas
1579 this->topDevice()->clipRegion(rgn, op); in onClipRegion()
DSkPicturePlayback.cpp146 canvas->clipRegion(region, clipOp); in handleOp()
/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/skia/experimental/xform/
DXContext.cpp153 fCanvas->clipRegion(peek_rasterclip(x->clip()).bwRgn()); in onDrawRect()
/third_party/skia/include/core/
DSkCanvas.h1041 void clipRegion(const SkRegion& deviceRgn, SkClipOp op = SkClipOp::kIntersect);
/third_party/skia/fuzz/
DFuzzCanvas.cpp1177 canvas->clipRegion(region, (SkClipOp)op); in fuzz_canvas()
/third_party/skia/tools/debugger/
DDrawCommand.cpp1017 void ClipRegionCommand::execute(SkCanvas* canvas) const { canvas->clipRegion(fRegion, fOp); } in execute()
/third_party/skia/tools/fiddle/
Ddocumumentation_examples_map.txt454 void clipRegion(const SkRegion& deviceRgn, SkClipOp op = SkClipOp::kIntersect);