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

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

Issue 1345813002: Added a unique command buffer ID for command buffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed copyright Created 5 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
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 d91a65259efff40f2100f525e8bcab7dd98e8555..c028e3248549b77596cf4c7ae55a08c226d9a4f7 100644
--- a/content/common/gpu/gpu_command_buffer_stub.cc
+++ b/content/common/gpu/gpu_command_buffer_stub.cc
@@ -488,7 +488,9 @@ void GpuCommandBufferStub::OnInitialize(
new base::SharedMemory(shared_state_handle, false));
command_buffer_.reset(new gpu::CommandBufferService(
- context_group_->transfer_buffer_manager()));
+ context_group_->transfer_buffer_manager(),
+ gpu::kCommandBufferNamespace_GpuIO,
+ (static_cast<uint64_t>(channel_->client_id()) << 32) | route_id_));
bool result = command_buffer_->Initialize();
DCHECK(result);

Powered by Google App Engine
This is Rietveld 408576698