Chromium Code Reviews| Index: src/gpu/GrContext.cpp |
| =================================================================== |
| --- src/gpu/GrContext.cpp (revision 8174) |
| +++ src/gpu/GrContext.cpp (working copy) |
| @@ -549,6 +549,10 @@ |
| return fGpu->getCaps().maxRenderTargetSize(); |
| } |
| +int GrContext::getMaxSampleCount() const { |
| + return fGpu->getCaps().maxSampleCount(); |
| +} |
| + |
| /////////////////////////////////////////////////////////////////////////////// |
| GrTexture* GrContext::wrapBackendTexture(const GrBackendTextureDesc& desc) { |