Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Side by Side Diff: content/renderer/pepper/resource_creation_impl.cc

Issue 1548443002: Introducing gpu::CommandBufferId as a distinct, IdType<...>-based type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@type-safe-save-package-id-self-contained
Patch Set: Rebasing... Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/pepper/resource_creation_impl.h ('k') | gpu/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "build/build_config.h" 7 #include "build/build_config.h"
8 #include "content/common/content_switches_internal.h" 8 #include "content/common/content_switches_internal.h"
9 #include "content/renderer/pepper/ppb_audio_impl.h" 9 #include "content/renderer/pepper/ppb_audio_impl.h"
10 #include "content/renderer/pepper/ppb_broker_impl.h" 10 #include "content/renderer/pepper/ppb_broker_impl.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 const int32_t* attrib_list) { 117 const int32_t* attrib_list) {
118 return PPB_Graphics3D_Impl::Create(instance, share_context, attrib_list); 118 return PPB_Graphics3D_Impl::Create(instance, share_context, attrib_list);
119 } 119 }
120 120
121 PP_Resource ResourceCreationImpl::CreateGraphics3DRaw( 121 PP_Resource ResourceCreationImpl::CreateGraphics3DRaw(
122 PP_Instance instance, 122 PP_Instance instance,
123 PP_Resource share_context, 123 PP_Resource share_context,
124 const int32_t* attrib_list, 124 const int32_t* attrib_list,
125 gpu::Capabilities* capabilities, 125 gpu::Capabilities* capabilities,
126 base::SharedMemoryHandle* shared_state, 126 base::SharedMemoryHandle* shared_state,
127 uint64_t* command_buffer_id) { 127 gpu::CommandBufferId* command_buffer_id) {
128 return PPB_Graphics3D_Impl::CreateRaw(instance, share_context, attrib_list, 128 return PPB_Graphics3D_Impl::CreateRaw(instance, share_context, attrib_list,
129 capabilities, shared_state, 129 capabilities, shared_state,
130 command_buffer_id); 130 command_buffer_id);
131 } 131 }
132 132
133 PP_Resource ResourceCreationImpl::CreateHostResolver(PP_Instance instance) { 133 PP_Resource ResourceCreationImpl::CreateHostResolver(PP_Instance instance) {
134 return 0; // Not supported in-process. 134 return 0; // Not supported in-process.
135 } 135 }
136 136
137 PP_Resource ResourceCreationImpl::CreateHostResolverPrivate( 137 PP_Resource ResourceCreationImpl::CreateHostResolverPrivate(
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 wheel_ticks, 363 wheel_ticks,
364 scroll_by_page); 364 scroll_by_page);
365 } 365 }
366 366
367 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( 367 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate(
368 PP_Instance instance) { 368 PP_Instance instance) {
369 return 0; // Not supported in-process. 369 return 0; // Not supported in-process.
370 } 370 }
371 371
372 } // namespace content 372 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/resource_creation_impl.h ('k') | gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698