diff options
author | Brian Salomon <bsalomon@google.com> | 2018-01-26 11:00:10 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-01-26 17:13:00 +0000 |
commit | 33bf56d6b48180ca48c85de0f4f0747b61c1d315 (patch) | |
tree | 9e119b21a7f9fb7ba3807c799ad06c08b13faada /src/core/SkPictureData.h | |
parent | 1bd556a1776c6c0b2a7b940516bc53f329516dc7 (diff) |
Remove GrContext::getRecommendedSampleCount and SkPictureContentInfo::suitableForGpuRasterization
Change-Id: I8c5521f87c5eae185e68622aa104cb8911efa8c8
Reviewed-on: https://skia-review.googlesource.com/100183
Reviewed-by: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/core/SkPictureData.h')
-rw-r--r-- | src/core/SkPictureData.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/core/SkPictureData.h b/src/core/SkPictureData.h index d9cb824fd5..8fb5918c27 100644 --- a/src/core/SkPictureData.h +++ b/src/core/SkPictureData.h @@ -138,24 +138,6 @@ public: return reader->validateIndex(index, fVerticesCount) ? fVerticesRefs[index] : nullptr; } -#if SK_SUPPORT_GPU - /** - * sampleCount is the number of samples-per-pixel or zero if non-MSAA. - * It is defaulted to be zero. - */ - bool suitableForGpuRasterization(GrContext* context, const char **reason, - int sampleCount = 0) const; - - /** - * Calls getRecommendedSampleCount with GrPixelConfig and dpi to calculate sampleCount - * and then calls the above version of suitableForGpuRasterization - */ - bool suitableForGpuRasterization(GrContext* context, const char **reason, - GrPixelConfig config, SkScalar dpi) const; - - bool suitableForLayerOptimization() const; -#endif - private: void init(); |