Home
last modified time | relevance | path

Searched refs:SkPictureGpuAnalyzer (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/core/
DSkPictureAnalyzer.cpp24 SkPictureGpuAnalyzer::SkPictureGpuAnalyzer(sk_sp<GrContextThreadSafeProxy> /* unused ATM */) in SkPictureGpuAnalyzer() function in SkPictureGpuAnalyzer
27 SkPictureGpuAnalyzer::SkPictureGpuAnalyzer(const sk_sp<SkPicture>& picture, in SkPictureGpuAnalyzer() function in SkPictureGpuAnalyzer
29 : SkPictureGpuAnalyzer(std::move(ctx)) { in SkPictureGpuAnalyzer()
33 void SkPictureGpuAnalyzer::analyzePicture(const SkPicture* picture) { in analyzePicture()
41 void SkPictureGpuAnalyzer::analyzeClipPath(const SkPath& path, SkClipOp op, bool doAntiAlias) { in analyzeClipPath()
53 void SkPictureGpuAnalyzer::reset() { in reset()
57 bool SkPictureGpuAnalyzer::suitableForGpuRasterization(const char** whyNot) const { in suitableForGpuRasterization()
/external/skia/include/core/
DSkPictureAnalyzer.h26 class SK_API SkPictureGpuAnalyzer final : public SkNoncopyable {
28 explicit SkPictureGpuAnalyzer(sk_sp<GrContextThreadSafeProxy> = nullptr);
29 explicit SkPictureGpuAnalyzer(const sk_sp<SkPicture>& picture,
DSkPicture.h177 friend class SkPictureGpuAnalyzer; variable
/external/skia/tests/
DPictureTest.cpp180 !SkPictureGpuAnalyzer(picture).suitableForGpuRasterization(&reason)); in test_gpu_veto()
203 REPORTER_ASSERT(reporter, SkPictureGpuAnalyzer(picture).suitableForGpuRasterization()); in test_gpu_veto()
225 REPORTER_ASSERT(reporter, !SkPictureGpuAnalyzer(picture).suitableForGpuRasterization()); in test_gpu_veto()
249 REPORTER_ASSERT(reporter, SkPictureGpuAnalyzer(picture).suitableForGpuRasterization()); in test_gpu_veto()
265 REPORTER_ASSERT(reporter, SkPictureGpuAnalyzer(picture).suitableForGpuRasterization()); in test_gpu_veto()
279 REPORTER_ASSERT(reporter, !SkPictureGpuAnalyzer(picture).suitableForGpuRasterization()); in test_gpu_veto()
295 REPORTER_ASSERT(reporter, SkPictureGpuAnalyzer(picture).suitableForGpuRasterization()); in test_gpu_veto()
307 REPORTER_ASSERT(reporter, !SkPictureGpuAnalyzer(picture).suitableForGpuRasterization()); in test_gpu_veto()
315 REPORTER_ASSERT(reporter, !SkPictureGpuAnalyzer(picture).suitableForGpuRasterization()); in test_gpu_veto()
1106 SkPictureGpuAnalyzer analyzer; in DEF_TEST()
/external/skia/tools/
Dgpuveto.cpp60 if (SkPictureGpuAnalyzer(recorded).suitableForGpuRasterization(nullptr)) { in main()