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

Unified Diff: content/browser/gpu/gpu_process_host.cc

Issue 2347383002: X11: Use better visuals for OpenGL (Closed)
Patch Set: auto* Created 4 years, 3 months 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 | « content/browser/gpu/gpu_internals_ui.cc ('k') | content/gpu/gpu_child_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_process_host.cc
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc
index 367a69d9323fd065203a78416690ba86d09ad846..b8c54bfa0b226ccb02bcc296627e70799ee8b10d 100644
--- a/content/browser/gpu/gpu_process_host.cc
+++ b/content/browser/gpu/gpu_process_host.cc
@@ -152,9 +152,7 @@ static const char* const kSwitchNames[] = {
switches::kOzonePlatform,
#endif
#if defined(USE_X11) && !defined(OS_CHROMEOS)
- switches::kWindowDepth,
switches::kX11Display,
- switches::kX11VisualID,
#endif
switches::kGpuTestingGLVendor,
switches::kGpuTestingGLRenderer,
@@ -800,7 +798,7 @@ void GpuProcessHost::OnInitialized(bool result, const gpu::GPUInfo& gpu_info) {
if (!initialized_)
GpuDataManagerImpl::GetInstance()->OnGpuProcessInitFailure();
- else if (!in_process_)
+ else
GpuDataManagerImpl::GetInstance()->UpdateGpuInfo(gpu_info);
}
« no previous file with comments | « content/browser/gpu/gpu_internals_ui.cc ('k') | content/gpu/gpu_child_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698