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

Unified Diff: gpu/config/gpu_info_collector.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 | « gpu/command_buffer/tests/gl_manager.cc ('k') | gpu/gles2_conform_support/egl/context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_info_collector.cc
diff --git a/gpu/config/gpu_info_collector.cc b/gpu/config/gpu_info_collector.cc
index 79ae1c883932d0b14b162b98d4f9f83c5bfb6daa..8ea80921ca6cf9d3b3d1db90d1a7b1da004c7071 100644
--- a/gpu/config/gpu_info_collector.cc
+++ b/gpu/config/gpu_info_collector.cc
@@ -45,7 +45,7 @@
scoped_refptr<gl::GLContext> InitializeGLContext(gl::GLSurface* surface) {
scoped_refptr<gl::GLContext> context(
- gl::init::CreateGLContext(nullptr, surface, gl::GLContextAttribs()));
+ gl::init::CreateGLContext(nullptr, surface, gl::PreferIntegratedGpu));
if (!context.get()) {
LOG(ERROR) << "gl::init::CreateGLContext failed";
return NULL;
« no previous file with comments | « gpu/command_buffer/tests/gl_manager.cc ('k') | gpu/gles2_conform_support/egl/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698