commit | 8a70eef71cf369803e97ffea786f43f944de758e | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Mar 19 13:58:55 2013 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Mar 19 13:58:55 2013 +0000 |
tree | bf5e1a117147a5ad926a69aa757ae5660211be72 | |
parent | 8c3f84d13ff9eb61d9deb93197da4596b79841b0 [diff] [blame] |
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
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index 271923a..b719ec5 100644 --- a/src/gpu/GrContext.cpp +++ b/src/gpu/GrContext.cpp
@@ -549,6 +549,10 @@ return fGpu->getCaps().maxRenderTargetSize(); } +int GrContext::getMaxSampleCount() const { + return fGpu->getCaps().maxSampleCount(); +} + /////////////////////////////////////////////////////////////////////////////// GrTexture* GrContext::wrapBackendTexture(const GrBackendTextureDesc& desc) {