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

Unified Diff: ui/gl/gl_switches.cc

Issue 2055713003: gpu: Implement GL_INTEL_framebuffer_CMAA via shaders in the GPU Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fix component & windows build. Created 4 years, 6 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 | « ui/gl/gl_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_switches.cc
diff --git a/ui/gl/gl_switches.cc b/ui/gl/gl_switches.cc
index 31030c4e8e4f6434e3213a26db6aad0afe424c65..23fc099c8d55bc0bdff8852f30841ffb79eb9e85 100644
--- a/ui/gl/gl_switches.cc
+++ b/ui/gl/gl_switches.cc
@@ -93,6 +93,11 @@ const char kOverrideUseGLWithOSMesaForTests[] =
// Disables specified comma separated GL Extensions if found.
const char kDisableGLExtensions[] = "disable-gl-extensions";
+// Enables GL_INTEL_framebuffer_CMAA via shaders. Will be used if the platform
+// does not support GL_INTEL_framebuffer_CMAA and the context is at least
+// OpenGL ES 3.1 or OpenGL 3.0 with the required extensions.
+const char kEnableCMAAShaders[] = "enable-cmaa-shaders";
+
// This is the list of switches passed from this file that are passed from the
// GpuProcessHost to the GPU Process. Add your switch to this list if you need
// to read it in the GPU process, else don't add it.
@@ -107,6 +112,7 @@ const char* kGLSwitchesCopiedFromGpuProcessHost[] = {
kOverrideUseGLWithOSMesaForTests,
kUseANGLE,
kDisableDirectComposition,
+ kEnableCMAAShaders,
};
const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches =
arraysize(kGLSwitchesCopiedFromGpuProcessHost);
« no previous file with comments | « ui/gl/gl_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698