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

Unified Diff: ui/gl/init/gl_factory.h

Issue 2497503004: Revert of Refactor context creation parameters into a struct. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « ui/gl/gl_surface_egl.cc ('k') | ui/gl/init/gl_factory_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/init/gl_factory.h
diff --git a/ui/gl/init/gl_factory.h b/ui/gl/init/gl_factory.h
index be8b2441c46e65604ece9b0d7cd7affff69b62d8..37542fb917616ceba8284d407bcb4a7d667ef2ef 100644
--- a/ui/gl/init/gl_factory.h
+++ b/ui/gl/init/gl_factory.h
@@ -17,7 +17,6 @@
namespace gl {
class GLContext;
-struct GLContextAttribs;
class GLShareGroup;
class GLSurface;
@@ -51,7 +50,7 @@
GL_INIT_EXPORT scoped_refptr<GLContext> CreateGLContext(
GLShareGroup* share_group,
GLSurface* compatible_surface,
- const GLContextAttribs& attribs);
+ GpuPreference gpu_preference);
// Creates a GL surface that renders directly to a view.
GL_INIT_EXPORT scoped_refptr<GLSurface> CreateViewGLSurface(
« no previous file with comments | « ui/gl/gl_surface_egl.cc ('k') | ui/gl/init/gl_factory_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698