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

Unified Diff: gpu/command_buffer/service/gl_context_virtual.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
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 0a151f71997ee3930151899409fba621ab4d0a14..6b763b6c55f1345d9da2178b373e6406ec5a0fee 100644
--- a/gpu/command_buffer/service/gl_context_virtual.cc
+++ b/gpu/command_buffer/service/gl_context_virtual.cc
@@ -23,7 +23,7 @@
decoder_(decoder) {}
bool GLContextVirtual::Initialize(gl::GLSurface* compatible_surface,
- const gl::GLContextAttribs& attribs) {
+ gl::GpuPreference gpu_preference) {
SetGLStateRestorer(new GLStateRestorerImpl(decoder_));
return shared_context_->MakeVirtuallyCurrent(this, compatible_surface);
}
« no previous file with comments | « gpu/command_buffer/service/gl_context_virtual.h ('k') | gpu/command_buffer/service/gl_context_virtual_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698