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..fe19171a6fa3cef8a4a60f43a9cc22cf886e1c7a 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. |
piman
2011/11/20 01:19:16
nit: Remove "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 shm_id); |
// Returns the current state. |
struct PP_Graphics3DTrustedState (*GetState)(PP_Resource context); |