Chromium Code Reviews| Index: src/gpu/gl/GrGLCaps.h |
| diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h |
| index 742a74d360cbac28a99db268723ad926997fde3b..183c1a834ca92b83b7b6724f8dd9cdd9aa9af8eb 100644 |
| --- a/src/gpu/gl/GrGLCaps.h |
| +++ b/src/gpu/gl/GrGLCaps.h |
| @@ -67,8 +67,12 @@ public: |
| * GL_MAX_SAMPLES value. |
| */ |
| kES_EXT_MsToTexture_MSFBOType, |
| + /** |
| + * GL_NV_framebuffer_mixed_samples. |
| + */ |
| + kMixedSamples_MSFBOType, |
| - kLast_MSFBOType = kES_EXT_MsToTexture_MSFBOType |
| + kLast_MSFBOType = kMixedSamples_MSFBOType |
| }; |
| enum InvalidateFBType { |
| @@ -141,7 +145,8 @@ public: |
| bool usesMSAARenderBuffers() const { |
| return kNone_MSFBOType != fMSFBOType && |
| kES_IMG_MsToTexture_MSFBOType != fMSFBOType && |
| - kES_EXT_MsToTexture_MSFBOType != fMSFBOType; |
| + kES_EXT_MsToTexture_MSFBOType != fMSFBOType && |
| + kMixedSamples_MSFBOType != fMSFBOType; |
| } |
| /** |
| @@ -153,8 +158,6 @@ public: |
| kES_EXT_MsToTexture_MSFBOType == fMSFBOType; |
| } |
| - bool fbMixedSamplesSupport() const { return fFBMixedSamplesSupport; } |
| - |
| InvalidateFBType invalidateFBType() const { return fInvalidateFBType; } |
| /// What type of buffer mapping is supported? |
| @@ -349,7 +352,6 @@ private: |
| bool fUseNonVBOVertexAndIndexDynamicData : 1; |
| bool fIsCoreProfile : 1; |
| bool fFullClearIsFree : 1; |
| - bool fFBMixedSamplesSupport : 1; |
|
Chris Dalton
2015/06/09 17:39:51
Oops, thanks for catching that. I shouldn't have m
|
| struct ReadPixelsSupportedFormat { |
| GrGLenum fFormat; |