summaryrefslogtreecommitdiffstats
path: root/ppapi/c/trusted/ppb_graphics_3d_trusted.h
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/c/trusted/ppb_graphics_3d_trusted.h')
-rw-r--r--ppapi/c/trusted/ppb_graphics_3d_trusted.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/ppapi/c/trusted/ppb_graphics_3d_trusted.h b/ppapi/c/trusted/ppb_graphics_3d_trusted.h
index 353b6dd..d6a6481 100644
--- a/ppapi/c/trusted/ppb_graphics_3d_trusted.h
+++ b/ppapi/c/trusted/ppb_graphics_3d_trusted.h
@@ -59,10 +59,12 @@ struct PPB_Graphics3DTrusted {
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);