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

Unified Diff: ui/ozone/platform/x11/gl_ozone_glx.cc

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/ozone/platform/x11/gl_ozone_glx.h ('k') | ui/ozone/public/gl_ozone.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/x11/gl_ozone_glx.cc
diff --git a/ui/ozone/platform/x11/gl_ozone_glx.cc b/ui/ozone/platform/x11/gl_ozone_glx.cc
index 3ed91f9258bb7d5ae94c5cbabda59e56f40486e4..0b08e31e4de2236eda3c30f441e7fef663751a03 100644
--- a/ui/ozone/platform/x11/gl_ozone_glx.cc
+++ b/ui/ozone/platform/x11/gl_ozone_glx.cc
@@ -85,9 +85,9 @@
scoped_refptr<gl::GLContext> GLOzoneGLX::CreateGLContext(
gl::GLShareGroup* share_group,
gl::GLSurface* compatible_surface,
- const gl::GLContextAttribs& attribs) {
+ gl::GpuPreference gpu_preference) {
return gl::InitializeGLContext(new gl::GLContextGLX(share_group),
- compatible_surface, attribs);
+ compatible_surface, gpu_preference);
}
scoped_refptr<gl::GLSurface> GLOzoneGLX::CreateViewGLSurface(
« no previous file with comments | « ui/ozone/platform/x11/gl_ozone_glx.h ('k') | ui/ozone/public/gl_ozone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698