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

Unified Diff: ppapi/c/trusted/ppb_graphics_3d_trusted.h

Issue 8865008: Revert 113479 - Revert "Revert 113250 - Add CommandBuffer::SetGetBuffer" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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: ppapi/c/trusted/ppb_graphics_3d_trusted.h
===================================================================
--- ppapi/c/trusted/ppb_graphics_3d_trusted.h (revision 113511)
+++ ppapi/c/trusted/ppb_graphics_3d_trusted.h (working copy)
@@ -59,10 +59,12 @@
const int32_t* attrib_list);
// Initializes the command buffer with the given size.
- PP_Bool (*InitCommandBuffer)(PP_Resource context_id);
+ PP_Bool (*InitCommandBuffer)(PP_Resource context_id, int32_t size);
- // Sets the buffer used for commands.
- PP_Bool (*SetGetBuffer)(PP_Resource context, int32_t transfer_buffer_id);
+ // Gets the ring buffer for the command buffer.
+ PP_Bool (*GetRingBuffer)(PP_Resource context_id,
+ int* shm_handle,
+ uint32_t* shm_size);
// Returns the current state.
struct PP_Graphics3DTrustedState (*GetState)(PP_Resource context);

Powered by Google App Engine
This is Rietveld 408576698