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

Unified Diff: gpu/command_buffer/tests/gl_manager.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: gpu/command_buffer/tests/gl_manager.cc
diff --git a/gpu/command_buffer/tests/gl_manager.cc b/gpu/command_buffer/tests/gl_manager.cc
index c5f70877703c8fb7d519bcd6eb18cf97274e0132..ebf77a1c58ff9d1cc3f3f79a7cbf543b1dd15bb1 100644
--- a/gpu/command_buffer/tests/gl_manager.cc
+++ b/gpu/command_buffer/tests/gl_manager.cc
@@ -214,7 +214,9 @@ void GLManager::InitializeWithCommandLine(const GLManager::Options& options,
decoder_.reset(::gpu::gles2::GLES2Decoder::Create(context_group));
command_buffer_.reset(new CommandBufferService(
- decoder_->GetContextGroup()->transfer_buffer_manager()));
+ decoder_->GetContextGroup()->transfer_buffer_manager(),
+ kCommandBufferNamespace_InProcess,
+ 0));
ASSERT_TRUE(command_buffer_->Initialize())
<< "could not create command buffer service";

Powered by Google App Engine
This is Rietveld 408576698