| 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 #include "ppapi/proxy/resource_creation_proxy.h" | 5 #include "ppapi/proxy/resource_creation_proxy.h" |
| 6 | 6 |
| 7 #include "ppapi/c/pp_errors.h" | 7 #include "ppapi/c/pp_errors.h" |
| 8 #include "ppapi/c/pp_size.h" | 8 #include "ppapi/c/pp_size.h" |
| 9 #include "ppapi/proxy/host_resource.h" | 9 #include "ppapi/proxy/host_resource.h" |
| 10 #include "ppapi/proxy/interface_id.h" | 10 #include "ppapi/proxy/interface_id.h" |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 | 190 |
| 191 PP_Resource ResourceCreationProxy::CreateGraphics3D( | 191 PP_Resource ResourceCreationProxy::CreateGraphics3D( |
| 192 PP_Instance instance, | 192 PP_Instance instance, |
| 193 PP_Config3D_Dev config, | 193 PP_Config3D_Dev config, |
| 194 PP_Resource share_context, | 194 PP_Resource share_context, |
| 195 const int32_t* attrib_list) { | 195 const int32_t* attrib_list) { |
| 196 NOTIMPLEMENTED(); // Not proxied yet. | 196 NOTIMPLEMENTED(); // Not proxied yet. |
| 197 return 0; | 197 return 0; |
| 198 } | 198 } |
| 199 | 199 |
| 200 PP_Resource ResourceCreationProxy::CreateGraphics3DRaw( |
| 201 PP_Instance instance, |
| 202 PP_Config3D_Dev config, |
| 203 PP_Resource share_context, |
| 204 const int32_t* attrib_list) { |
| 205 // Not proxied. The raw creation function is used only in the implementation |
| 206 // of the proxy on the host side. |
| 207 return 0; |
| 208 } |
| 209 |
| 200 PP_Resource ResourceCreationProxy::CreateScrollbar(PP_Instance instance, | 210 PP_Resource ResourceCreationProxy::CreateScrollbar(PP_Instance instance, |
| 201 PP_Bool vertical) { | 211 PP_Bool vertical) { |
| 202 NOTIMPLEMENTED(); // Not proxied yet. | 212 NOTIMPLEMENTED(); // Not proxied yet. |
| 203 return 0; | 213 return 0; |
| 204 } | 214 } |
| 205 | 215 |
| 206 PP_Resource ResourceCreationProxy::CreateSurface3D( | 216 PP_Resource ResourceCreationProxy::CreateSurface3D( |
| 207 PP_Instance instance, | 217 PP_Instance instance, |
| 208 PP_Config3D_Dev config, | 218 PP_Config3D_Dev config, |
| 209 const int32_t* attrib_list) { | 219 const int32_t* attrib_list) { |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 *result_image_handle = dispatcher_->ShareHandleWithRemote(ih, false); | 317 *result_image_handle = dispatcher_->ShareHandleWithRemote(ih, false); |
| 308 #else | 318 #else |
| 309 *result_image_handle = ImageData::HandleFromInt(handle); | 319 *result_image_handle = ImageData::HandleFromInt(handle); |
| 310 #endif | 320 #endif |
| 311 } | 321 } |
| 312 } | 322 } |
| 313 } | 323 } |
| 314 | 324 |
| 315 } // namespace proxy | 325 } // namespace proxy |
| 316 } // namespace pp | 326 } // namespace pp |
| OLD | NEW |