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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/resource_creation_impl.cc
diff --git a/content/renderer/pepper/resource_creation_impl.cc b/content/renderer/pepper/resource_creation_impl.cc
index 38819bbd9175a530c0450025e2d10a4a38cd9485..fb867026f8f17b9c8cb65f7e5b58b1d88c8c1cba 100644
--- a/content/renderer/pepper/resource_creation_impl.cc
+++ b/content/renderer/pepper/resource_creation_impl.cc
@@ -121,11 +121,11 @@ PP_Resource ResourceCreationImpl::CreateGraphics3D(PP_Instance instance,
PP_Resource ResourceCreationImpl::CreateGraphics3DRaw(
PP_Instance instance,
PP_Resource share_context,
- const int32_t* attrib_list,
+ const gpu::gles2::ContextCreationAttribHelper& attrib_helper,
gpu::Capabilities* capabilities,
base::SharedMemoryHandle* shared_state,
gpu::CommandBufferId* command_buffer_id) {
- return PPB_Graphics3D_Impl::CreateRaw(instance, share_context, attrib_list,
+ return PPB_Graphics3D_Impl::CreateRaw(instance, share_context, attrib_helper,
capabilities, shared_state,
command_buffer_id);
}
« 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