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

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

Issue 2104403003: pepper: parse context creation attrib list on the plugin side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gpu_pref_size_in_attrs
Patch Set: rebase Created 4 years, 5 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/command_buffer/command_buffer.gyp » ('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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 114
115 PP_Resource ResourceCreationImpl::CreateGraphics3D(PP_Instance instance, 115 PP_Resource ResourceCreationImpl::CreateGraphics3D(PP_Instance instance,
116 PP_Resource share_context, 116 PP_Resource share_context,
117 const int32_t* attrib_list) { 117 const int32_t* attrib_list) {
118 return 0; // Not supported in-process. 118 return 0; // Not supported in-process.
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 gpu::gles2::ContextCreationAttribHelper& attrib_helper,
125 gpu::Capabilities* capabilities, 125 gpu::Capabilities* capabilities,
126 base::SharedMemoryHandle* shared_state, 126 base::SharedMemoryHandle* shared_state,
127 gpu::CommandBufferId* 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_helper,
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(
138 PP_Instance instance) { 138 PP_Instance instance) {
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 wheel_ticks, 367 wheel_ticks,
368 scroll_by_page); 368 scroll_by_page);
369 } 369 }
370 370
371 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( 371 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate(
372 PP_Instance instance) { 372 PP_Instance instance) {
373 return 0; // Not supported in-process. 373 return 0; // Not supported in-process.
374 } 374 }
375 375
376 } // namespace content 376 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/resource_creation_impl.h ('k') | gpu/command_buffer/command_buffer.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698