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_PROXY_RESOURCE_CREATION_PROXY_H_ | 5 #ifndef PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 const PP_Var& accept_types) override; | 116 const PP_Var& accept_types) override; |
117 PP_Resource CreateGraphics2D(PP_Instance pp_instance, | 117 PP_Resource CreateGraphics2D(PP_Instance pp_instance, |
118 const PP_Size* size, | 118 const PP_Size* size, |
119 PP_Bool is_always_opaque) override; | 119 PP_Bool is_always_opaque) override; |
120 PP_Resource CreateGraphics3D(PP_Instance instance, | 120 PP_Resource CreateGraphics3D(PP_Instance instance, |
121 PP_Resource share_context, | 121 PP_Resource share_context, |
122 const int32_t* attrib_list) override; | 122 const int32_t* attrib_list) override; |
123 PP_Resource CreateGraphics3DRaw( | 123 PP_Resource CreateGraphics3DRaw( |
124 PP_Instance instance, | 124 PP_Instance instance, |
125 PP_Resource share_context, | 125 PP_Resource share_context, |
126 const int32_t* attrib_list, | 126 const gpu::gles2::ContextCreationAttribHelper& attrib_helper, |
127 gpu::Capabilities* capabilities, | 127 gpu::Capabilities* capabilities, |
128 base::SharedMemoryHandle* shared_state, | 128 base::SharedMemoryHandle* shared_state, |
129 gpu::CommandBufferId* command_buffer_id) override; | 129 gpu::CommandBufferId* command_buffer_id) override; |
130 PP_Resource CreateHostResolver(PP_Instance instance) override; | 130 PP_Resource CreateHostResolver(PP_Instance instance) override; |
131 PP_Resource CreateHostResolverPrivate(PP_Instance instance) override; | 131 PP_Resource CreateHostResolverPrivate(PP_Instance instance) override; |
132 PP_Resource CreateImageData(PP_Instance instance, | 132 PP_Resource CreateImageData(PP_Instance instance, |
133 PP_ImageDataFormat format, | 133 PP_ImageDataFormat format, |
134 const PP_Size* size, | 134 const PP_Size* size, |
135 PP_Bool init_to_zero) override; | 135 PP_Bool init_to_zero) override; |
136 PP_Resource CreateImageDataSimple(PP_Instance instance, | 136 PP_Resource CreateImageDataSimple(PP_Instance instance, |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 | 191 |
192 private: | 192 private: |
193 Connection GetConnection(); | 193 Connection GetConnection(); |
194 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 194 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
195 }; | 195 }; |
196 | 196 |
197 } // namespace proxy | 197 } // namespace proxy |
198 } // namespace ppapi | 198 } // namespace ppapi |
199 | 199 |
200 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 200 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
OLD | NEW |