Home
last modified time | relevance | path

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

123

/third_party/flutter/skia/tests/
DCanvasTest.cpp262 int saveCount = c->getSaveCount(); in __anon48fa9efc0d02()
267 REPORTER_ASSERT(r, c->getSaveCount() == saveCount); in __anon48fa9efc0d02()
272 int saveCount = c->getSaveCount(); in __anon48fa9efc0e02()
275 REPORTER_ASSERT(r, c->getSaveCount() == saveCount); in __anon48fa9efc0e02()
278 int saveCount = c->getSaveCount(); in __anon48fa9efc0f02()
281 REPORTER_ASSERT(r, c->getSaveCount() == saveCount); in __anon48fa9efc0f02()
284 int saveCount = c->getSaveCount(); in __anon48fa9efc1002()
288 REPORTER_ASSERT(r, c->getSaveCount() == saveCount); in __anon48fa9efc1002()
322 int baseSaveCount = c->getSaveCount(); in __anon48fa9efc1402()
325 REPORTER_ASSERT(r, baseSaveCount + 1 == c->getSaveCount()); in __anon48fa9efc1402()
[all …]
DPictureTest.cpp135 unsigned int getSaveCount() const { return fSaveCount; } in getSaveCount() function in SaveCountingCanvas
159 REPORTER_ASSERT(reporter, numSaves >= canvas.getSaveCount()); in check_save_state()
198 int beforeSaveCount = canvas.getSaveCount(); in check_balance()
206 REPORTER_ASSERT(reporter, beforeSaveCount == canvas.getSaveCount()); in check_balance()
246 int expectedSaveCount = canvas->getSaveCount(); in DEF_TEST()
251 REPORTER_ASSERT(reporter, expectedSaveCount = canvas->getSaveCount()); in DEF_TEST()
263 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores()
282 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores()
303 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores()
315 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores()
[all …]
DClipStackTest.cpp54 REPORTER_ASSERT(reporter, 0 == s.getSaveCount()); in test_assign_and_comparison()
58 REPORTER_ASSERT(reporter, 1 == s.getSaveCount()); in test_assign_and_comparison()
68 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison()
76 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison()
87 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison()
92 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison()
99 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison()
101 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison()
116 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison()
118 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison()
[all …]
/third_party/skia/tests/
DCanvasTest.cpp283 int saveCount = c->getSaveCount(); in __anon17bf54c70d02()
288 REPORTER_ASSERT(r, c->getSaveCount() == saveCount); in __anon17bf54c70d02()
293 int saveCount = c->getSaveCount(); in __anon17bf54c70e02()
296 REPORTER_ASSERT(r, c->getSaveCount() == saveCount); in __anon17bf54c70e02()
299 int saveCount = c->getSaveCount(); in __anon17bf54c70f02()
302 REPORTER_ASSERT(r, c->getSaveCount() == saveCount); in __anon17bf54c70f02()
305 int saveCount = c->getSaveCount(); in __anon17bf54c71002()
309 REPORTER_ASSERT(r, c->getSaveCount() == saveCount); in __anon17bf54c71002()
343 int baseSaveCount = c->getSaveCount(); in __anon17bf54c71402()
346 REPORTER_ASSERT(r, baseSaveCount + 1 == c->getSaveCount()); in __anon17bf54c71402()
[all …]
DClipStackTest.cpp38 REPORTER_ASSERT(reporter, 0 == s.getSaveCount()); in test_assign_and_comparison()
42 REPORTER_ASSERT(reporter, 1 == s.getSaveCount()); in test_assign_and_comparison()
52 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison()
60 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison()
71 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison()
76 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison()
83 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison()
85 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison()
100 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison()
102 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison()
[all …]
DPictureTest.cpp133 unsigned int getSaveCount() const { return fSaveCount; } in getSaveCount() function in SaveCountingCanvas
157 REPORTER_ASSERT(reporter, numSaves >= canvas.getSaveCount()); in check_save_state()
196 int beforeSaveCount = canvas.getSaveCount(); in check_balance()
204 REPORTER_ASSERT(reporter, beforeSaveCount == canvas.getSaveCount()); in check_balance()
244 int expectedSaveCount = canvas->getSaveCount(); in DEF_TEST()
249 REPORTER_ASSERT(reporter, expectedSaveCount = canvas->getSaveCount()); in DEF_TEST()
261 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores()
280 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores()
301 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores()
313 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores()
[all …]
/third_party/skia/docs/examples/
DCanvas_restoreToCount.cpp7 SkDebugf("depth = %d\n", canvas->getSaveCount()); in draw()
10 SkDebugf("depth = %d\n", canvas->getSaveCount()); in draw()
12 SkDebugf("depth = %d\n", canvas->getSaveCount()); in draw()
DCanvas_getSaveCount.cpp8 SkDebugf("depth = %d\n", simple.getSaveCount()); in draw()
10 SkDebugf("depth = %d\n", simple.getSaveCount()); in draw()
12 SkDebugf("depth = %d\n", simple.getSaveCount()); in draw()
DAutoCanvasRestore_restore.cpp14 saveCanvas ? "true" : "false", canvas->getSaveCount()); in draw()
17 saveCanvas ? "true" : "false", canvas->getSaveCount()); in draw()
20 SkDebugf("final count: %d\n", canvas->getSaveCount()); in draw()
DCanvas_restore.cpp8 SkDebugf("depth = %d\n", simple.getSaveCount()); in draw()
10 SkDebugf("depth = %d\n", simple.getSaveCount()); in draw()
/third_party/flutter/skia/docs/examples/
DCanvas_getSaveCount.cpp8 SkDebugf("depth = %d\n", simple.getSaveCount()); in draw()
10 SkDebugf("depth = %d\n", simple.getSaveCount()); in draw()
12 SkDebugf("depth = %d\n", simple.getSaveCount()); in draw()
DCanvas_restoreToCount.cpp7 SkDebugf("depth = %d\n", canvas->getSaveCount()); in draw()
10 SkDebugf("depth = %d\n", canvas->getSaveCount()); in draw()
12 SkDebugf("depth = %d\n", canvas->getSaveCount()); in draw()
DAutoCanvasRestore_restore.cpp14 saveCanvas ? "true" : "false", canvas->getSaveCount()); in draw()
17 saveCanvas ? "true" : "false", canvas->getSaveCount()); in draw()
20 SkDebugf("final count: %d\n", canvas->getSaveCount()); in draw()
DCanvas_restore.cpp8 SkDebugf("depth = %d\n", simple.getSaveCount()); in draw()
10 SkDebugf("depth = %d\n", simple.getSaveCount()); in draw()
/third_party/flutter/skia/src/core/
DSkClipStack.h95 int getSaveCount() const { return fSaveCount; } in getSaveCount() function
286 int getSaveCount() const { return fSaveCount; } in getSaveCount() function
293 : fCS(cs), fSaveCount(cs->getSaveCount()) in AutoRestore()
300 SkASSERT(fCS->getSaveCount() >= fSaveCount); // no underflow in ~AutoRestore()
301 while (fCS->getSaveCount() > fSaveCount) { in ~AutoRestore()
/third_party/skia/src/core/
DSkClipStack.h105 int getSaveCount() const { return fSaveCount; } in getSaveCount() function
312 int getSaveCount() const { return fSaveCount; } in getSaveCount() function
319 : fCS(cs), fSaveCount(cs->getSaveCount()) in AutoRestore()
326 SkASSERT(fCS->getSaveCount() >= fSaveCount); // no underflow in ~AutoRestore()
327 while (fCS->getSaveCount() > fSaveCount) { in ~AutoRestore()
/third_party/skia/gm/
Dsavelayer.cpp114 SkDEBUGCODE(int sc0 =) canvas->getSaveCount(); in draw_cell()
116 SkDEBUGCODE(int sc2 =) canvas->getSaveCount(); in draw_cell()
139 SkDEBUGCODE(int sc3 =) canvas->getSaveCount(); in draw_cell()
/third_party/flutter/engine/flutter/lib/ui/painting/
Dcanvas.cc35 V(Canvas, getSaveCount) \
120 int Canvas::getSaveCount() { in getSaveCount() function in flutter::Canvas
123 return canvas_->getSaveCount(); in getSaveCount()
/third_party/flutter/skia/experimental/svg/model/
DSkSVGRenderContext.cpp297 , fCanvasSaveCount(canvas->getSaveCount()) {} in SkSVGRenderContext()
396 if (fCanvas->getSaveCount() == fCanvasSaveCount) { in saveOnce()
400 SkASSERT(fCanvas->getSaveCount() > fCanvasSaveCount); in saveOnce()
/third_party/skia/modules/svg/src/
DSkSVGRenderContext.cpp159 , fCanvasSaveCount(canvas->getSaveCount()) in SkSVGRenderContext()
317 if (fCanvas->getSaveCount() == fCanvasSaveCount) { in saveOnce()
321 SkASSERT(fCanvas->getSaveCount() > fCanvasSaveCount); in saveOnce()
/third_party/flutter/skia/gm/
Dsavelayer.cpp374 SkDEBUGCODE(int sc0 =) canvas->getSaveCount(); in draw_cell()
376 SkDEBUGCODE(int sc2 =) canvas->getSaveCount(); in draw_cell()
399 SkDEBUGCODE(int sc3 =) canvas->getSaveCount(); in draw_cell()
/third_party/skia/modules/canvaskit/tests/
Dcanvas.spec.js101 expect(canvas.getSaveCount()).toEqual(1);
107 expect(canvas.getSaveCount()).toEqual(4);
110 expect(canvas.getSaveCount()).toEqual(4);
112 expect(canvas.getSaveCount()).toEqual(3);
115 expect(canvas.getSaveCount()).toEqual(2);
/third_party/flutter/engine/flutter/flow/layers/
Dmask_layer.cc25 int tmpLayer = skCanvas->getSaveCount(); in Paint()
/third_party/flutter/engine/flutter/flow/ohos_layers/
Dmask_layer.cpp26 int tmpLayer = skCanvas_->getSaveCount(); in Paint()
/third_party/skia/experimental/skrive/src/
DComponent.cpp65 , fRestoreCount(canvas->getSaveCount()) { in ScopedTransformContext()

123