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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 PP_Resource share_context, | 115 PP_Resource share_context, |
116 const int32_t* attrib_list) { | 116 const int32_t* attrib_list) { |
117 return PPB_Graphics3D_Impl::Create(instance, share_context, attrib_list); | 117 return PPB_Graphics3D_Impl::Create(instance, share_context, attrib_list); |
118 } | 118 } |
119 | 119 |
120 PP_Resource ResourceCreationImpl::CreateGraphics3DRaw( | 120 PP_Resource ResourceCreationImpl::CreateGraphics3DRaw( |
121 PP_Instance instance, | 121 PP_Instance instance, |
122 PP_Resource share_context, | 122 PP_Resource share_context, |
123 const int32_t* attrib_list, | 123 const int32_t* attrib_list, |
124 gpu::Capabilities* capabilities, | 124 gpu::Capabilities* capabilities, |
125 base::SharedMemoryHandle* shared_state) { | 125 base::SharedMemoryHandle* shared_state, |
| 126 uint64_t* command_buffer_id) { |
126 return PPB_Graphics3D_Impl::CreateRaw(instance, share_context, attrib_list, | 127 return PPB_Graphics3D_Impl::CreateRaw(instance, share_context, attrib_list, |
127 capabilities, shared_state); | 128 capabilities, shared_state, |
| 129 command_buffer_id); |
128 } | 130 } |
129 | 131 |
130 PP_Resource ResourceCreationImpl::CreateHostResolver(PP_Instance instance) { | 132 PP_Resource ResourceCreationImpl::CreateHostResolver(PP_Instance instance) { |
131 return 0; // Not supported in-process. | 133 return 0; // Not supported in-process. |
132 } | 134 } |
133 | 135 |
134 PP_Resource ResourceCreationImpl::CreateHostResolverPrivate( | 136 PP_Resource ResourceCreationImpl::CreateHostResolverPrivate( |
135 PP_Instance instance) { | 137 PP_Instance instance) { |
136 return 0; // Not supported in-process. | 138 return 0; // Not supported in-process. |
137 } | 139 } |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 wheel_ticks, | 362 wheel_ticks, |
361 scroll_by_page); | 363 scroll_by_page); |
362 } | 364 } |
363 | 365 |
364 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( | 366 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( |
365 PP_Instance instance) { | 367 PP_Instance instance) { |
366 return 0; // Not supported in-process. | 368 return 0; // Not supported in-process. |
367 } | 369 } |
368 | 370 |
369 } // namespace content | 371 } // namespace content |
OLD | NEW |