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

Unified Diff: include/gpu/gl/GrGLConfig.h

Issue 23404002: Add support for ES3 MSAA. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 4 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
« no previous file with comments | « no previous file | include/gpu/gl/GrGLConfig_chrome.h » ('j') | include/gpu/gl/GrGLInterface.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/gl/GrGLConfig.h
===================================================================
--- include/gpu/gl/GrGLConfig.h (revision 10891)
+++ include/gpu/gl/GrGLConfig.h (working copy)
@@ -162,6 +162,16 @@
#define GR_GL_USE_NEW_SHADER_SOURCE_SIGNATURE 0
#endif
+// We now have a separate GrGLInterface function pointer entry for the IMG/EXT version of
robertphillips 2013/08/23 17:25:34 setting setting -> setting
bsalomon 2013/08/23 17:28:49 will do
+// glRenderbufferStorageMultisampled. However, Chrome is setting setting the one we now
+// now use for ES3 MSAA to point to the IMG/EXT function. This macro exists to make
+// Skia ignore the presence of ES3 MSAA and instead use the IMG/EXT version with the
+// old function pointer entry. It will be removed as soon as Chrome is updated to
+// set the new function pointer.
+#if !defined(GR_GL_IGNORE_ES3_MSAA)
+ #define GR_GL_IGNORE_ES3_MSAA 0
+#endif
+
/**
* There is a strange bug that occurs on Macs with NVIDIA GPUs. We don't
* fully understand it. When (element) array buffers are continually
« no previous file with comments | « no previous file | include/gpu/gl/GrGLConfig_chrome.h » ('j') | include/gpu/gl/GrGLInterface.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698