diff options
author | 2013-03-19 13:58:55 +0000 | |
---|---|---|
committer | 2013-03-19 13:58:55 +0000 | |
commit | 8a70eef71cf369803e97ffea786f43f944de758e (patch) | |
tree | bf5e1a117147a5ad926a69aa757ae5660211be72 /src/gpu/GrContext.cpp | |
parent | 8c3f84d13ff9eb61d9deb93197da4596b79841b0 (diff) |
Add MSAA configs to bench.
Review URL: https://codereview.chromium.org/12607013
git-svn-id: http://skia.googlecode.com/svn/trunk@8217 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrContext.cpp')
-rw-r--r-- | src/gpu/GrContext.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index 271923aedf..b719ec5a53 100644 --- a/src/gpu/GrContext.cpp +++ b/src/gpu/GrContext.cpp @@ -549,6 +549,10 @@ int GrContext::getMaxRenderTargetSize() const { return fGpu->getCaps().maxRenderTargetSize(); } +int GrContext::getMaxSampleCount() const { + return fGpu->getCaps().maxSampleCount(); +} + /////////////////////////////////////////////////////////////////////////////// GrTexture* GrContext::wrapBackendTexture(const GrBackendTextureDesc& desc) { |