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

Unified Diff: ui/gl/gl_context_glx.h

Issue 2480373002: 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
Index: ui/gl/gl_context_glx.h
diff --git a/ui/gl/gl_context_glx.h b/ui/gl/gl_context_glx.h
index be03b6569ccfb88dbe396d0a2b5d534a25752019..62c78e73327c733ef192cebc21d012e8fbcf6b8d 100644
--- a/ui/gl/gl_context_glx.h
+++ b/ui/gl/gl_context_glx.h
@@ -26,7 +26,7 @@ class GL_EXPORT GLContextGLX : public GLContextReal {
// Implement GLContext.
bool Initialize(GLSurface* compatible_surface,
- GpuPreference gpu_preference) override;
+ const GLContextAttribs& attribs) override;
bool MakeCurrent(GLSurface* surface) override;
void ReleaseCurrent(GLSurface* surface) override;
bool IsCurrent(GLSurface* surface) override;
« ui/gl/gl_context_cgl.cc ('K') | « ui/gl/gl_context_egl.cc ('k') | ui/gl/gl_context_glx.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698