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

Unified Diff: mojo/gles2/command_buffer_client_impl.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: 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
« no previous file with comments | « mojo/gles2/command_buffer_client_impl.h ('k') | ppapi/proxy/ppapi_command_buffer_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/gles2/command_buffer_client_impl.cc
diff --git a/mojo/gles2/command_buffer_client_impl.cc b/mojo/gles2/command_buffer_client_impl.cc
index e302cd5872db966f3c6ba57927c79a6c4ae6c103..b34d438078400d12ebb164b47afe11212a56bd4b 100644
--- a/mojo/gles2/command_buffer_client_impl.cc
+++ b/mojo/gles2/command_buffer_client_impl.cc
@@ -396,4 +396,16 @@ bool CommandBufferClientImpl::IsGpuChannelLost() {
return false;
}
+gpu::CommandBufferNamespace CommandBufferClientImpl::GetNamespaceID() const {
+ return gpu::CommandBufferNamespace::MOJO;
+}
+
+uint64_t CommandBufferClientImpl::GetCommandBufferID() const {
+ // TODO (rjkroege): This must correspond to the command buffer ID on the
+ // server side. Most likely a combination of the client-specific integer and
+ // the connect id.
+ NOTIMPLEMENTED();
+ return 0;
+}
+
} // namespace gles2
« no previous file with comments | « mojo/gles2/command_buffer_client_impl.h ('k') | ppapi/proxy/ppapi_command_buffer_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698