Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Unified Diff: src/gpu/gl/GrGLCaps.h

Issue 1001503002: Implement support for mixed sampled render targets (Closed) Base URL: https://skia.googlesource.com/skia.git@mix1
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/gpu/gl/GrGLCaps.h
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h
index 6aa5f933c03c11e2970345767961c9a7f6cfda70..7661f46a2a1678c308db1d75fe140c163b4bfc1e 100644
--- a/src/gpu/gl/GrGLCaps.h
+++ b/src/gpu/gl/GrGLCaps.h
@@ -65,8 +65,12 @@ public:
* GL_MAX_SAMPLES value.
*/
kES_EXT_MsToTexture_MSFBOType,
+ /**
+ * GL_NV_framebuffer_mixed_samples.
+ */
+ kStencil_MSFBOType,
- kLast_MSFBOType = kES_EXT_MsToTexture_MSFBOType
+ kLast_MSFBOType = kStencil_MSFBOType
};
enum InvalidateFBType {
@@ -153,7 +157,8 @@ public:
bool usesMSAARenderBuffers() const {
return kNone_MSFBOType != fMSFBOType &&
kES_IMG_MsToTexture_MSFBOType != fMSFBOType &&
- kES_EXT_MsToTexture_MSFBOType != fMSFBOType;
+ kES_EXT_MsToTexture_MSFBOType != fMSFBOType &&
+ kStencil_MSFBOType != fMSFBOType;
}
/**

Powered by Google App Engine
This is Rietveld 408576698