| OLD | NEW |
| 1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. | 1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 // | 4 // |
| 5 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING | 5 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
| 6 // | 6 // |
| 7 // Automatically generated code. See srpcgen.py | 7 // Automatically generated code. See srpcgen.py |
| 8 // | 8 // |
| 9 // NaCl Simple Remote Procedure Call interface abstractions. | 9 // NaCl Simple Remote Procedure Call interface abstractions. |
| 10 | 10 |
| (...skipping 994 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1005 ) { | 1005 ) { |
| 1006 PpbGraphics2DRpcServer::PPB_Graphics2D_Flush( | 1006 PpbGraphics2DRpcServer::PPB_Graphics2D_Flush( |
| 1007 rpc, | 1007 rpc, |
| 1008 done, | 1008 done, |
| 1009 inputs[0]->u.ival, | 1009 inputs[0]->u.ival, |
| 1010 inputs[1]->u.ival, | 1010 inputs[1]->u.ival, |
| 1011 &(outputs[0]->u.ival) | 1011 &(outputs[0]->u.ival) |
| 1012 ); | 1012 ); |
| 1013 } | 1013 } |
| 1014 | 1014 |
| 1015 static void PPB_Graphics3D_CreateDispatcher( |
| 1016 NaClSrpcRpc* rpc, |
| 1017 NaClSrpcArg** inputs, |
| 1018 NaClSrpcArg** outputs, |
| 1019 NaClSrpcClosure* done |
| 1020 ) { |
| 1021 PpbGraphics3DRpcServer::PPB_Graphics3D_Create( |
| 1022 rpc, |
| 1023 done, |
| 1024 inputs[0]->u.ival, |
| 1025 inputs[1]->u.ival, |
| 1026 inputs[2]->u.count, inputs[2]->arrays.iarr, |
| 1027 &(outputs[0]->u.ival) |
| 1028 ); |
| 1029 } |
| 1030 |
| 1031 static void PPB_Graphics3D_GetAttribsDispatcher( |
| 1032 NaClSrpcRpc* rpc, |
| 1033 NaClSrpcArg** inputs, |
| 1034 NaClSrpcArg** outputs, |
| 1035 NaClSrpcClosure* done |
| 1036 ) { |
| 1037 PpbGraphics3DRpcServer::PPB_Graphics3D_GetAttribs( |
| 1038 rpc, |
| 1039 done, |
| 1040 inputs[0]->u.ival, |
| 1041 inputs[1]->u.count, inputs[1]->arrays.iarr, |
| 1042 &(outputs[0]->u.count), outputs[0]->arrays.iarr, |
| 1043 &(outputs[1]->u.ival) |
| 1044 ); |
| 1045 } |
| 1046 |
| 1047 static void PPB_Graphics3D_SetAttribsDispatcher( |
| 1048 NaClSrpcRpc* rpc, |
| 1049 NaClSrpcArg** inputs, |
| 1050 NaClSrpcArg** outputs, |
| 1051 NaClSrpcClosure* done |
| 1052 ) { |
| 1053 PpbGraphics3DRpcServer::PPB_Graphics3D_SetAttribs( |
| 1054 rpc, |
| 1055 done, |
| 1056 inputs[0]->u.ival, |
| 1057 inputs[1]->u.count, inputs[1]->arrays.iarr, |
| 1058 &(outputs[0]->u.ival) |
| 1059 ); |
| 1060 } |
| 1061 |
| 1062 static void PPB_Graphics3D_ResizeBuffersDispatcher( |
| 1063 NaClSrpcRpc* rpc, |
| 1064 NaClSrpcArg** inputs, |
| 1065 NaClSrpcArg** outputs, |
| 1066 NaClSrpcClosure* done |
| 1067 ) { |
| 1068 PpbGraphics3DRpcServer::PPB_Graphics3D_ResizeBuffers( |
| 1069 rpc, |
| 1070 done, |
| 1071 inputs[0]->u.ival, |
| 1072 inputs[1]->u.ival, |
| 1073 inputs[2]->u.ival, |
| 1074 &(outputs[0]->u.ival) |
| 1075 ); |
| 1076 } |
| 1077 |
| 1078 static void PPB_Graphics3D_SwapBuffersDispatcher( |
| 1079 NaClSrpcRpc* rpc, |
| 1080 NaClSrpcArg** inputs, |
| 1081 NaClSrpcArg** outputs, |
| 1082 NaClSrpcClosure* done |
| 1083 ) { |
| 1084 PpbGraphics3DRpcServer::PPB_Graphics3D_SwapBuffers( |
| 1085 rpc, |
| 1086 done, |
| 1087 inputs[0]->u.ival, |
| 1088 inputs[1]->u.ival, |
| 1089 &(outputs[0]->u.ival) |
| 1090 ); |
| 1091 } |
| 1092 |
| 1093 static void PPB_Graphics3DTrusted_CreateRawDispatcher( |
| 1094 NaClSrpcRpc* rpc, |
| 1095 NaClSrpcArg** inputs, |
| 1096 NaClSrpcArg** outputs, |
| 1097 NaClSrpcClosure* done |
| 1098 ) { |
| 1099 PpbGraphics3DRpcServer::PPB_Graphics3DTrusted_CreateRaw( |
| 1100 rpc, |
| 1101 done, |
| 1102 inputs[0]->u.ival, |
| 1103 inputs[1]->u.ival, |
| 1104 inputs[2]->u.count, inputs[2]->arrays.iarr, |
| 1105 &(outputs[0]->u.ival) |
| 1106 ); |
| 1107 } |
| 1108 |
| 1109 static void PPB_Graphics3DTrusted_InitCommandBufferDispatcher( |
| 1110 NaClSrpcRpc* rpc, |
| 1111 NaClSrpcArg** inputs, |
| 1112 NaClSrpcArg** outputs, |
| 1113 NaClSrpcClosure* done |
| 1114 ) { |
| 1115 PpbGraphics3DRpcServer::PPB_Graphics3DTrusted_InitCommandBuffer( |
| 1116 rpc, |
| 1117 done, |
| 1118 inputs[0]->u.ival, |
| 1119 inputs[1]->u.ival, |
| 1120 &(outputs[0]->u.ival) |
| 1121 ); |
| 1122 } |
| 1123 |
| 1124 static void PPB_Graphics3DTrusted_GetRingBufferDispatcher( |
| 1125 NaClSrpcRpc* rpc, |
| 1126 NaClSrpcArg** inputs, |
| 1127 NaClSrpcArg** outputs, |
| 1128 NaClSrpcClosure* done |
| 1129 ) { |
| 1130 PpbGraphics3DRpcServer::PPB_Graphics3DTrusted_GetRingBuffer( |
| 1131 rpc, |
| 1132 done, |
| 1133 inputs[0]->u.ival, |
| 1134 &(outputs[0]->u.hval), |
| 1135 &(outputs[1]->u.ival) |
| 1136 ); |
| 1137 } |
| 1138 |
| 1139 static void PPB_Graphics3DTrusted_GetStateDispatcher( |
| 1140 NaClSrpcRpc* rpc, |
| 1141 NaClSrpcArg** inputs, |
| 1142 NaClSrpcArg** outputs, |
| 1143 NaClSrpcClosure* done |
| 1144 ) { |
| 1145 PpbGraphics3DRpcServer::PPB_Graphics3DTrusted_GetState( |
| 1146 rpc, |
| 1147 done, |
| 1148 inputs[0]->u.ival, |
| 1149 &(outputs[0]->u.count), outputs[0]->arrays.carr |
| 1150 ); |
| 1151 } |
| 1152 |
| 1153 static void PPB_Graphics3DTrusted_FlushDispatcher( |
| 1154 NaClSrpcRpc* rpc, |
| 1155 NaClSrpcArg** inputs, |
| 1156 NaClSrpcArg** outputs, |
| 1157 NaClSrpcClosure* done |
| 1158 ) { |
| 1159 UNREFERENCED_PARAMETER(outputs); |
| 1160 PpbGraphics3DRpcServer::PPB_Graphics3DTrusted_Flush( |
| 1161 rpc, |
| 1162 done, |
| 1163 inputs[0]->u.ival, |
| 1164 inputs[1]->u.ival |
| 1165 ); |
| 1166 } |
| 1167 |
| 1168 static void PPB_Graphics3DTrusted_FlushSyncDispatcher( |
| 1169 NaClSrpcRpc* rpc, |
| 1170 NaClSrpcArg** inputs, |
| 1171 NaClSrpcArg** outputs, |
| 1172 NaClSrpcClosure* done |
| 1173 ) { |
| 1174 PpbGraphics3DRpcServer::PPB_Graphics3DTrusted_FlushSync( |
| 1175 rpc, |
| 1176 done, |
| 1177 inputs[0]->u.ival, |
| 1178 inputs[1]->u.ival, |
| 1179 &(outputs[0]->u.count), outputs[0]->arrays.carr |
| 1180 ); |
| 1181 } |
| 1182 |
| 1183 static void PPB_Graphics3DTrusted_CreateTransferBufferDispatcher( |
| 1184 NaClSrpcRpc* rpc, |
| 1185 NaClSrpcArg** inputs, |
| 1186 NaClSrpcArg** outputs, |
| 1187 NaClSrpcClosure* done |
| 1188 ) { |
| 1189 PpbGraphics3DRpcServer::PPB_Graphics3DTrusted_CreateTransferBuffer( |
| 1190 rpc, |
| 1191 done, |
| 1192 inputs[0]->u.ival, |
| 1193 inputs[1]->u.ival, |
| 1194 inputs[2]->u.ival, |
| 1195 &(outputs[0]->u.ival) |
| 1196 ); |
| 1197 } |
| 1198 |
| 1199 static void PPB_Graphics3DTrusted_DestroyTransferBufferDispatcher( |
| 1200 NaClSrpcRpc* rpc, |
| 1201 NaClSrpcArg** inputs, |
| 1202 NaClSrpcArg** outputs, |
| 1203 NaClSrpcClosure* done |
| 1204 ) { |
| 1205 UNREFERENCED_PARAMETER(outputs); |
| 1206 PpbGraphics3DRpcServer::PPB_Graphics3DTrusted_DestroyTransferBuffer( |
| 1207 rpc, |
| 1208 done, |
| 1209 inputs[0]->u.ival, |
| 1210 inputs[1]->u.ival |
| 1211 ); |
| 1212 } |
| 1213 |
| 1214 static void PPB_Graphics3DTrusted_GetTransferBufferDispatcher( |
| 1215 NaClSrpcRpc* rpc, |
| 1216 NaClSrpcArg** inputs, |
| 1217 NaClSrpcArg** outputs, |
| 1218 NaClSrpcClosure* done |
| 1219 ) { |
| 1220 PpbGraphics3DRpcServer::PPB_Graphics3DTrusted_GetTransferBuffer( |
| 1221 rpc, |
| 1222 done, |
| 1223 inputs[0]->u.ival, |
| 1224 inputs[1]->u.ival, |
| 1225 &(outputs[0]->u.hval), |
| 1226 &(outputs[1]->u.ival) |
| 1227 ); |
| 1228 } |
| 1229 |
| 1015 static void PPB_Context3D_BindSurfacesDispatcher( | 1230 static void PPB_Context3D_BindSurfacesDispatcher( |
| 1016 NaClSrpcRpc* rpc, | 1231 NaClSrpcRpc* rpc, |
| 1017 NaClSrpcArg** inputs, | 1232 NaClSrpcArg** inputs, |
| 1018 NaClSrpcArg** outputs, | 1233 NaClSrpcArg** outputs, |
| 1019 NaClSrpcClosure* done | 1234 NaClSrpcClosure* done |
| 1020 ) { | 1235 ) { |
| 1021 PpbGraphics3DRpcServer::PPB_Context3D_BindSurfaces( | 1236 PpbGraphics3DRpcServer::PPB_Context3D_BindSurfaces( |
| 1022 rpc, | 1237 rpc, |
| 1023 done, | 1238 done, |
| 1024 inputs[0]->u.ival, | 1239 inputs[0]->u.ival, |
| (...skipping 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2218 { "PPB_Font_MeasureText:iCC:i", PPB_Font_MeasureTextDispatcher }, | 2433 { "PPB_Font_MeasureText:iCC:i", PPB_Font_MeasureTextDispatcher }, |
| 2219 { "PPB_Font_CharacterOffsetForPixel:iCCi:i", PPB_Font_CharacterOffsetForPixelD
ispatcher }, | 2434 { "PPB_Font_CharacterOffsetForPixel:iCCi:i", PPB_Font_CharacterOffsetForPixelD
ispatcher }, |
| 2220 { "PPB_Font_PixelOffsetForCharacter:iCCi:i", PPB_Font_PixelOffsetForCharacterD
ispatcher }, | 2435 { "PPB_Font_PixelOffsetForCharacter:iCCi:i", PPB_Font_PixelOffsetForCharacterD
ispatcher }, |
| 2221 { "PPB_Graphics2D_Create:iCi:i", PPB_Graphics2D_CreateDispatcher }, | 2436 { "PPB_Graphics2D_Create:iCi:i", PPB_Graphics2D_CreateDispatcher }, |
| 2222 { "PPB_Graphics2D_IsGraphics2D:i:i", PPB_Graphics2D_IsGraphics2DDispatcher }, | 2437 { "PPB_Graphics2D_IsGraphics2D:i:i", PPB_Graphics2D_IsGraphics2DDispatcher }, |
| 2223 { "PPB_Graphics2D_Describe:i:Cii", PPB_Graphics2D_DescribeDispatcher }, | 2438 { "PPB_Graphics2D_Describe:i:Cii", PPB_Graphics2D_DescribeDispatcher }, |
| 2224 { "PPB_Graphics2D_PaintImageData:iiCC:", PPB_Graphics2D_PaintImageDataDispatch
er }, | 2439 { "PPB_Graphics2D_PaintImageData:iiCC:", PPB_Graphics2D_PaintImageDataDispatch
er }, |
| 2225 { "PPB_Graphics2D_Scroll:iCC:", PPB_Graphics2D_ScrollDispatcher }, | 2440 { "PPB_Graphics2D_Scroll:iCC:", PPB_Graphics2D_ScrollDispatcher }, |
| 2226 { "PPB_Graphics2D_ReplaceContents:ii:", PPB_Graphics2D_ReplaceContentsDispatch
er }, | 2441 { "PPB_Graphics2D_ReplaceContents:ii:", PPB_Graphics2D_ReplaceContentsDispatch
er }, |
| 2227 { "PPB_Graphics2D_Flush:ii:i", PPB_Graphics2D_FlushDispatcher }, | 2442 { "PPB_Graphics2D_Flush:ii:i", PPB_Graphics2D_FlushDispatcher }, |
| 2443 { "PPB_Graphics3D_Create:iiI:i", PPB_Graphics3D_CreateDispatcher }, |
| 2444 { "PPB_Graphics3D_GetAttribs:iI:Ii", PPB_Graphics3D_GetAttribsDispatcher }, |
| 2445 { "PPB_Graphics3D_SetAttribs:iI:i", PPB_Graphics3D_SetAttribsDispatcher }, |
| 2446 { "PPB_Graphics3D_ResizeBuffers:iii:i", PPB_Graphics3D_ResizeBuffersDispatcher
}, |
| 2447 { "PPB_Graphics3D_SwapBuffers:ii:i", PPB_Graphics3D_SwapBuffersDispatcher }, |
| 2448 { "PPB_Graphics3DTrusted_CreateRaw:iiI:i", PPB_Graphics3DTrusted_CreateRawDisp
atcher }, |
| 2449 { "PPB_Graphics3DTrusted_InitCommandBuffer:ii:i", PPB_Graphics3DTrusted_InitCo
mmandBufferDispatcher }, |
| 2450 { "PPB_Graphics3DTrusted_GetRingBuffer:i:hi", PPB_Graphics3DTrusted_GetRingBuf
ferDispatcher }, |
| 2451 { "PPB_Graphics3DTrusted_GetState:i:C", PPB_Graphics3DTrusted_GetStateDispatch
er }, |
| 2452 { "PPB_Graphics3DTrusted_Flush:ii:", PPB_Graphics3DTrusted_FlushDispatcher }, |
| 2453 { "PPB_Graphics3DTrusted_FlushSync:ii:C", PPB_Graphics3DTrusted_FlushSyncDispa
tcher }, |
| 2454 { "PPB_Graphics3DTrusted_CreateTransferBuffer:iii:i", PPB_Graphics3DTrusted_Cr
eateTransferBufferDispatcher }, |
| 2455 { "PPB_Graphics3DTrusted_DestroyTransferBuffer:ii:", PPB_Graphics3DTrusted_Des
troyTransferBufferDispatcher }, |
| 2456 { "PPB_Graphics3DTrusted_GetTransferBuffer:ii:hi", PPB_Graphics3DTrusted_GetTr
ansferBufferDispatcher }, |
| 2228 { "PPB_Context3D_BindSurfaces:iii:i", PPB_Context3D_BindSurfacesDispatcher }, | 2457 { "PPB_Context3D_BindSurfaces:iii:i", PPB_Context3D_BindSurfacesDispatcher }, |
| 2229 { "PPB_Surface3D_Create:iiI:i", PPB_Surface3D_CreateDispatcher }, | 2458 { "PPB_Surface3D_Create:iiI:i", PPB_Surface3D_CreateDispatcher }, |
| 2230 { "PPB_Surface3D_SwapBuffers:ii:i", PPB_Surface3D_SwapBuffersDispatcher }, | 2459 { "PPB_Surface3D_SwapBuffers:ii:i", PPB_Surface3D_SwapBuffersDispatcher }, |
| 2231 { "PPB_Context3DTrusted_CreateRaw:iiiI:i", PPB_Context3DTrusted_CreateRawDispa
tcher }, | 2460 { "PPB_Context3DTrusted_CreateRaw:iiiI:i", PPB_Context3DTrusted_CreateRawDispa
tcher }, |
| 2232 { "PPB_Context3DTrusted_Initialize:ii:i", PPB_Context3DTrusted_InitializeDispa
tcher }, | 2461 { "PPB_Context3DTrusted_Initialize:ii:i", PPB_Context3DTrusted_InitializeDispa
tcher }, |
| 2233 { "PPB_Context3DTrusted_GetRingBuffer:i:hi", PPB_Context3DTrusted_GetRingBuffe
rDispatcher }, | 2462 { "PPB_Context3DTrusted_GetRingBuffer:i:hi", PPB_Context3DTrusted_GetRingBuffe
rDispatcher }, |
| 2234 { "PPB_Context3DTrusted_GetState:i:C", PPB_Context3DTrusted_GetStateDispatcher
}, | 2463 { "PPB_Context3DTrusted_GetState:i:C", PPB_Context3DTrusted_GetStateDispatcher
}, |
| 2235 { "PPB_Context3DTrusted_Flush:ii:", PPB_Context3DTrusted_FlushDispatcher }, | 2464 { "PPB_Context3DTrusted_Flush:ii:", PPB_Context3DTrusted_FlushDispatcher }, |
| 2236 { "PPB_Context3DTrusted_FlushSync:ii:C", PPB_Context3DTrusted_FlushSyncDispatc
her }, | 2465 { "PPB_Context3DTrusted_FlushSync:ii:C", PPB_Context3DTrusted_FlushSyncDispatc
her }, |
| 2237 { "PPB_Context3DTrusted_CreateTransferBuffer:iii:i", PPB_Context3DTrusted_Crea
teTransferBufferDispatcher }, | 2466 { "PPB_Context3DTrusted_CreateTransferBuffer:iii:i", PPB_Context3DTrusted_Crea
teTransferBufferDispatcher }, |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2296 { "PPB_Widget_IsWidget:i:i", PPB_Widget_IsWidgetDispatcher }, | 2525 { "PPB_Widget_IsWidget:i:i", PPB_Widget_IsWidgetDispatcher }, |
| 2297 { "PPB_Widget_Paint:iCi:i", PPB_Widget_PaintDispatcher }, | 2526 { "PPB_Widget_Paint:iCi:i", PPB_Widget_PaintDispatcher }, |
| 2298 { "PPB_Widget_HandleEvent:ii:i", PPB_Widget_HandleEventDispatcher }, | 2527 { "PPB_Widget_HandleEvent:ii:i", PPB_Widget_HandleEventDispatcher }, |
| 2299 { "PPB_Widget_GetLocation:i:Ci", PPB_Widget_GetLocationDispatcher }, | 2528 { "PPB_Widget_GetLocation:i:Ci", PPB_Widget_GetLocationDispatcher }, |
| 2300 { "PPB_Widget_SetLocation:iC:", PPB_Widget_SetLocationDispatcher }, | 2529 { "PPB_Widget_SetLocation:iC:", PPB_Widget_SetLocationDispatcher }, |
| 2301 { "PPB_Zoom_ZoomChanged:id:", PPB_Zoom_ZoomChangedDispatcher }, | 2530 { "PPB_Zoom_ZoomChanged:id:", PPB_Zoom_ZoomChangedDispatcher }, |
| 2302 { "PPB_Zoom_ZoomLimitsChanged:idd:", PPB_Zoom_ZoomLimitsChangedDispatcher }, | 2531 { "PPB_Zoom_ZoomLimitsChanged:idd:", PPB_Zoom_ZoomLimitsChangedDispatcher }, |
| 2303 { NULL, NULL } | 2532 { NULL, NULL } |
| 2304 }; | 2533 }; |
| 2305 | 2534 |
| OLD | NEW |