OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 5 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
7 | 7 |
8 #include "ppapi/c/dev/ppb_file_chooser_dev.h" | 8 #include "ppapi/c/dev/ppb_file_chooser_dev.h" |
9 #include "ppapi/c/dev/ppb_graphics_3d_dev.h" | 9 #include "ppapi/c/dev/ppb_graphics_3d_dev.h" |
10 #include "ppapi/c/dev/ppb_video_layer_dev.h" | 10 #include "ppapi/c/dev/ppb_video_layer_dev.h" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 virtual PP_Resource CreateFontObject( | 68 virtual PP_Resource CreateFontObject( |
69 PP_Instance instance, | 69 PP_Instance instance, |
70 const PP_FontDescription_Dev* description) = 0; | 70 const PP_FontDescription_Dev* description) = 0; |
71 virtual PP_Resource CreateGraphics2D(PP_Instance instance, | 71 virtual PP_Resource CreateGraphics2D(PP_Instance instance, |
72 const PP_Size& size, | 72 const PP_Size& size, |
73 PP_Bool is_always_opaque) = 0; | 73 PP_Bool is_always_opaque) = 0; |
74 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 74 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
75 PP_Config3D_Dev config, | 75 PP_Config3D_Dev config, |
76 PP_Resource share_context, | 76 PP_Resource share_context, |
77 const int32_t* attrib_list) = 0; | 77 const int32_t* attrib_list) = 0; |
| 78 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, |
| 79 PP_Config3D_Dev config, |
| 80 PP_Resource share_context, |
| 81 const int32_t* attrib_list) = 0; |
78 virtual PP_Resource CreateImageData(PP_Instance instance, | 82 virtual PP_Resource CreateImageData(PP_Instance instance, |
79 PP_ImageDataFormat format, | 83 PP_ImageDataFormat format, |
80 const PP_Size& size, | 84 const PP_Size& size, |
81 PP_Bool init_to_zero) = 0; | 85 PP_Bool init_to_zero) = 0; |
82 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 86 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
83 PP_Bool vertical) = 0; | 87 PP_Bool vertical) = 0; |
84 virtual PP_Resource CreateSurface3D(PP_Instance instance, | 88 virtual PP_Resource CreateSurface3D(PP_Instance instance, |
85 PP_Config3D_Dev config, | 89 PP_Config3D_Dev config, |
86 const int32_t* attrib_list) = 0; | 90 const int32_t* attrib_list) = 0; |
87 virtual PP_Resource CreateTransport(PP_Instance instance, | 91 virtual PP_Resource CreateTransport(PP_Instance instance, |
88 const char* name, | 92 const char* name, |
89 const char* proto) = 0; | 93 const char* proto) = 0; |
90 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; | 94 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; |
91 virtual PP_Resource CreateURLRequestInfo(PP_Instance instance) = 0; | 95 virtual PP_Resource CreateURLRequestInfo(PP_Instance instance) = 0; |
92 virtual PP_Resource CreateVideoDecoder(PP_Instance instance) = 0; | 96 virtual PP_Resource CreateVideoDecoder(PP_Instance instance) = 0; |
93 virtual PP_Resource CreateVideoLayer(PP_Instance instance, | 97 virtual PP_Resource CreateVideoLayer(PP_Instance instance, |
94 PP_VideoLayerMode_Dev mode) = 0; | 98 PP_VideoLayerMode_Dev mode) = 0; |
95 | 99 |
96 static const ::pp::proxy::InterfaceID interface_id = | 100 static const ::pp::proxy::InterfaceID interface_id = |
97 ::pp::proxy::INTERFACE_ID_RESOURCE_CREATION; | 101 ::pp::proxy::INTERFACE_ID_RESOURCE_CREATION; |
98 }; | 102 }; |
99 | 103 |
100 } // namespace thunk | 104 } // namespace thunk |
101 } // namespace ppapi | 105 } // namespace ppapi |
102 | 106 |
103 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 107 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
OLD | NEW |