Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBigPicture.cpp63 fCount += op.picture->approximateOpCount(true); in operator ()()
68 int SkBigPicture::approximateOpCount(bool nested) const { in approximateOpCount() function in SkBigPicture
DSkMiniRecorder.cpp26 int approximateOpCount(bool) const override { return 0; } in approximateOpCount() function in SkEmptyPicture
59 int approximateOpCount(bool) const override { return 1; } in approximateOpCount() function in SkMiniPicture
DSkBigPicture.h48 int approximateOpCount(bool nested) const override;
DSkPicture.cpp328 int approximateOpCount(bool) const override { in MakePlaceholder() function
DSkCanvas.cpp2519 if (picture->approximateOpCount() <= kMaxPictureOpsToUnrollInsteadOfRef) { in drawPicture()
/external/skia/tests/
DPictureBBHTest.cpp111 REPORTER_ASSERT(r, pic->approximateOpCount() == 5); in DEF_TEST()
121 REPORTER_ASSERT(r, pic->approximateOpCount() == 3); in DEF_TEST()
DPictureTest.cpp825 REPORTER_ASSERT(r, pic->approximateOpCount() == 120); // 10 clears, 100 draws, 10 flushes in DEF_TEST()
830 REPORTER_ASSERT(r, back->approximateOpCount() == pic->approximateOpCount()); in DEF_TEST()
849 REPORTER_ASSERT(r, pic->approximateOpCount() == 2); in DEF_TEST()
853 REPORTER_ASSERT(r, pic->approximateOpCount(/*nested?*/true) >= 2); in DEF_TEST()
854 REPORTER_ASSERT(r, pic->approximateOpCount(/*nested?*/true) <= 10); in DEF_TEST()
984 int s = pic->approximateOpCount(false); in DEF_TEST()
985 int n = pic->approximateOpCount(true); in DEF_TEST()
DImageTest.cpp237 REPORTER_ASSERT(reporter, picture->approximateOpCount() > 0); in DEF_TEST()
254 REPORTER_ASSERT(reporter, deserialized->approximateOpCount() > 0); in DEF_TEST()
/external/skqp/tests/
DPictureBBHTest.cpp123 REPORTER_ASSERT(r, pic->approximateOpCount() == 5); in DEF_TEST()
133 REPORTER_ASSERT(r, pic->approximateOpCount() == 3); in DEF_TEST()
DPictureTest.cpp843 REPORTER_ASSERT(r, pic->approximateOpCount() == 120); // 10 clears, 100 draws, 10 flushes in DEF_TEST()
848 REPORTER_ASSERT(r, back->approximateOpCount() == pic->approximateOpCount()); in DEF_TEST()
867 REPORTER_ASSERT(r, pic->approximateOpCount() == 2); in DEF_TEST()
DImageTest.cpp231 REPORTER_ASSERT(reporter, picture->approximateOpCount() > 0); in DEF_TEST()
248 REPORTER_ASSERT(reporter, deserialized->approximateOpCount() > 0); in DEF_TEST()
/external/skqp/src/core/
DSkMiniRecorder.cpp26 int approximateOpCount() const override { return 0; } in approximateOpCount() function in SkEmptyPicture
59 int approximateOpCount() const override { return 1; } in approximateOpCount() function in SkMiniPicture
DSkBigPicture.cpp57 int SkBigPicture::approximateOpCount() const { return fRecord->count(); } in approximateOpCount() function in SkBigPicture
DSkBigPicture.h47 int approximateOpCount() const override;
DSkPicture.cpp322 int approximateOpCount() const override { return SK_MaxS32; } in MakePlaceholder() function
DSkCanvas.cpp2758 if (picture->approximateOpCount() <= kMaxPictureOpsToUnrollInsteadOfRef) { in drawPicture()
/external/skia/docs/examples/
DPicture_approximateOpCount.cpp16 std::string opCount = "approximate op count: " + std::to_string(picture->approximateOpCount());
/external/skia/fuzz/oss_fuzz/
DFuzzSKP.cpp26 pic->approximateOpCount(); in FuzzSKP()
/external/skqp/include/core/
DSkPicture.h197 virtual int approximateOpCount() const = 0;
/external/skqp/docs/
DSkPicture_Reference.bmh354 #Method virtual int approximateOpCount() const = 0
368 std::string opCount = "approximate op count: " + std::to_string(picture->approximateOpCount());
396 #SeeAlso approximateOpCount
/external/skia/include/core/
DSkPicture.h206 virtual int approximateOpCount(bool nested = false) const = 0;
/external/skqp/site/user/api/
DSkPicture_Reference.md24 virtual int <a href='#SkPicture_approximateOpCount'>approximateOpCount</a>() const = 0;
435 virtual int <a href='#SkPicture_approximateOpCount'>approximateOpCount</a>() const = 0
476 <a href='#SkPicture_approximateOpCount'>approximateOpCount</a>
/external/skqp/bench/
Dnanobench.cpp736 fSKPOps = pic->approximateOpCount(); in rawNext()
/external/skia/bench/
Dnanobench.cpp814 fSKPOps = pic->approximateOpCount(); in rawNext()
/external/skia/tools/fiddle/
Ddocumumentation_examples_map.txt2862 virtual int approximateOpCount() const = 0;