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

Unified Diff: ui/gl/gl_context.cc

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.cc
diff --git a/ui/gl/gl_context.cc b/ui/gl/gl_context.cc
index 609d131f03cdb075b5b293b500abb15afda5acac..353b3bf1b9d6d1040f79f8b03f899ea21b06f5f7 100644
--- a/ui/gl/gl_context.cc
+++ b/ui/gl/gl_context.cc
@@ -97,6 +97,9 @@ YUVToRGBConverter* GLContext::GetYUVToRGBConverter() {
return nullptr;
}
+void GLContext::SetPerformancePreference(GpuPerformancePreference pref) {
+}
+
bool GLContext::HasExtension(const char* name) {
std::string extensions = GetExtensions();
extensions += " ";
« no previous file with comments | « ui/gl/gl_context.h ('k') | ui/gl/gl_context_cgl.h » ('j') | ui/gl/gl_context_cgl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698