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

Unified Diff: ui/gl/gpu_preference.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
« ui/gl/gl_context_cgl.cc ('K') | « ui/gl/gl_context_cgl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gpu_preference.h
diff --git a/ui/gl/gpu_preference.h b/ui/gl/gpu_preference.h
index 67abb7558001481d810fff2cd3c28b73e3901bd0..f3b526ff3995d8ba7fd5489d07769990d95ab0a6 100644
--- a/ui/gl/gpu_preference.h
+++ b/ui/gl/gpu_preference.h
@@ -20,6 +20,13 @@ enum GpuPreference {
GpuPreferenceLast = PreferDiscreteGpu
};
+enum GpuPerformancePreference {
+ PreferDefaultPerformance,
+ PreferHighPerformance,
+ PreferLowPower
+};
+
+
} // namespace gl
#endif // UI_GL_GPU_PREFERENCE_H_
« ui/gl/gl_context_cgl.cc ('K') | « ui/gl/gl_context_cgl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698