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

Unified Diff: content/renderer/pepper/ppb_graphics_3d_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
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.cc ('k') | content/renderer/pepper/ppb_graphics_3d_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/ppb_graphics_3d_impl.h
diff --git a/content/renderer/pepper/ppb_graphics_3d_impl.h b/content/renderer/pepper/ppb_graphics_3d_impl.h
index 6702c3598848f977f56473642bd87d56bf33b93f..8fbde07a1cd1f816a450bd006553dd1e9d43bcc4 100644
--- a/content/renderer/pepper/ppb_graphics_3d_impl.h
+++ b/content/renderer/pepper/ppb_graphics_3d_impl.h
@@ -29,7 +29,8 @@ class PPB_Graphics3D_Impl : public ppapi::PPB_Graphics3D_Shared {
PP_Resource share_context,
const int32_t* attrib_list,
gpu::Capabilities* capabilities,
- base::SharedMemoryHandle* shared_state_handle);
+ base::SharedMemoryHandle* shared_state_handle,
+ uint64_t* command_buffer_id);
// PPB_Graphics3D_API trusted implementation.
PP_Bool SetGetBuffer(int32_t transfer_buffer_id) override;
@@ -79,7 +80,8 @@ class PPB_Graphics3D_Impl : public ppapi::PPB_Graphics3D_Shared {
bool InitRaw(PPB_Graphics3D_API* share_context,
const int32_t* attrib_list,
gpu::Capabilities* capabilities,
- base::SharedMemoryHandle* shared_state_handle);
+ base::SharedMemoryHandle* shared_state_handle,
+ uint64_t* command_buffer_id);
// Notifications received from the GPU process.
void OnSwapBuffers();
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.cc ('k') | content/renderer/pepper/ppb_graphics_3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698