/external/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()
|
/external/skia/tests/ |
D | CanvasTest.cpp | 304 int saveCount = c->getSaveCount(); in __anonf60bc11e0d02() 309 REPORTER_ASSERT(r, c->getSaveCount() == saveCount); in __anonf60bc11e0d02() 314 int saveCount = c->getSaveCount(); in __anonf60bc11e0e02() 317 REPORTER_ASSERT(r, c->getSaveCount() == saveCount); in __anonf60bc11e0e02() 320 int saveCount = c->getSaveCount(); in __anonf60bc11e0f02() 323 REPORTER_ASSERT(r, c->getSaveCount() == saveCount); in __anonf60bc11e0f02() 326 int saveCount = c->getSaveCount(); in __anonf60bc11e1002() 330 REPORTER_ASSERT(r, c->getSaveCount() == saveCount); in __anonf60bc11e1002() 364 int baseSaveCount = c->getSaveCount(); in __anonf60bc11e1402() 367 REPORTER_ASSERT(r, baseSaveCount + 1 == c->getSaveCount()); in __anonf60bc11e1402() [all …]
|
D | PictureTest.cpp | 134 unsigned int getSaveCount() const { return fSaveCount; } in getSaveCount() function in SaveCountingCanvas 158 REPORTER_ASSERT(reporter, numSaves >= canvas.getSaveCount()); in check_save_state() 197 int beforeSaveCount = canvas.getSaveCount(); in check_balance() 205 REPORTER_ASSERT(reporter, beforeSaveCount == canvas.getSaveCount()); in check_balance() 245 int expectedSaveCount = canvas->getSaveCount(); in DEF_TEST() 250 REPORTER_ASSERT(reporter, expectedSaveCount = canvas->getSaveCount()); in DEF_TEST() 262 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores() 281 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores() 302 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores() 314 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores() [all …]
|
D | ClipStackTest.cpp | 55 REPORTER_ASSERT(reporter, 0 == s.getSaveCount()); in test_assign_and_comparison() 59 REPORTER_ASSERT(reporter, 1 == s.getSaveCount()); in test_assign_and_comparison() 69 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison() 77 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison() 88 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison() 93 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() 117 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison() 119 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison() [all …]
|
/external/skqp/tests/ |
D | CanvasTest.cpp | 410 int saveCount = canvas->getSaveCount(); in SaveMatrixClipStep() 415 REPORTER_ASSERT(reporter, canvas->getSaveCount() == saveCount, testStep->assertMessage()); in SaveMatrixClipStep() 424 int saveCount = canvas->getSaveCount(); in SaveLayerStep() 427 REPORTER_ASSERT(reporter, canvas->getSaveCount() == saveCount, testStep->assertMessage()); in SaveLayerStep() 433 int saveCount = canvas->getSaveCount(); in BoundedSaveLayerStep() 436 REPORTER_ASSERT(reporter, canvas->getSaveCount() == saveCount, testStep->assertMessage()); in BoundedSaveLayerStep() 442 int saveCount = canvas->getSaveCount(); in PaintSaveLayerStep() 445 REPORTER_ASSERT(reporter, canvas->getSaveCount() == saveCount, testStep->assertMessage()); in PaintSaveLayerStep() 504 int baseSaveCount = canvas->getSaveCount(); in SaveRestoreTestStep() 507 REPORTER_ASSERT(reporter, baseSaveCount + 1 == canvas->getSaveCount(), in SaveRestoreTestStep() [all …]
|
D | SkLiteDLTest.cpp | 38 REPORTER_ASSERT(r, 1 == rec.getSaveCount()); in DEF_TEST() 40 REPORTER_ASSERT(r, 1 == rec.getSaveCount()); in DEF_TEST()
|
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 | 52 REPORTER_ASSERT(reporter, 0 == s.getSaveCount()); in test_assign_and_comparison() 56 REPORTER_ASSERT(reporter, 1 == s.getSaveCount()); in test_assign_and_comparison() 66 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison() 74 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison() 85 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison() 90 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison() 97 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison() 99 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison() 114 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison() 116 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison() [all …]
|
/external/skqp/docs/ |
D | SkAutoCanvasRestore_Reference.bmh | 62 saveCanvas ? "true" : "false", canvas->getSaveCount()); 65 saveCanvas ? "true" : "false", canvas->getSaveCount()); 68 SkDebugf("final count: %d\n", canvas->getSaveCount());
|
/external/skqp/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()
|
D | SkCanvasPriv.cpp | 16 , fSaveCount(canvas->getSaveCount()) in SkAutoCanvasMatrixPaint()
|
/external/skia/src/core/ |
D | SkClipStack.h | 102 int getSaveCount() const { return fSaveCount; } in getSaveCount() function 307 int getSaveCount() const { return fSaveCount; } in getSaveCount() function 314 : fCS(cs), fSaveCount(cs->getSaveCount()) in AutoRestore() 321 SkASSERT(fCS->getSaveCount() >= fSaveCount); // no underflow in ~AutoRestore() 322 while (fCS->getSaveCount() > fSaveCount) { in ~AutoRestore()
|
D | SkCanvasPriv.cpp | 20 , fSaveCount(canvas->getSaveCount()) in SkAutoCanvasMatrixPaint()
|
D | SkCanvas.cpp | 352 SkDEBUGCODE(fSaveCount = canvas->getSaveCount();) in AutoLayerForImageFilter() 389 SkASSERT(fCanvas->getSaveCount() == fSaveCount); in ~AutoLayerForImageFilter() 610 int SkCanvas::getSaveCount() const { in getSaveCount() function in SkCanvas 629 return this->getSaveCount() - 1; // return our prev value in save() 663 int n = this->getSaveCount() - count; in restoreToCount() 760 return this->getSaveCount() - 1; in saveLayer() 776 return this->getSaveCount() - 1; in only_axis_aligned_saveBehind()
|
/external/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()
|
/external/skqp/gm/ |
D | savelayer.cpp | 296 SkDEBUGCODE(int sc0 =) canvas->getSaveCount(); in draw_cell() 298 SkDEBUGCODE(int sc2 =) canvas->getSaveCount(); in draw_cell() 316 SkDEBUGCODE(int sc3 =) canvas->getSaveCount(); in draw_cell()
|
/external/skqp/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()
|
/external/skqp/modules/sksg/src/ |
D | SkSGRenderNode.cpp | 39 , fRestoreCount(canvas->getSaveCount()) {} in ScopedRenderContext()
|
/external/skia/experimental/skrive/src/ |
D | Component.cpp | 65 , fRestoreCount(canvas->getSaveCount()) { in ScopedTransformContext()
|
/external/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()
|
/external/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);
|
/external/skia/modules/sksg/src/ |
D | SkSGRenderNode.cpp | 117 , fRestoreCount(canvas->getSaveCount()) {} in ScopedRenderContext()
|