OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "ppapi/c/dev/pp_video_dev.h" | 9 #include "ppapi/c/dev/pp_video_dev.h" |
10 #include "ppapi/c/dev/ppb_file_chooser_dev.h" | 10 #include "ppapi/c/dev/ppb_file_chooser_dev.h" |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 const PP_Size* size, | 134 const PP_Size* size, |
135 PP_Bool is_always_opaque) = 0; | 135 PP_Bool is_always_opaque) = 0; |
136 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 136 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
137 PP_Resource share_context, | 137 PP_Resource share_context, |
138 const int32_t* attrib_list) = 0; | 138 const int32_t* attrib_list) = 0; |
139 virtual PP_Resource CreateGraphics3DRaw( | 139 virtual PP_Resource CreateGraphics3DRaw( |
140 PP_Instance instance, | 140 PP_Instance instance, |
141 PP_Resource share_context, | 141 PP_Resource share_context, |
142 const int32_t* attrib_list, | 142 const int32_t* attrib_list, |
143 gpu::Capabilities* capabilities, | 143 gpu::Capabilities* capabilities, |
144 base::SharedMemoryHandle* shared_state) = 0; | 144 base::SharedMemoryHandle* shared_state, |
| 145 uint64_t* command_buffer_id) = 0; |
145 virtual PP_Resource CreateHostResolver(PP_Instance instance) = 0; | 146 virtual PP_Resource CreateHostResolver(PP_Instance instance) = 0; |
146 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) = 0; | 147 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) = 0; |
147 virtual PP_Resource CreateImageData(PP_Instance instance, | 148 virtual PP_Resource CreateImageData(PP_Instance instance, |
148 PP_ImageDataFormat format, | 149 PP_ImageDataFormat format, |
149 const PP_Size* size, | 150 const PP_Size* size, |
150 PP_Bool init_to_zero) = 0; | 151 PP_Bool init_to_zero) = 0; |
151 virtual PP_Resource CreateImageDataSimple(PP_Instance instance, | 152 virtual PP_Resource CreateImageDataSimple(PP_Instance instance, |
152 PP_ImageDataFormat format, | 153 PP_ImageDataFormat format, |
153 const PP_Size* size, | 154 const PP_Size* size, |
154 PP_Bool init_to_zero) = 0; | 155 PP_Bool init_to_zero) = 0; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 PP_VideoDecoder_Profile profile) = 0; | 202 PP_VideoDecoder_Profile profile) = 0; |
202 #endif // !defined(OS_NACL) | 203 #endif // !defined(OS_NACL) |
203 | 204 |
204 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 205 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
205 }; | 206 }; |
206 | 207 |
207 } // namespace thunk | 208 } // namespace thunk |
208 } // namespace ppapi | 209 } // namespace ppapi |
209 | 210 |
210 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 211 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
OLD | NEW |