Home
last modified time | relevance | path

Searched refs:saveCount (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/src/core/
DSkClipStack.h244 Element(int saveCount) { in Element() argument
245 this->initCommon(saveCount, SkClipOp::kIntersect, false); in Element()
249 Element(int saveCount, const SkRRect& rrect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument
250 this->initRRect(saveCount, rrect, m, op, doAA); in Element()
253 Element(int saveCount, const SkRect& rect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument
254 this->initRect(saveCount, rect, m, op, doAA); in Element()
257 Element(int saveCount, const SkPath& path, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument
258 this->initPath(saveCount, path, m, op, doAA); in Element()
261 Element(int saveCount, sk_sp<SkShader> shader) { in Element() argument
262 this->initShader(saveCount, std::move(shader)); in Element()
[all …]
DSkClipStack.cpp173 void SkClipStack::Element::initCommon(int saveCount, SkClipOp op, bool doAA) { in initCommon() argument
174 fSaveCount = saveCount; in initCommon()
186 void SkClipStack::Element::initRect(int saveCount, const SkRect& rect, const SkMatrix& m, in initRect() argument
193 this->initCommon(saveCount, op, doAA); in initRect()
199 this->initAsPath(saveCount, path, m, op, doAA); in initRect()
202 void SkClipStack::Element::initRRect(int saveCount, const SkRRect& rrect, const SkMatrix& m, in initRRect() argument
211 this->initCommon(saveCount, op, doAA); in initRRect()
217 this->initAsPath(saveCount, path, m, op, doAA); in initRRect()
220 void SkClipStack::Element::initPath(int saveCount, const SkPath& path, const SkMatrix& m, in initPath() argument
225 this->initRect(saveCount, r, m, op, doAA); in initPath()
[all …]
/third_party/skia/tools/skiaserve/urlhandlers/
DBreakHandler.cpp45 int saveCount = canvas->save(); in handle() local
63 canvas->restoreToCount(saveCount); in handle()
65 saveCount = canvas->save(); in handle()
82 canvas->restoreToCount(saveCount); in handle()
/third_party/skia/gm/
Dstrokedlines.cpp105 int saveCount = canvas->save(); in draw_row() local
108 canvas->restoreToCount(saveCount); in draw_row()
216 int saveCount = canvas->save(); in onDraw() local
218 canvas->restoreToCount(saveCount); in onDraw()
224 int saveCount = canvas->save(); in onDraw() local
226 canvas->restoreToCount(saveCount); in onDraw()
Dandroidblendmodes.cpp100 int saveCount = canvas->save(); in onDraw() local
102 canvas->restoreToCount(saveCount); in onDraw()
/third_party/skia/tests/
DCanvasTest.cpp283 int saveCount = c->getSaveCount(); in __anon01559f290d02() local
288 REPORTER_ASSERT(r, c->getSaveCount() == saveCount); in __anon01559f290d02()
293 int saveCount = c->getSaveCount(); in __anon01559f290e02() local
296 REPORTER_ASSERT(r, c->getSaveCount() == saveCount); in __anon01559f290e02()
299 int saveCount = c->getSaveCount(); in __anon01559f290f02() local
302 REPORTER_ASSERT(r, c->getSaveCount() == saveCount); in __anon01559f290f02()
305 int saveCount = c->getSaveCount(); in __anon01559f291002() local
309 REPORTER_ASSERT(r, c->getSaveCount() == saveCount); in __anon01559f291002()
763 auto do_test = [&](int saveCount, int restoreCount) { in DEF_TEST() argument
764 SkASSERT(restoreCount <= saveCount); in DEF_TEST()
[all …]
/third_party/skia/tools/mdbviz/
DModel.cpp97 int saveCount = canvas.save(); in drawTo() local
105 canvas.restoreToCount(saveCount); in drawTo()
/third_party/skia/tools/debugger/
DDebugCanvas.cpp132 int saveCount = originalCanvas->save(); in drawTo() local
192 finalCanvas->restoreToCount(saveCount); in drawTo()
/third_party/skia/fuzz/
DFuzzCanvas.cpp1092 int saveCount; in fuzz_canvas() local
1093 fuzz->next(&saveCount); in fuzz_canvas()
1094 canvas->restoreToCount(saveCount); in fuzz_canvas()
/third_party/skia/site/docs/user/modules/
Dcanvaskit.md677 const saveCount = canvas.getSaveCount();
680 canvas.restoreToCount(saveCount);
/third_party/skia/include/core/
DSkCanvas.h773 void restoreToCount(int saveCount);
/third_party/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts1494 restoreToCount(saveCount: number): void;
/third_party/skia/tools/fiddle/
Ddocumumentation_examples_map.txt795 void restoreToCount(int saveCount);