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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/ppb_graphics_3d.srpc

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/native_client/src/shared/ppapi_proxy/ppb_graphics_3d.srpc
===================================================================
--- ppapi/native_client/src/shared/ppapi_proxy/ppb_graphics_3d.srpc (revision 113511)
+++ ppapi/native_client/src/shared/ppapi_proxy/ppb_graphics_3d.srpc (working copy)
@@ -77,15 +77,16 @@
# Initialize the command buffer.
{'name': 'PPB_Graphics3DTrusted_InitCommandBuffer',
'inputs': [['resource_id', 'PP_Resource'],
+ ['size', 'int32_t']
],
'outputs': [['success', 'int32_t']] # PP_Bool
},
- # Set the buffer used for commands.
- {'name': 'PPB_Graphics3DTrusted_SetGetBuffer',
- 'inputs': [['resource_id', 'PP_Resource'],
- ['shm_id', 'int32_t'],
- ],
- 'outputs': []
+ # Get the ring buffer.
+ {'name': 'PPB_Graphics3DTrusted_GetRingBuffer',
+ 'inputs': [['resource_id', 'PP_Resource']],
+ 'outputs': [['shm_desc', 'handle'],
+ ['shm_size', 'int32_t']
+ ]
},
# Get command buffer state.
{'name': 'PPB_Graphics3DTrusted_GetState',
@@ -141,6 +142,6 @@
['shm_size', 'int32_t']
]
},
- # End of PPB_Graphics3DTrusted
+ # End of PPB_Graphics3DTrusted
]
}

Powered by Google App Engine
This is Rietveld 408576698