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

Unified Diff: gpu/command_buffer/service/command_buffer_service.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: gpu/command_buffer/service/command_buffer_service.cc
diff --git a/gpu/command_buffer/service/command_buffer_service.cc b/gpu/command_buffer/service/command_buffer_service.cc
index 0ea4b54e2cfe77f84eb58b001cd2f7240633639c..32899161b6f642b8f77bf5433db009992763a4f0 100644
--- a/gpu/command_buffer/service/command_buffer_service.cc
+++ b/gpu/command_buffer/service/command_buffer_service.cc
@@ -17,8 +17,10 @@ using ::base::SharedMemory;
namespace gpu {
CommandBufferService::CommandBufferService(
- TransferBufferManagerInterface* transfer_buffer_manager)
- : ring_buffer_id_(-1),
+ TransferBufferManagerInterface* transfer_buffer_manager,
+ CommandBufferNamespace namespace_id, uint64_t command_buffer_id)
+ : CommandBufferServiceBase(namespace_id, command_buffer_id),
+ ring_buffer_id_(-1),
shared_state_(NULL),
num_entries_(0),
get_offset_(0),

Powered by Google App Engine
This is Rietveld 408576698