Index: src/gpu/gl/GrGLCaps.h |
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h |
index e924c60efb945796be098d138ec8fcede51b897c..b04bf3436142f613c96150b66be0f4b98ef1843f 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? |
@@ -225,7 +228,9 @@ public: |
bool ES2CompatibilitySupport() const { return fES2CompatibilitySupport; } |
/// Can we call glDisable(GL_MULTISAMPLE)? |
- bool multisampleDisableSupport() const { return fMultisampleDisableSupport; } |
+ bool multisampleDisableSupport() const { |
+ return fMultisampleDisableSupport; |
+ } |
/// Use indices or vertices in CPU arrays rather than VBOs for dynamic content. |
bool useNonVBOVertexAndIndexDynamicData() const { |
@@ -349,7 +354,6 @@ private: |
bool fUseNonVBOVertexAndIndexDynamicData : 1; |
bool fIsCoreProfile : 1; |
bool fFullClearIsFree : 1; |
- bool fFBMixedSamplesSupport : 1; |
struct ReadPixelsSupportedFormat { |
GrGLenum fFormat; |