| 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 #include "content/renderer/pepper/resource_creation_impl.h" | 5 #include "content/renderer/pepper/resource_creation_impl.h" |
| 6 | 6 |
| 7 #include "content/common/content_switches_internal.h" | 7 #include "content/common/content_switches_internal.h" |
| 8 #include "content/renderer/pepper/ppb_audio_impl.h" | 8 #include "content/renderer/pepper/ppb_audio_impl.h" |
| 9 #include "content/renderer/pepper/ppb_broker_impl.h" | 9 #include "content/renderer/pepper/ppb_broker_impl.h" |
| 10 #include "content/renderer/pepper/ppb_buffer_impl.h" | 10 #include "content/renderer/pepper/ppb_buffer_impl.h" |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 PP_Resource share_context, | 111 PP_Resource share_context, |
| 112 const int32_t* attrib_list) { | 112 const int32_t* attrib_list) { |
| 113 return PPB_Graphics3D_Impl::Create(instance, share_context, attrib_list); | 113 return PPB_Graphics3D_Impl::Create(instance, share_context, attrib_list); |
| 114 } | 114 } |
| 115 | 115 |
| 116 PP_Resource ResourceCreationImpl::CreateGraphics3DRaw( | 116 PP_Resource ResourceCreationImpl::CreateGraphics3DRaw( |
| 117 PP_Instance instance, | 117 PP_Instance instance, |
| 118 PP_Resource share_context, | 118 PP_Resource share_context, |
| 119 const int32_t* attrib_list, | 119 const int32_t* attrib_list, |
| 120 gpu::Capabilities* capabilities, | 120 gpu::Capabilities* capabilities, |
| 121 base::SharedMemoryHandle* shared_state) { | 121 base::SharedMemoryHandle* shared_state, |
| 122 uint64_t* command_buffer_id) { |
| 122 return PPB_Graphics3D_Impl::CreateRaw(instance, share_context, attrib_list, | 123 return PPB_Graphics3D_Impl::CreateRaw(instance, share_context, attrib_list, |
| 123 capabilities, shared_state); | 124 capabilities, shared_state, |
| 125 command_buffer_id); |
| 124 } | 126 } |
| 125 | 127 |
| 126 PP_Resource ResourceCreationImpl::CreateHostResolver(PP_Instance instance) { | 128 PP_Resource ResourceCreationImpl::CreateHostResolver(PP_Instance instance) { |
| 127 return 0; // Not supported in-process. | 129 return 0; // Not supported in-process. |
| 128 } | 130 } |
| 129 | 131 |
| 130 PP_Resource ResourceCreationImpl::CreateHostResolverPrivate( | 132 PP_Resource ResourceCreationImpl::CreateHostResolverPrivate( |
| 131 PP_Instance instance) { | 133 PP_Instance instance) { |
| 132 return 0; // Not supported in-process. | 134 return 0; // Not supported in-process. |
| 133 } | 135 } |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 wheel_ticks, | 358 wheel_ticks, |
| 357 scroll_by_page); | 359 scroll_by_page); |
| 358 } | 360 } |
| 359 | 361 |
| 360 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( | 362 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( |
| 361 PP_Instance instance) { | 363 PP_Instance instance) { |
| 362 return 0; // Not supported in-process. | 364 return 0; // Not supported in-process. |
| 363 } | 365 } |
| 364 | 366 |
| 365 } // namespace content | 367 } // namespace content |
| OLD | NEW |