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

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

Issue 2467103003: gl_context_glx: add workaround to create default context (Closed)
Patch Set: WIP 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: 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 c26bc4d83a5abcc71efb992e376901a8a5949434..b1a186e9316d6a40d3143d41475e66768e298439 100644
--- a/content/browser/gpu/gpu_process_host.cc
+++ b/content/browser/gpu/gpu_process_host.cc
@@ -108,6 +108,7 @@ namespace {
// Command-line switches to propagate to the GPU process.
static const char* const kSwitchNames[] = {
+ switches::kCreateDefaultContext,
switches::kDisableAcceleratedVideoDecode,
switches::kDisableBreakpad,
switches::kDisableES3GLContext,
@@ -160,8 +161,7 @@ static const char* const kSwitchNames[] = {
switches::kGpuTestingGLVendor,
switches::kGpuTestingGLRenderer,
switches::kGpuTestingGLVersion,
- switches::kDisableGpuDriverBugWorkarounds
-};
+ switches::kDisableGpuDriverBugWorkarounds};
enum GPUProcessLifetimeEvent {
LAUNCHED,

Powered by Google App Engine
This is Rietveld 408576698