Home
last modified time | relevance | path

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

/external/skia/tests/
DCanvasTest.cpp388 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 …]
DSkLiteDLTest.cpp37 REPORTER_ASSERT(r, 1 == rec.getSaveCount()); in DEF_TEST()
39 REPORTER_ASSERT(r, 1 == rec.getSaveCount()); in DEF_TEST()
DClipStackTest.cpp30 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 …]
DPictureTest.cpp354 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/
DSkClipStack.h94 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()
DSkCanvas.cpp441 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/
DSkSVGRenderContext.cpp233 , fCanvasSaveCount(canvas->getSaveCount()) {} in SkSVGRenderContext()
339 if (fCanvas->getSaveCount() == fCanvasSaveCount) { in applyClip()
/external/skia/include/core/
DSkCanvas.h374 int getSaveCount() const;
1566 fSaveCount = canvas->getSaveCount(); in SkAutoCanvasRestore()
/external/skia/src/utils/
DSkDumpCanvas.cpp522 const int level = canvas->getNestLevel() + canvas->getSaveCount() - 1; in dump()
DSkLua.cpp567 lua_pushnumber(L, get_ref<SkCanvas>(L, 1)->getSaveCount()); in lcanvas_getSaveCount()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp1098 m_pDriver->m_pCanvas->getSaveCount()); in Dump()
1116 int skCanvasSaveCount = m_pDriver->m_pCanvas->getSaveCount(); in Dump()