OLD | NEW |
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2013 The Chromium 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 | 5 |
6 /* NOTE: this is auto-generated from IDL */ | 6 /* NOTE: this is auto-generated from IDL */ |
7 #include "ppapi/generators/pnacl_shim.h" | 7 #include "ppapi/generators/pnacl_shim.h" |
8 | 8 |
9 #include "ppapi/c/ppb.h" | 9 #include "ppapi/c/ppb.h" |
10 #include "ppapi/c/dev/ppb_audio_input_dev.h" | 10 #include "ppapi/c/dev/ppb_audio_input_dev.h" |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0; | 138 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0; |
139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0; | 139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0; |
140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0; | 140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0; |
141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1; | 141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1; |
142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0; | 142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0; |
143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1; | 143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1; |
144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0; | 144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0; |
145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Fullscreen_1_0; | 145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Fullscreen_1_0; |
146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Gamepad_1_0; | 146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Gamepad_1_0; |
147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0; | 147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0; |
| 148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1; |
148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0; | 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0; |
149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ImageData_1_0; | 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ImageData_1_0; |
150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_InputEvent_1_0; | 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_InputEvent_1_0; |
151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0; | 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0; |
152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1; | 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1; |
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0; | 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0; |
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0; | 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0; |
155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0; | 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0; |
156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Instance_1_0; | 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Instance_1_0; |
157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0; | 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0; |
158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0; | 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0; |
159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseCursor_1_0; | 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseCursor_1_0; |
160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0; | 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0; |
161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0; | 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0; |
162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0; | 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0; |
163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0; | 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0; |
164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0; | 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0; |
165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1; | 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1; |
166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; | 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; |
167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0; | 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0; |
| 169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_1; |
168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; | 170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; |
169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Graphics3D_1_0; | 171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Graphics3D_1_0; |
170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_InputEvent_0_1; | 172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_InputEvent_0_1; |
171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_0; | 173 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_0; |
172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_1; | 174 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_1; |
173 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; | 175 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; |
174 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_MouseLock_1_0; | 176 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_MouseLock_1_0; |
175 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioTrusted_0_6; | 177 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioTrusted_0_6; |
176 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2; | 178 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2; |
177 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BrokerTrusted_0_3; | 179 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BrokerTrusted_0_3; |
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
679 } | 681 } |
680 | 682 |
681 static __attribute__((pnaclcall)) | 683 static __attribute__((pnaclcall)) |
682 int32_t Pnacl_M14_PPB_Graphics2D_Flush(PP_Resource graphics_2d, struct PP_Comple
tionCallback callback) { | 684 int32_t Pnacl_M14_PPB_Graphics2D_Flush(PP_Resource graphics_2d, struct PP_Comple
tionCallback callback) { |
683 const struct PPB_Graphics2D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_0.
real_iface; | 685 const struct PPB_Graphics2D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_0.
real_iface; |
684 return iface->Flush(graphics_2d, callback); | 686 return iface->Flush(graphics_2d, callback); |
685 } | 687 } |
686 | 688 |
687 /* End wrapper methods for PPB_Graphics2D_1_0 */ | 689 /* End wrapper methods for PPB_Graphics2D_1_0 */ |
688 | 690 |
| 691 /* Begin wrapper methods for PPB_Graphics2D_1_1 */ |
| 692 |
| 693 static __attribute__((pnaclcall)) |
| 694 PP_Resource Pnacl_M27_PPB_Graphics2D_Create(PP_Instance instance, const struct P
P_Size* size, PP_Bool is_always_opaque) { |
| 695 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.
real_iface; |
| 696 return iface->Create(instance, size, is_always_opaque); |
| 697 } |
| 698 |
| 699 static __attribute__((pnaclcall)) |
| 700 PP_Bool Pnacl_M27_PPB_Graphics2D_IsGraphics2D(PP_Resource resource) { |
| 701 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.
real_iface; |
| 702 return iface->IsGraphics2D(resource); |
| 703 } |
| 704 |
| 705 static __attribute__((pnaclcall)) |
| 706 PP_Bool Pnacl_M27_PPB_Graphics2D_Describe(PP_Resource graphics_2d, struct PP_Siz
e* size, PP_Bool* is_always_opqaue) { |
| 707 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.
real_iface; |
| 708 return iface->Describe(graphics_2d, size, is_always_opqaue); |
| 709 } |
| 710 |
| 711 static __attribute__((pnaclcall)) |
| 712 void Pnacl_M27_PPB_Graphics2D_PaintImageData(PP_Resource graphics_2d, PP_Resourc
e image_data, const struct PP_Point* top_left, const struct PP_Rect* src_rect) { |
| 713 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.
real_iface; |
| 714 iface->PaintImageData(graphics_2d, image_data, top_left, src_rect); |
| 715 } |
| 716 |
| 717 static __attribute__((pnaclcall)) |
| 718 void Pnacl_M27_PPB_Graphics2D_Scroll(PP_Resource graphics_2d, const struct PP_Re
ct* clip_rect, const struct PP_Point* amount) { |
| 719 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.
real_iface; |
| 720 iface->Scroll(graphics_2d, clip_rect, amount); |
| 721 } |
| 722 |
| 723 static __attribute__((pnaclcall)) |
| 724 void Pnacl_M27_PPB_Graphics2D_ReplaceContents(PP_Resource graphics_2d, PP_Resour
ce image_data) { |
| 725 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.
real_iface; |
| 726 iface->ReplaceContents(graphics_2d, image_data); |
| 727 } |
| 728 |
| 729 static __attribute__((pnaclcall)) |
| 730 int32_t Pnacl_M27_PPB_Graphics2D_Flush(PP_Resource graphics_2d, struct PP_Comple
tionCallback callback) { |
| 731 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.
real_iface; |
| 732 return iface->Flush(graphics_2d, callback); |
| 733 } |
| 734 |
| 735 static __attribute__((pnaclcall)) |
| 736 PP_Bool Pnacl_M27_PPB_Graphics2D_SetScale(PP_Resource resource, float scale) { |
| 737 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.
real_iface; |
| 738 return iface->SetScale(resource, scale); |
| 739 } |
| 740 |
| 741 static __attribute__((pnaclcall)) |
| 742 float Pnacl_M27_PPB_Graphics2D_GetScale(PP_Resource resource) { |
| 743 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.
real_iface; |
| 744 return iface->GetScale(resource); |
| 745 } |
| 746 |
| 747 /* End wrapper methods for PPB_Graphics2D_1_1 */ |
| 748 |
689 /* Begin wrapper methods for PPB_Graphics3D_1_0 */ | 749 /* Begin wrapper methods for PPB_Graphics3D_1_0 */ |
690 | 750 |
691 static __attribute__((pnaclcall)) | 751 static __attribute__((pnaclcall)) |
692 int32_t Pnacl_M15_PPB_Graphics3D_GetAttribMaxValue(PP_Resource instance, int32_t
attribute, int32_t* value) { | 752 int32_t Pnacl_M15_PPB_Graphics3D_GetAttribMaxValue(PP_Resource instance, int32_t
attribute, int32_t* value) { |
693 const struct PPB_Graphics3D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics3D_1_0.
real_iface; | 753 const struct PPB_Graphics3D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics3D_1_0.
real_iface; |
694 return iface->GetAttribMaxValue(instance, attribute, value); | 754 return iface->GetAttribMaxValue(instance, attribute, value); |
695 } | 755 } |
696 | 756 |
697 static __attribute__((pnaclcall)) | 757 static __attribute__((pnaclcall)) |
698 PP_Resource Pnacl_M15_PPB_Graphics3D_Create(PP_Instance instance, PP_Resource sh
are_context, const int32_t attrib_list[]) { | 758 PP_Resource Pnacl_M15_PPB_Graphics3D_Create(PP_Instance instance, PP_Resource sh
are_context, const int32_t attrib_list[]) { |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1193 static __attribute__((pnaclcall)) | 1253 static __attribute__((pnaclcall)) |
1194 void Pnacl_M18_PPB_VarArrayBuffer_Unmap(struct PP_Var array) { | 1254 void Pnacl_M18_PPB_VarArrayBuffer_Unmap(struct PP_Var array) { |
1195 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuf
fer_1_0.real_iface; | 1255 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuf
fer_1_0.real_iface; |
1196 iface->Unmap(array); | 1256 iface->Unmap(array); |
1197 } | 1257 } |
1198 | 1258 |
1199 /* End wrapper methods for PPB_VarArrayBuffer_1_0 */ | 1259 /* End wrapper methods for PPB_VarArrayBuffer_1_0 */ |
1200 | 1260 |
1201 /* Not generating wrapper methods for PPB_View_1_0 */ | 1261 /* Not generating wrapper methods for PPB_View_1_0 */ |
1202 | 1262 |
| 1263 /* Not generating wrapper methods for PPB_View_1_1 */ |
| 1264 |
1203 /* Begin wrapper methods for PPB_WebSocket_1_0 */ | 1265 /* Begin wrapper methods for PPB_WebSocket_1_0 */ |
1204 | 1266 |
1205 static __attribute__((pnaclcall)) | 1267 static __attribute__((pnaclcall)) |
1206 PP_Resource Pnacl_M18_PPB_WebSocket_Create(PP_Instance instance) { | 1268 PP_Resource Pnacl_M18_PPB_WebSocket_Create(PP_Instance instance) { |
1207 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.re
al_iface; | 1269 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.re
al_iface; |
1208 return iface->Create(instance); | 1270 return iface->Create(instance); |
1209 } | 1271 } |
1210 | 1272 |
1211 static __attribute__((pnaclcall)) | 1273 static __attribute__((pnaclcall)) |
1212 PP_Bool Pnacl_M18_PPB_WebSocket_IsWebSocket(PP_Resource resource) { | 1274 PP_Bool Pnacl_M18_PPB_WebSocket_IsWebSocket(PP_Resource resource) { |
(...skipping 2749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3962 struct PPB_Graphics2D_1_0 Pnacl_Wrappers_PPB_Graphics2D_1_0 = { | 4024 struct PPB_Graphics2D_1_0 Pnacl_Wrappers_PPB_Graphics2D_1_0 = { |
3963 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_Size* size,
PP_Bool is_always_opaque))&Pnacl_M14_PPB_Graphics2D_Create, | 4025 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_Size* size,
PP_Bool is_always_opaque))&Pnacl_M14_PPB_Graphics2D_Create, |
3964 .IsGraphics2D = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_Graphics2D
_IsGraphics2D, | 4026 .IsGraphics2D = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_Graphics2D
_IsGraphics2D, |
3965 .Describe = (PP_Bool (*)(PP_Resource graphics_2d, struct PP_Size* size, PP_B
ool* is_always_opqaue))&Pnacl_M14_PPB_Graphics2D_Describe, | 4027 .Describe = (PP_Bool (*)(PP_Resource graphics_2d, struct PP_Size* size, PP_B
ool* is_always_opqaue))&Pnacl_M14_PPB_Graphics2D_Describe, |
3966 .PaintImageData = (void (*)(PP_Resource graphics_2d, PP_Resource image_data,
const struct PP_Point* top_left, const struct PP_Rect* src_rect))&Pnacl_M14_PPB
_Graphics2D_PaintImageData, | 4028 .PaintImageData = (void (*)(PP_Resource graphics_2d, PP_Resource image_data,
const struct PP_Point* top_left, const struct PP_Rect* src_rect))&Pnacl_M14_PPB
_Graphics2D_PaintImageData, |
3967 .Scroll = (void (*)(PP_Resource graphics_2d, const struct PP_Rect* clip_rect
, const struct PP_Point* amount))&Pnacl_M14_PPB_Graphics2D_Scroll, | 4029 .Scroll = (void (*)(PP_Resource graphics_2d, const struct PP_Rect* clip_rect
, const struct PP_Point* amount))&Pnacl_M14_PPB_Graphics2D_Scroll, |
3968 .ReplaceContents = (void (*)(PP_Resource graphics_2d, PP_Resource image_data
))&Pnacl_M14_PPB_Graphics2D_ReplaceContents, | 4030 .ReplaceContents = (void (*)(PP_Resource graphics_2d, PP_Resource image_data
))&Pnacl_M14_PPB_Graphics2D_ReplaceContents, |
3969 .Flush = (int32_t (*)(PP_Resource graphics_2d, struct PP_CompletionCallback
callback))&Pnacl_M14_PPB_Graphics2D_Flush | 4031 .Flush = (int32_t (*)(PP_Resource graphics_2d, struct PP_CompletionCallback
callback))&Pnacl_M14_PPB_Graphics2D_Flush |
3970 }; | 4032 }; |
3971 | 4033 |
| 4034 struct PPB_Graphics2D_1_1 Pnacl_Wrappers_PPB_Graphics2D_1_1 = { |
| 4035 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_Size* size,
PP_Bool is_always_opaque))&Pnacl_M27_PPB_Graphics2D_Create, |
| 4036 .IsGraphics2D = (PP_Bool (*)(PP_Resource resource))&Pnacl_M27_PPB_Graphics2D
_IsGraphics2D, |
| 4037 .Describe = (PP_Bool (*)(PP_Resource graphics_2d, struct PP_Size* size, PP_B
ool* is_always_opqaue))&Pnacl_M27_PPB_Graphics2D_Describe, |
| 4038 .PaintImageData = (void (*)(PP_Resource graphics_2d, PP_Resource image_data,
const struct PP_Point* top_left, const struct PP_Rect* src_rect))&Pnacl_M27_PPB
_Graphics2D_PaintImageData, |
| 4039 .Scroll = (void (*)(PP_Resource graphics_2d, const struct PP_Rect* clip_rect
, const struct PP_Point* amount))&Pnacl_M27_PPB_Graphics2D_Scroll, |
| 4040 .ReplaceContents = (void (*)(PP_Resource graphics_2d, PP_Resource image_data
))&Pnacl_M27_PPB_Graphics2D_ReplaceContents, |
| 4041 .Flush = (int32_t (*)(PP_Resource graphics_2d, struct PP_CompletionCallback
callback))&Pnacl_M27_PPB_Graphics2D_Flush, |
| 4042 .SetScale = (PP_Bool (*)(PP_Resource resource, float scale))&Pnacl_M27_PPB_G
raphics2D_SetScale, |
| 4043 .GetScale = (float (*)(PP_Resource resource))&Pnacl_M27_PPB_Graphics2D_GetSc
ale |
| 4044 }; |
| 4045 |
3972 struct PPB_Graphics3D_1_0 Pnacl_Wrappers_PPB_Graphics3D_1_0 = { | 4046 struct PPB_Graphics3D_1_0 Pnacl_Wrappers_PPB_Graphics3D_1_0 = { |
3973 .GetAttribMaxValue = (int32_t (*)(PP_Resource instance, int32_t attribute, i
nt32_t* value))&Pnacl_M15_PPB_Graphics3D_GetAttribMaxValue, | 4047 .GetAttribMaxValue = (int32_t (*)(PP_Resource instance, int32_t attribute, i
nt32_t* value))&Pnacl_M15_PPB_Graphics3D_GetAttribMaxValue, |
3974 .Create = (PP_Resource (*)(PP_Instance instance, PP_Resource share_context,
const int32_t attrib_list[]))&Pnacl_M15_PPB_Graphics3D_Create, | 4048 .Create = (PP_Resource (*)(PP_Instance instance, PP_Resource share_context,
const int32_t attrib_list[]))&Pnacl_M15_PPB_Graphics3D_Create, |
3975 .IsGraphics3D = (PP_Bool (*)(PP_Resource resource))&Pnacl_M15_PPB_Graphics3D
_IsGraphics3D, | 4049 .IsGraphics3D = (PP_Bool (*)(PP_Resource resource))&Pnacl_M15_PPB_Graphics3D
_IsGraphics3D, |
3976 .GetAttribs = (int32_t (*)(PP_Resource context, int32_t attrib_list[]))&Pnac
l_M15_PPB_Graphics3D_GetAttribs, | 4050 .GetAttribs = (int32_t (*)(PP_Resource context, int32_t attrib_list[]))&Pnac
l_M15_PPB_Graphics3D_GetAttribs, |
3977 .SetAttribs = (int32_t (*)(PP_Resource context, const int32_t attrib_list[])
)&Pnacl_M15_PPB_Graphics3D_SetAttribs, | 4051 .SetAttribs = (int32_t (*)(PP_Resource context, const int32_t attrib_list[])
)&Pnacl_M15_PPB_Graphics3D_SetAttribs, |
3978 .GetError = (int32_t (*)(PP_Resource context))&Pnacl_M15_PPB_Graphics3D_GetE
rror, | 4052 .GetError = (int32_t (*)(PP_Resource context))&Pnacl_M15_PPB_Graphics3D_GetE
rror, |
3979 .ResizeBuffers = (int32_t (*)(PP_Resource context, int32_t width, int32_t he
ight))&Pnacl_M15_PPB_Graphics3D_ResizeBuffers, | 4053 .ResizeBuffers = (int32_t (*)(PP_Resource context, int32_t width, int32_t he
ight))&Pnacl_M15_PPB_Graphics3D_ResizeBuffers, |
3980 .SwapBuffers = (int32_t (*)(PP_Resource context, struct PP_CompletionCallbac
k callback))&Pnacl_M15_PPB_Graphics3D_SwapBuffers | 4054 .SwapBuffers = (int32_t (*)(PP_Resource context, struct PP_CompletionCallbac
k callback))&Pnacl_M15_PPB_Graphics3D_SwapBuffers |
3981 }; | 4055 }; |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4091 | 4165 |
4092 struct PPB_VarArrayBuffer_1_0 Pnacl_Wrappers_PPB_VarArrayBuffer_1_0 = { | 4166 struct PPB_VarArrayBuffer_1_0 Pnacl_Wrappers_PPB_VarArrayBuffer_1_0 = { |
4093 .Create = (struct PP_Var (*)(uint32_t size_in_bytes))&Pnacl_M18_PPB_VarArray
Buffer_Create, | 4167 .Create = (struct PP_Var (*)(uint32_t size_in_bytes))&Pnacl_M18_PPB_VarArray
Buffer_Create, |
4094 .ByteLength = (PP_Bool (*)(struct PP_Var array, uint32_t* byte_length))&Pnac
l_M18_PPB_VarArrayBuffer_ByteLength, | 4168 .ByteLength = (PP_Bool (*)(struct PP_Var array, uint32_t* byte_length))&Pnac
l_M18_PPB_VarArrayBuffer_ByteLength, |
4095 .Map = (void* (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Map, | 4169 .Map = (void* (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Map, |
4096 .Unmap = (void (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Unmap | 4170 .Unmap = (void (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Unmap |
4097 }; | 4171 }; |
4098 | 4172 |
4099 /* Not generating wrapper interface for PPB_View_1_0 */ | 4173 /* Not generating wrapper interface for PPB_View_1_0 */ |
4100 | 4174 |
| 4175 /* Not generating wrapper interface for PPB_View_1_1 */ |
| 4176 |
4101 struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0 = { | 4177 struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0 = { |
4102 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_WebSocket_Cr
eate, | 4178 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_WebSocket_Cr
eate, |
4103 .IsWebSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_WebSocket_I
sWebSocket, | 4179 .IsWebSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_WebSocket_I
sWebSocket, |
4104 .Connect = (int32_t (*)(PP_Resource web_socket, struct PP_Var url, const str
uct PP_Var protocols[], uint32_t protocol_count, struct PP_CompletionCallback ca
llback))&Pnacl_M18_PPB_WebSocket_Connect, | 4180 .Connect = (int32_t (*)(PP_Resource web_socket, struct PP_Var url, const str
uct PP_Var protocols[], uint32_t protocol_count, struct PP_CompletionCallback ca
llback))&Pnacl_M18_PPB_WebSocket_Connect, |
4105 .Close = (int32_t (*)(PP_Resource web_socket, uint16_t code, struct PP_Var r
eason, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_Close, | 4181 .Close = (int32_t (*)(PP_Resource web_socket, uint16_t code, struct PP_Var r
eason, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_Close, |
4106 .ReceiveMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var* messag
e, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_ReceiveMessag
e, | 4182 .ReceiveMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var* messag
e, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_ReceiveMessag
e, |
4107 .SendMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var message))&
Pnacl_M18_PPB_WebSocket_SendMessage, | 4183 .SendMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var message))&
Pnacl_M18_PPB_WebSocket_SendMessage, |
4108 .GetBufferedAmount = (uint64_t (*)(PP_Resource web_socket))&Pnacl_M18_PPB_We
bSocket_GetBufferedAmount, | 4184 .GetBufferedAmount = (uint64_t (*)(PP_Resource web_socket))&Pnacl_M18_PPB_We
bSocket_GetBufferedAmount, |
4109 .GetCloseCode = (uint16_t (*)(PP_Resource web_socket))&Pnacl_M18_PPB_WebSock
et_GetCloseCode, | 4185 .GetCloseCode = (uint16_t (*)(PP_Resource web_socket))&Pnacl_M18_PPB_WebSock
et_GetCloseCode, |
4110 .GetCloseReason = (struct PP_Var (*)(PP_Resource web_socket))&Pnacl_M18_PPB_
WebSocket_GetCloseReason, | 4186 .GetCloseReason = (struct PP_Var (*)(PP_Resource web_socket))&Pnacl_M18_PPB_
WebSocket_GetCloseReason, |
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4841 .wrapped_iface = NULL /* Still need slot for real_iface */, | 4917 .wrapped_iface = NULL /* Still need slot for real_iface */, |
4842 .real_iface = NULL | 4918 .real_iface = NULL |
4843 }; | 4919 }; |
4844 | 4920 |
4845 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0 = { | 4921 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0 = { |
4846 .iface_macro = PPB_GRAPHICS_2D_INTERFACE_1_0, | 4922 .iface_macro = PPB_GRAPHICS_2D_INTERFACE_1_0, |
4847 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Graphics2D_1_0, | 4923 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Graphics2D_1_0, |
4848 .real_iface = NULL | 4924 .real_iface = NULL |
4849 }; | 4925 }; |
4850 | 4926 |
| 4927 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1 = { |
| 4928 .iface_macro = PPB_GRAPHICS_2D_INTERFACE_1_1, |
| 4929 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Graphics2D_1_1, |
| 4930 .real_iface = NULL |
| 4931 }; |
| 4932 |
4851 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0 = { | 4933 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0 = { |
4852 .iface_macro = PPB_GRAPHICS_3D_INTERFACE_1_0, | 4934 .iface_macro = PPB_GRAPHICS_3D_INTERFACE_1_0, |
4853 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Graphics3D_1_0, | 4935 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Graphics3D_1_0, |
4854 .real_iface = NULL | 4936 .real_iface = NULL |
4855 }; | 4937 }; |
4856 | 4938 |
4857 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ImageData_1_0 = { | 4939 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ImageData_1_0 = { |
4858 .iface_macro = PPB_IMAGEDATA_INTERFACE_1_0, | 4940 .iface_macro = PPB_IMAGEDATA_INTERFACE_1_0, |
4859 .wrapped_iface = NULL /* Still need slot for real_iface */, | 4941 .wrapped_iface = NULL /* Still need slot for real_iface */, |
4860 .real_iface = NULL | 4942 .real_iface = NULL |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4961 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarArrayBuffer_1_0, | 5043 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarArrayBuffer_1_0, |
4962 .real_iface = NULL | 5044 .real_iface = NULL |
4963 }; | 5045 }; |
4964 | 5046 |
4965 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0 = { | 5047 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0 = { |
4966 .iface_macro = PPB_VIEW_INTERFACE_1_0, | 5048 .iface_macro = PPB_VIEW_INTERFACE_1_0, |
4967 .wrapped_iface = NULL /* Still need slot for real_iface */, | 5049 .wrapped_iface = NULL /* Still need slot for real_iface */, |
4968 .real_iface = NULL | 5050 .real_iface = NULL |
4969 }; | 5051 }; |
4970 | 5052 |
| 5053 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_1 = { |
| 5054 .iface_macro = PPB_VIEW_INTERFACE_1_1, |
| 5055 .wrapped_iface = NULL /* Still need slot for real_iface */, |
| 5056 .real_iface = NULL |
| 5057 }; |
| 5058 |
4971 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0 = { | 5059 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0 = { |
4972 .iface_macro = PPB_WEBSOCKET_INTERFACE_1_0, | 5060 .iface_macro = PPB_WEBSOCKET_INTERFACE_1_0, |
4973 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_WebSocket_1_0, | 5061 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_WebSocket_1_0, |
4974 .real_iface = NULL | 5062 .real_iface = NULL |
4975 }; | 5063 }; |
4976 | 5064 |
4977 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Graphics3D_1_0 = { | 5065 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Graphics3D_1_0 = { |
4978 .iface_macro = PPP_GRAPHICS_3D_INTERFACE_1_0, | 5066 .iface_macro = PPP_GRAPHICS_3D_INTERFACE_1_0, |
4979 .wrapped_iface = NULL /* Still need slot for real_iface */, | 5067 .wrapped_iface = NULL /* Still need slot for real_iface */, |
4980 .real_iface = NULL | 5068 .real_iface = NULL |
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5641 &Pnacl_WrapperInfo_PPB_Console_1_0, | 5729 &Pnacl_WrapperInfo_PPB_Console_1_0, |
5642 &Pnacl_WrapperInfo_PPB_Core_1_0, | 5730 &Pnacl_WrapperInfo_PPB_Core_1_0, |
5643 &Pnacl_WrapperInfo_PPB_FileIO_1_0, | 5731 &Pnacl_WrapperInfo_PPB_FileIO_1_0, |
5644 &Pnacl_WrapperInfo_PPB_FileIO_1_1, | 5732 &Pnacl_WrapperInfo_PPB_FileIO_1_1, |
5645 &Pnacl_WrapperInfo_PPB_FileRef_1_0, | 5733 &Pnacl_WrapperInfo_PPB_FileRef_1_0, |
5646 &Pnacl_WrapperInfo_PPB_FileRef_1_1, | 5734 &Pnacl_WrapperInfo_PPB_FileRef_1_1, |
5647 &Pnacl_WrapperInfo_PPB_FileSystem_1_0, | 5735 &Pnacl_WrapperInfo_PPB_FileSystem_1_0, |
5648 &Pnacl_WrapperInfo_PPB_Fullscreen_1_0, | 5736 &Pnacl_WrapperInfo_PPB_Fullscreen_1_0, |
5649 &Pnacl_WrapperInfo_PPB_Gamepad_1_0, | 5737 &Pnacl_WrapperInfo_PPB_Gamepad_1_0, |
5650 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0, | 5738 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0, |
| 5739 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1, |
5651 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, | 5740 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, |
5652 &Pnacl_WrapperInfo_PPB_ImageData_1_0, | 5741 &Pnacl_WrapperInfo_PPB_ImageData_1_0, |
5653 &Pnacl_WrapperInfo_PPB_InputEvent_1_0, | 5742 &Pnacl_WrapperInfo_PPB_InputEvent_1_0, |
5654 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, | 5743 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, |
5655 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, | 5744 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, |
5656 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, | 5745 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, |
5657 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0, | 5746 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0, |
5658 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0, | 5747 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0, |
5659 &Pnacl_WrapperInfo_PPB_Instance_1_0, | 5748 &Pnacl_WrapperInfo_PPB_Instance_1_0, |
5660 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0, | 5749 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0, |
5661 &Pnacl_WrapperInfo_PPB_Messaging_1_0, | 5750 &Pnacl_WrapperInfo_PPB_Messaging_1_0, |
5662 &Pnacl_WrapperInfo_PPB_MouseCursor_1_0, | 5751 &Pnacl_WrapperInfo_PPB_MouseCursor_1_0, |
5663 &Pnacl_WrapperInfo_PPB_MouseLock_1_0, | 5752 &Pnacl_WrapperInfo_PPB_MouseLock_1_0, |
5664 &Pnacl_WrapperInfo_PPB_URLLoader_1_0, | 5753 &Pnacl_WrapperInfo_PPB_URLLoader_1_0, |
5665 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0, | 5754 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0, |
5666 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0, | 5755 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0, |
5667 &Pnacl_WrapperInfo_PPB_Var_1_0, | 5756 &Pnacl_WrapperInfo_PPB_Var_1_0, |
5668 &Pnacl_WrapperInfo_PPB_Var_1_1, | 5757 &Pnacl_WrapperInfo_PPB_Var_1_1, |
5669 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, | 5758 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, |
5670 &Pnacl_WrapperInfo_PPB_View_1_0, | 5759 &Pnacl_WrapperInfo_PPB_View_1_0, |
| 5760 &Pnacl_WrapperInfo_PPB_View_1_1, |
5671 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, | 5761 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, |
5672 &Pnacl_WrapperInfo_PPB_AudioTrusted_0_6, | 5762 &Pnacl_WrapperInfo_PPB_AudioTrusted_0_6, |
5673 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2, | 5763 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2, |
5674 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_3, | 5764 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_3, |
5675 &Pnacl_WrapperInfo_PPB_BrowserFont_Trusted_1_0, | 5765 &Pnacl_WrapperInfo_PPB_BrowserFont_Trusted_1_0, |
5676 &Pnacl_WrapperInfo_PPB_BufferTrusted_0_1, | 5766 &Pnacl_WrapperInfo_PPB_BufferTrusted_0_1, |
5677 &Pnacl_WrapperInfo_PPB_CharSet_Trusted_1_0, | 5767 &Pnacl_WrapperInfo_PPB_CharSet_Trusted_1_0, |
5678 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_5, | 5768 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_5, |
5679 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_6, | 5769 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_6, |
5680 &Pnacl_WrapperInfo_PPB_FileIOTrusted_0_4, | 5770 &Pnacl_WrapperInfo_PPB_FileIOTrusted_0_4, |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5857 } | 5947 } |
5858 | 5948 |
5859 if (wrapper->wrapped_iface) { | 5949 if (wrapper->wrapped_iface) { |
5860 return wrapper->wrapped_iface; | 5950 return wrapper->wrapped_iface; |
5861 } else { | 5951 } else { |
5862 return wrapper->real_iface; | 5952 return wrapper->real_iface; |
5863 } | 5953 } |
5864 } | 5954 } |
5865 | 5955 |
5866 #endif | 5956 #endif |
OLD | NEW |