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

Unified Diff: gpu/GLES2/gl2extchromium.h

Issue 2627323007: Migrate WebGL contexts on backgrounded tabs to the integrated GPU.
Patch Set: Created 3 years, 11 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: gpu/GLES2/gl2extchromium.h
diff --git a/gpu/GLES2/gl2extchromium.h b/gpu/GLES2/gl2extchromium.h
index 30924332ead78a75267cf0223215225b9a1944c4..0c4f2a46552e9427b77c3b32472274190ba13b57 100644
--- a/gpu/GLES2/gl2extchromium.h
+++ b/gpu/GLES2/gl2extchromium.h
@@ -1211,6 +1211,16 @@ GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components);
#define GL_COVERAGE_MODULATION_CHROMIUM 0x9332
#endif /* GL_CHROMIUM_framebuffer_mixed_samples */
+#ifndef GL_DEFAULT_POWER_CHROMIUM
+#define GL_DEFAULT_POWER_CHROMIUM 0x924B
+#endif
+#ifndef GL_LOW_POWER_CHROMIUM
+#define GL_LOW_POWER_CHROMIUM 0x924C
+#endif
+#ifndef GL_HIGH_PERFORMANCE_CHROMIUM
+#define GL_HIGH_PERFORMANCE_CHROMIUM 0x924D
+#endif
+
#ifdef __cplusplus
}
#endif

Powered by Google App Engine
This is Rietveld 408576698