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

Unified Diff: ui/gl/gl_context.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: ui/gl/gl_context.h
diff --git a/ui/gl/gl_context.h b/ui/gl/gl_context.h
index 542940c7683894bb857e311f97bbb53cf0102583..59f1ddf6b7fb9e9b1bbbea884a7eb3b0cb9dadd9 100644
--- a/ui/gl/gl_context.h
+++ b/ui/gl/gl_context.h
@@ -137,6 +137,8 @@ class GL_EXPORT GLContext : public base::RefCounted<GLContext> {
// Returns a helper structure to convert YUV textures to RGB textures.
virtual YUVToRGBConverter* GetYUVToRGBConverter();
+ virtual void SetPerformancePreference(GpuPerformancePreference pref);
+
protected:
virtual ~GLContext();
« no previous file with comments | « ui/gl/gl_bindings.h ('k') | ui/gl/gl_context.cc » ('j') | ui/gl/gl_context_cgl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698