aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2018-01-26 11:00:10 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-01-26 17:13:00 +0000
commit33bf56d6b48180ca48c85de0f4f0747b61c1d315 (patch)
tree9e119b21a7f9fb7ba3807c799ad06c08b13faada /include
parent1bd556a1776c6c0b2a7b940516bc53f329516dc7 (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 'include')
-rw-r--r--include/gpu/GrContext.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index 31ed522edf..f85efc4940 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -216,19 +216,6 @@ public:
/** Access the context capabilities */
const GrCaps* caps() const { return fCaps.get(); }
- /**
- * Returns the recommended sample count for a render target when using this
- * context.
- *
- * @param config the configuration of the render target.
- * @param dpi the display density in dots per inch.
- *
- * @return sample count that should be perform well and have good enough
- * rendering quality for the display. Alternatively returns 0 if
- * MSAA is not supported or recommended to be used by default.
- */
- int getRecommendedSampleCount(GrPixelConfig config, SkScalar dpi) const;
-
/*
* Create a new render target context backed by a deferred-style
* GrRenderTargetProxy. We guarantee that "asTextureProxy" will succeed for