Searched refs:getSaveCount (Results 1 – 11 of 11) sorted by relevance
/external/skia/tests/ |
D | CanvasTest.cpp | 388 int saveCount = canvas->getSaveCount(); in SaveMatrixClipStep() 393 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount, in SaveMatrixClipStep() 403 int saveCount = canvas->getSaveCount(); in SaveLayerStep() 406 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount, in SaveLayerStep() 413 int saveCount = canvas->getSaveCount(); in BoundedSaveLayerStep() 416 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount, in BoundedSaveLayerStep() 423 int saveCount = canvas->getSaveCount(); in PaintSaveLayerStep() 426 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount, in PaintSaveLayerStep() 486 int baseSaveCount = canvas->getSaveCount(); in SaveRestoreTestStep() 489 REPORTER_ASSERT_MESSAGE(reporter, baseSaveCount + 1 == canvas->getSaveCount(), in SaveRestoreTestStep() [all …]
|
D | SkLiteDLTest.cpp | 37 REPORTER_ASSERT(r, 1 == rec.getSaveCount()); in DEF_TEST() 39 REPORTER_ASSERT(r, 1 == rec.getSaveCount()); in DEF_TEST()
|
D | ClipStackTest.cpp | 30 REPORTER_ASSERT(reporter, 0 == s.getSaveCount()); in test_assign_and_comparison() 34 REPORTER_ASSERT(reporter, 1 == s.getSaveCount()); in test_assign_and_comparison() 44 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison() 52 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison() 63 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison() 68 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison() 75 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison() 77 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison() 92 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison() 94 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison() [all …]
|
D | PictureTest.cpp | 354 unsigned int getSaveCount() const { return fSaveCount; } in getSaveCount() function in SaveCountingCanvas 376 REPORTER_ASSERT(reporter, numSaves >= canvas.getSaveCount()); in check_save_state() 415 int beforeSaveCount = canvas.getSaveCount(); in check_balance() 423 REPORTER_ASSERT(reporter, beforeSaveCount == canvas.getSaveCount()); in check_balance() 493 int expectedSaveCount = canvas->getSaveCount(); in DEF_TEST() 498 REPORTER_ASSERT(reporter, expectedSaveCount = canvas->getSaveCount()); in DEF_TEST() 510 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores() 529 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores() 550 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores() 562 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores() [all …]
|
/external/skia/src/core/ |
D | SkClipStack.h | 94 int getSaveCount() const { return fSaveCount; } in getSaveCount() function 334 int getSaveCount() const { return fSaveCount; } in getSaveCount() function 341 : fCS(cs), fSaveCount(cs->getSaveCount()) in AutoRestore() 348 SkASSERT(fCS->getSaveCount() >= fSaveCount); // no underflow in ~AutoRestore() 349 while (fCS->getSaveCount() > fSaveCount) { in ~AutoRestore()
|
D | SkCanvas.cpp | 441 fSaveCount = canvas->getSaveCount(); in AutoDrawLooper() 497 SkASSERT(fCanvas->getSaveCount() == fSaveCount); in ~AutoDrawLooper() 878 int SkCanvas::getSaveCount() const { in getSaveCount() function in SkCanvas 897 return this->getSaveCount() - 1; // return our prev value in save() 931 int n = this->getSaveCount() - count; in restoreToCount() 1014 return this->getSaveCount() - 1; in saveLayer() 2910 , fSaveCount(canvas->getSaveCount()) in SkAutoCanvasMatrixPaint()
|
/external/skia/experimental/svg/model/ |
D | SkSVGRenderContext.cpp | 233 , fCanvasSaveCount(canvas->getSaveCount()) {} in SkSVGRenderContext() 339 if (fCanvas->getSaveCount() == fCanvasSaveCount) { in applyClip()
|
/external/skia/include/core/ |
D | SkCanvas.h | 374 int getSaveCount() const; 1566 fSaveCount = canvas->getSaveCount(); in SkAutoCanvasRestore()
|
/external/skia/src/utils/ |
D | SkDumpCanvas.cpp | 522 const int level = canvas->getNestLevel() + canvas->getSaveCount() - 1; in dump()
|
D | SkLua.cpp | 567 lua_pushnumber(L, get_ref<SkCanvas>(L, 1)->getSaveCount()); in lcanvas_getSaveCount()
|
/external/pdfium/core/fxge/skia/ |
D | fx_skia_device.cpp | 1098 m_pDriver->m_pCanvas->getSaveCount()); in Dump() 1116 int skCanvasSaveCount = m_pDriver->m_pCanvas->getSaveCount(); in Dump()
|