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

Unified Diff: content/common/gpu/gpu_command_buffer_stub.cc

Issue 1871613002: Compute GpuDriverBugWorkarounds only one time in the GPU process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: content/common/gpu/gpu_command_buffer_stub.cc
diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc
index 0ff8e1142f17199eefddfb05bc3a5684093c1b25..897e7bc6bcd9c004375c0b37f4f8733d4e673f69 100644
--- a/content/common/gpu/gpu_command_buffer_stub.cc
+++ b/content/common/gpu/gpu_command_buffer_stub.cc
@@ -211,9 +211,10 @@ GpuCommandBufferStub::GpuCommandBufferStub(
attrib_parser.bind_generates_resource);
} else {
context_group_ = new gpu::gles2::ContextGroup(
- channel_->gpu_channel_manager()->gpu_preferences(), mailbox_manager,
- new GpuCommandBufferMemoryTracker(channel,
- command_buffer_id_.GetUnsafeValue()),
+ channel_->gpu_channel_manager()->gpu_preferences(),
+ channel_->gpu_channel_manager()->gpu_driver_bug_workarounds(),
+ mailbox_manager, new GpuCommandBufferMemoryTracker(
+ channel, command_buffer_id_.GetUnsafeValue()),
channel_->gpu_channel_manager()->shader_translator_cache(),
channel_->gpu_channel_manager()->framebuffer_completeness_cache(), NULL,
subscription_ref_set, pending_valuebuffer_state,

Powered by Google App Engine
This is Rietveld 408576698