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

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

Issue 1345813002: Added a unique command buffer ID for command buffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad merge Created 5 years, 3 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
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 "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
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
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
OLDNEW
« no previous file with comments | « content/renderer/pepper/resource_creation_impl.h ('k') | gpu/command_buffer/client/client_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698