| 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);
|
|
|