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

Unified Diff: ui/gl/gl_context_cgl.h

Issue 13746002: Force GPU switch with CGLSetVirtualScreen only for compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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_cgl.h
diff --git a/ui/gl/gl_context_cgl.h b/ui/gl/gl_context_cgl.h
index bad2e3aff0b4468fb56f53763de9e88c9a927559..b76f5991cfa37b25f2f3dd3771efaa185fbed71a 100644
--- a/ui/gl/gl_context_cgl.h
+++ b/ui/gl/gl_context_cgl.h
@@ -30,6 +30,8 @@ class GLContextCGL : public GLContext {
virtual void SetSwapInterval(int interval) OVERRIDE;
virtual bool GetTotalGpuMemory(size_t* bytes) OVERRIDE;
+ static GL_EXPORT void ForceCGLSetVirtualScreen();
+
protected:
virtual ~GLContextCGL();

Powered by Google App Engine
This is Rietveld 408576698