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

Unified Diff: ui/gl/gl_context_osmesa.cc

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_osmesa.cc
diff --git a/ui/gl/gl_context_osmesa.cc b/ui/gl/gl_context_osmesa.cc
index ff05eedb152d527606e93b53f178594d0462d7bd..d8c629bdc29472dff6f891f58a152f517c938c17 100644
--- a/ui/gl/gl_context_osmesa.cc
+++ b/ui/gl/gl_context_osmesa.cc
@@ -20,7 +20,7 @@ GLContextOSMesa::GLContextOSMesa(GLShareGroup* share_group)
}
bool GLContextOSMesa::Initialize(GLSurface* compatible_surface,
- GpuPreference gpu_preference) {
+ const GLContextAttribs& attribs) {
DCHECK(!context_);
OSMesaContext share_handle = static_cast<OSMesaContext>(

Powered by Google App Engine
This is Rietveld 408576698