Home
last modified time | relevance | path

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

/external/skia/tests/
DCanvasTest.cpp360 int saveCount = canvas->getSaveCount(); in SaveMatrixClipStep()
365 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount, in SaveMatrixClipStep()
375 int saveCount = canvas->getSaveCount(); in SaveLayerStep()
378 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount, in SaveLayerStep()
385 int saveCount = canvas->getSaveCount(); in BoundedSaveLayerStep()
388 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount, in BoundedSaveLayerStep()
395 int saveCount = canvas->getSaveCount(); in PaintSaveLayerStep()
398 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount, in PaintSaveLayerStep()
459 int baseSaveCount = canvas->getSaveCount(); in SaveRestoreTestStep()
462 REPORTER_ASSERT_MESSAGE(reporter, baseSaveCount + 1 == canvas->getSaveCount(), in SaveRestoreTestStep()
[all …]
DClipStackTest.cpp22 REPORTER_ASSERT(reporter, 0 == s.getSaveCount()); in test_assign_and_comparison()
26 REPORTER_ASSERT(reporter, 1 == s.getSaveCount()); in test_assign_and_comparison()
36 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison()
44 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison()
55 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison()
60 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison()
67 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison()
69 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison()
84 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison()
86 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison()
[all …]
DPictureTest.cpp566 unsigned int getSaveCount() const { return fSaveCount; } in getSaveCount() function in SaveCountingCanvas
588 REPORTER_ASSERT(reporter, numSaves >= canvas.getSaveCount()); in check_save_state()
627 int beforeSaveCount = canvas.getSaveCount(); in check_balance()
637 REPORTER_ASSERT(reporter, beforeSaveCount == canvas.getSaveCount()); in check_balance()
709 int expectedSaveCount = canvas->getSaveCount(); in DEF_TEST()
714 REPORTER_ASSERT(reporter, expectedSaveCount = canvas->getSaveCount()); in DEF_TEST()
726 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores()
745 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores()
766 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores()
778 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores()
[all …]
/external/skia/include/core/
DSkClipStack.h82 int getSaveCount() const { return fSaveCount; } in getSaveCount() function
295 int getSaveCount() const { return fSaveCount; } in getSaveCount() function
DSkCanvas.h393 int getSaveCount() const;
1396 fSaveCount = canvas->getSaveCount(); in SkAutoCanvasRestore()
/external/skia/src/core/
DSkCanvas.cpp342 fSaveCount = canvas->getSaveCount(); in AutoDrawLooper()
404 SkASSERT(fCanvas->getSaveCount() == fSaveCount); in ~AutoDrawLooper()
850 int SkCanvas::getSaveCount() const { in getSaveCount() function in SkCanvas
869 return this->getSaveCount() - 1; // return our prev value in save()
903 int n = this->getSaveCount() - count; in restoreToCount()
976 return this->getSaveCount() - 1; in saveLayer()
986 return this->getSaveCount() - 1; in saveLayer()
2677 , fSaveCount(canvas->getSaveCount()) in SkAutoCanvasMatrixPaint()
/external/skia/src/utils/
DSkDumpCanvas.cpp529 const int level = canvas->getNestLevel() + canvas->getSaveCount() - 1; in dump()
DSkLua.cpp614 lua_pushnumber(L, get_ref<SkCanvas>(L, 1)->getSaveCount()); in lcanvas_getSaveCount()