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

Unified Diff: content/common/gpu/client/command_buffer_proxy_impl.h

Issue 1345813002: Added a unique command buffer ID for command buffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad merge 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/client/command_buffer_proxy_impl.h
diff --git a/content/common/gpu/client/command_buffer_proxy_impl.h b/content/common/gpu/client/command_buffer_proxy_impl.h
index 82e30e5632fca5ce933aff04333215f24cf90780..978d255d06883c705e2234e4d48d0c5412b077dd 100644
--- a/content/common/gpu/client/command_buffer_proxy_impl.h
+++ b/content/common/gpu/client/command_buffer_proxy_impl.h
@@ -121,6 +121,8 @@ class CommandBufferProxyImpl
uint32 CreateStreamTexture(uint32 texture_id) override;
void SetLock(base::Lock* lock) override;
bool IsGpuChannelLost() override;
+ gpu::CommandBufferNamespace GetNamespaceID() const override;
+ uint64_t GetCommandBufferID() const override;
bool ProduceFrontBuffer(const gpu::Mailbox& mailbox);
void SetContextLostCallback(const base::Closure& callback);
@@ -211,6 +213,7 @@ class CommandBufferProxyImpl
// |*this| is owned by |*channel_| and so is always outlived by it, so using a
// raw pointer is ok.
GpuChannelHost* channel_;
+ const uint64_t command_buffer_id_;
const int32 route_id_;
const int32 stream_id_;
uint32 flush_count_;
« no previous file with comments | « components/mus/gles2/command_buffer_local.cc ('k') | content/common/gpu/client/command_buffer_proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698