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

Unified Diff: ppapi/proxy/ppb_graphics_3d_proxy.h

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 | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_graphics_3d_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_graphics_3d_proxy.h
diff --git a/ppapi/proxy/ppb_graphics_3d_proxy.h b/ppapi/proxy/ppb_graphics_3d_proxy.h
index 9536ee20ebb0965b77d50dd7d31894c6426718e2..2ae06e9f064bcdc7293dfb4640f970945a517f4d 100644
--- a/ppapi/proxy/ppb_graphics_3d_proxy.h
+++ b/ppapi/proxy/ppb_graphics_3d_proxy.h
@@ -22,6 +22,9 @@
#include "ppapi/utility/completion_callback_factory.h"
namespace gpu {
+namespace gles2 {
+struct ContextCreationAttribHelper;
+}
struct Capabilities;
}
@@ -88,7 +91,7 @@ class PPB_Graphics3D_Proxy : public InterfaceProxy {
private:
void OnMsgCreate(PP_Instance instance,
HostResource share_context,
- const std::vector<int32_t>& attribs,
+ const gpu::gles2::ContextCreationAttribHelper& attrib_helper,
HostResource* result,
gpu::Capabilities* capabilities,
SerializedHandle* handle,
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_graphics_3d_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698