Home
last modified time | relevance | path

Searched refs:approximateOpCount (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/core/
DSkBigPicture.cpp62 fCount += op.picture->approximateOpCount(true); in operator ()()
67 int SkBigPicture::approximateOpCount(bool nested) const { in approximateOpCount() function in SkBigPicture
DSkBigPicture.h50 int approximateOpCount(bool nested) const override;
DSkPictureRecorder.cpp58 int approximateOpCount(bool nested) const override { return 0; } in approximateOpCount() function in SkEmptyPicture
DSkPicture.cpp343 int approximateOpCount(bool) const override { in MakePlaceholder() function
DSkCanvas.cpp2859 if (picture->approximateOpCount() <= kMaxPictureOpsToUnrollInsteadOfRef) { in drawPicture()
/external/skia/tests/
DPictureBBHTest.cpp114 REPORTER_ASSERT(r, pic->approximateOpCount() == 5); in DEF_TEST()
124 REPORTER_ASSERT(r, pic->approximateOpCount() == 3); in DEF_TEST()
DPictureTest.cpp772 REPORTER_ASSERT(r, pic->approximateOpCount() == 120); // 10 clears, 100 draws, 10 flushes in DEF_TEST()
777 REPORTER_ASSERT(r, back->approximateOpCount() == pic->approximateOpCount()); in DEF_TEST()
796 REPORTER_ASSERT(r, pic->approximateOpCount() == 2); in DEF_TEST()
800 REPORTER_ASSERT(r, pic->approximateOpCount(/*nested?*/true) >= 2); in DEF_TEST()
801 REPORTER_ASSERT(r, pic->approximateOpCount(/*nested?*/true) <= 10); in DEF_TEST()
931 int s = pic->approximateOpCount(false); in DEF_TEST()
932 int n = pic->approximateOpCount(true); in DEF_TEST()
DImageTest.cpp286 REPORTER_ASSERT(reporter, picture->approximateOpCount() > 0); in DEF_TEST()
303 REPORTER_ASSERT(reporter, deserialized->approximateOpCount() > 0); in DEF_TEST()
/external/skia/docs/examples/
DPicture_approximateOpCount.cpp16 std::string opCount = "approximate op count: " + std::to_string(picture->approximateOpCount());
/external/skia/fuzz/oss_fuzz/
DFuzzSKP.cpp25 pic->approximateOpCount(); in FuzzSKP()
/external/skia/include/core/
DSkPicture.h206 virtual int approximateOpCount(bool nested = false) const = 0;
/external/skia/bench/
Dnanobench.cpp947 fSKPOps = pic->approximateOpCount(); in rawNext()