Chromium Code Reviews| Index: src/gpu/GrDrawTarget.h |
| =================================================================== |
| --- src/gpu/GrDrawTarget.h (revision 8174) |
| +++ src/gpu/GrDrawTarget.h (working copy) |
| @@ -45,8 +45,10 @@ |
| bool fDualSourceBlendingSupport : 1; |
| bool fBufferLockSupport : 1; |
| bool fPathStencilingSupport : 1; |
| + |
| int fMaxRenderTargetSize; |
| int fMaxTextureSize; |
|
robertphillips
2013/03/15 17:49:17
extra ;
bsalomon
2013/03/19 14:02:12
Done.
|
| + int fMaxSampleCount;; |
| }; |
| class DrawInfo; |
| @@ -81,6 +83,8 @@ |
| int maxRenderTargetSize() const { return fInternals.fMaxRenderTargetSize; } |
| int maxTextureSize() const { return fInternals.fMaxTextureSize; } |
| + // Will be 0 if MSAA is not supported |
| + int maxSampleCount() const { return fInternals.fMaxSampleCount; } |
| private: |
| CapsInternals fInternals; |
| friend class GrDrawTarget; // to set values of fInternals |