Index: ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_server.cc |
=================================================================== |
--- ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_server.cc (revision 113511) |
+++ ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_server.cc (working copy) |
@@ -1160,22 +1160,23 @@ |
rpc, |
done, |
inputs[0]->u.ival, |
+ inputs[1]->u.ival, |
&(outputs[0]->u.ival) |
); |
} |
-static void PPB_Graphics3DTrusted_SetGetBufferDispatcher( |
+static void PPB_Graphics3DTrusted_GetRingBufferDispatcher( |
NaClSrpcRpc* rpc, |
NaClSrpcArg** inputs, |
NaClSrpcArg** outputs, |
NaClSrpcClosure* done |
) { |
- UNREFERENCED_PARAMETER(outputs); |
- PpbGraphics3DRpcServer::PPB_Graphics3DTrusted_SetGetBuffer( |
+ PpbGraphics3DRpcServer::PPB_Graphics3DTrusted_GetRingBuffer( |
rpc, |
done, |
inputs[0]->u.ival, |
- inputs[1]->u.ival |
+ &(outputs[0]->u.hval), |
+ &(outputs[1]->u.ival) |
); |
} |
@@ -2618,8 +2619,8 @@ |
{ "PPB_Graphics3D_GetError:i:i", PPB_Graphics3D_GetErrorDispatcher }, |
{ "PPB_Graphics3D_SwapBuffers:ii:i", PPB_Graphics3D_SwapBuffersDispatcher }, |
{ "PPB_Graphics3DTrusted_CreateRaw:iiI:i", PPB_Graphics3DTrusted_CreateRawDispatcher }, |
- { "PPB_Graphics3DTrusted_InitCommandBuffer:i:i", PPB_Graphics3DTrusted_InitCommandBufferDispatcher }, |
- { "PPB_Graphics3DTrusted_SetGetBuffer:ii:", PPB_Graphics3DTrusted_SetGetBufferDispatcher }, |
+ { "PPB_Graphics3DTrusted_InitCommandBuffer:ii:i", PPB_Graphics3DTrusted_InitCommandBufferDispatcher }, |
+ { "PPB_Graphics3DTrusted_GetRingBuffer:i:hi", PPB_Graphics3DTrusted_GetRingBufferDispatcher }, |
{ "PPB_Graphics3DTrusted_GetState:i:C", PPB_Graphics3DTrusted_GetStateDispatcher }, |
{ "PPB_Graphics3DTrusted_Flush:ii:", PPB_Graphics3DTrusted_FlushDispatcher }, |
{ "PPB_Graphics3DTrusted_FlushSync:ii:C", PPB_Graphics3DTrusted_FlushSyncDispatcher }, |