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

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

Issue 8919014: Revert "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
diff --git a/ppapi/c/trusted/ppb_graphics_3d_trusted.h b/ppapi/c/trusted/ppb_graphics_3d_trusted.h
index d6a6481aa93d53bea0190c82a249887c6502bd28..353b6dd351640c579cea7607da819812fc3c310a 100644
--- a/ppapi/c/trusted/ppb_graphics_3d_trusted.h
+++ b/ppapi/c/trusted/ppb_graphics_3d_trusted.h
@@ -59,12 +59,10 @@ struct PPB_Graphics3DTrusted {
const int32_t* attrib_list);
// Initializes the command buffer with the given size.
- PP_Bool (*InitCommandBuffer)(PP_Resource context_id, int32_t size);
+ PP_Bool (*InitCommandBuffer)(PP_Resource context_id);
- // Gets the ring buffer for the command buffer.
- PP_Bool (*GetRingBuffer)(PP_Resource context_id,
- int* shm_handle,
- uint32_t* shm_size);
+ // Sets the buffer used for commands.
+ PP_Bool (*SetGetBuffer)(PP_Resource context, int32_t transfer_buffer_id);
// Returns the current state.
struct PP_Graphics3DTrustedState (*GetState)(PP_Resource context);

Powered by Google App Engine
This is Rietveld 408576698