/third_party/flutter/skia/tests/ |
D | CanvasTest.cpp | 262 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 …]
|
D | PictureTest.cpp | 135 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 …]
|
D | ClipStackTest.cpp | 54 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/ |
D | CanvasTest.cpp | 283 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 …]
|
D | ClipStackTest.cpp | 38 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 …]
|
D | PictureTest.cpp | 133 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/ |
D | Canvas_restoreToCount.cpp | 7 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()
|
D | Canvas_getSaveCount.cpp | 8 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()
|
D | AutoCanvasRestore_restore.cpp | 14 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()
|
D | Canvas_restore.cpp | 8 SkDebugf("depth = %d\n", simple.getSaveCount()); in draw() 10 SkDebugf("depth = %d\n", simple.getSaveCount()); in draw()
|
/third_party/flutter/skia/docs/examples/ |
D | Canvas_getSaveCount.cpp | 8 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()
|
D | Canvas_restoreToCount.cpp | 7 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()
|
D | AutoCanvasRestore_restore.cpp | 14 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()
|
D | Canvas_restore.cpp | 8 SkDebugf("depth = %d\n", simple.getSaveCount()); in draw() 10 SkDebugf("depth = %d\n", simple.getSaveCount()); in draw()
|
/third_party/flutter/skia/src/core/ |
D | SkClipStack.h | 95 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/ |
D | SkClipStack.h | 105 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/ |
D | savelayer.cpp | 114 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/ |
D | canvas.cc | 35 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/ |
D | SkSVGRenderContext.cpp | 297 , 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/ |
D | SkSVGRenderContext.cpp | 159 , fCanvasSaveCount(canvas->getSaveCount()) in SkSVGRenderContext() 317 if (fCanvas->getSaveCount() == fCanvasSaveCount) { in saveOnce() 321 SkASSERT(fCanvas->getSaveCount() > fCanvasSaveCount); in saveOnce()
|
/third_party/flutter/skia/gm/ |
D | savelayer.cpp | 374 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/ |
D | canvas.spec.js | 101 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/ |
D | mask_layer.cc | 25 int tmpLayer = skCanvas->getSaveCount(); in Paint()
|
/third_party/flutter/engine/flutter/flow/ohos_layers/ |
D | mask_layer.cpp | 26 int tmpLayer = skCanvas_->getSaveCount(); in Paint()
|
/third_party/skia/experimental/skrive/src/ |
D | Component.cpp | 65 , fRestoreCount(canvas->getSaveCount()) { in ScopedTransformContext()
|