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

Unified Diff: gpu/command_buffer/service/gl_context_virtual.cc

Issue 2480373002: Refactor context creation parameters into a struct. (Closed)
Patch Set: address piman's comments 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: gpu/command_buffer/service/gl_context_virtual.cc
diff --git a/gpu/command_buffer/service/gl_context_virtual.cc b/gpu/command_buffer/service/gl_context_virtual.cc
index 6b763b6c55f1345d9da2178b373e6406ec5a0fee..0a151f71997ee3930151899409fba621ab4d0a14 100644
--- a/gpu/command_buffer/service/gl_context_virtual.cc
+++ b/gpu/command_buffer/service/gl_context_virtual.cc
@@ -23,7 +23,7 @@ GLContextVirtual::GLContextVirtual(gl::GLShareGroup* share_group,
decoder_(decoder) {}
bool GLContextVirtual::Initialize(gl::GLSurface* compatible_surface,
- gl::GpuPreference gpu_preference) {
+ const gl::GLContextAttribs& attribs) {
SetGLStateRestorer(new GLStateRestorerImpl(decoder_));
return shared_context_->MakeVirtuallyCurrent(this, compatible_surface);
}

Powered by Google App Engine
This is Rietveld 408576698