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

Unified Diff: components/mus/gles2/command_buffer_driver.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: components/mus/gles2/command_buffer_driver.cc
diff --git a/components/mus/gles2/command_buffer_driver.cc b/components/mus/gles2/command_buffer_driver.cc
index 7207b037228901aa4f086a5b72f93c8811201d1a..11b6c7de0af50e8304000f783a85f36644c82e8e 100644
--- a/components/mus/gles2/command_buffer_driver.cc
+++ b/components/mus/gles2/command_buffer_driver.cc
@@ -98,7 +98,8 @@ bool CommandBufferDriver::DoInitialize(
nullptr, bind_generates_resource);
command_buffer_.reset(
- new gpu::CommandBufferService(context_group->transfer_buffer_manager()));
+ new gpu::CommandBufferService(context_group->transfer_buffer_manager(),
+ kCommandBufferNamespace_Invalid, 0));
bool result = command_buffer_->Initialize();
DCHECK(result);
« no previous file with comments | « no previous file | components/mus/gles2/command_buffer_local.cc » ('j') | mojo/gles2/command_buffer_client_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698