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

Unified Diff: components/mus/gles2/command_buffer_local.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: Added gpu namespace for gles2_conform_support/egl/display.cc 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_local.cc
diff --git a/components/mus/gles2/command_buffer_local.cc b/components/mus/gles2/command_buffer_local.cc
index 3d2ac952b8f3462c02ad99063885ee178a176700..19a7ace9ad9fdaf0879b10ba9b56cf29d0a8a076 100644
--- a/components/mus/gles2/command_buffer_local.cc
+++ b/components/mus/gles2/command_buffer_local.cc
@@ -81,7 +81,9 @@ bool CommandBufferLocal::Initialize() {
nullptr, bind_generates_resource);
command_buffer_.reset(
- new gpu::CommandBufferService(context_group->transfer_buffer_manager()));
+ new gpu::CommandBufferService(context_group->transfer_buffer_manager(),
+ kCommandBufferNamespace_InProcess,
+ 0));
bool result = command_buffer_->Initialize();
DCHECK(result);

Powered by Google App Engine
This is Rietveld 408576698