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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb.cc

Issue 9420017: Add Pepper support for several GL extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build_gles2_cmd_buffer Created 8 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb.cc b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb.cc
index b33400ce98b941a58e9ec9a9f02feaab60583349..9ed6c3eb2a04aa46ba1de27ef73456c06c0b142f 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb.cc
@@ -86,7 +86,22 @@ InterfaceMapElement interface_map[] = {
PluginNetAddressPrivate::GetInterface0_1(), true },
{ PPB_NETADDRESS_PRIVATE_INTERFACE_1_0,
PluginNetAddressPrivate::GetInterface1_0(), true },
- { PPB_OPENGLES2_INTERFACE, PluginGraphics3D::GetOpenGLESInterface(),
+ { PPB_OPENGLES2_INTERFACE_1_0, PluginGraphics3D::GetOpenGLESInterface(),
+ true },
+ { PPB_OPENGLES2_INSTANCEDARRAYS_DEV_INTERFACE_1_0,
+ PluginGraphics3D::GetOpenGLESInstancedArraysInterface(),
+ true },
+ { PPB_OPENGLES2_FRAMEBUFFERBLIT_DEV_INTERFACE_1_0,
+ PluginGraphics3D::GetOpenGLESFramebufferBlitInterface(),
+ true },
+ { PPB_OPENGLES2_FRAMEBUFFERMULTISAMPLE_DEV_INTERFACE_1_0,
+ PluginGraphics3D::GetOpenGLESFramebufferMultisampleInterface(),
+ true },
+ { PPB_OPENGLES2_CHROMIUMENABLEFEATURE_DEV_INTERFACE_1_0,
+ PluginGraphics3D::GetOpenGLESChromiumEnableFeatureInterface(),
+ true },
+ { PPB_OPENGLES2_CHROMIUMMAPSUB_DEV_INTERFACE_1_0,
+ PluginGraphics3D::GetOpenGLESChromiumMapSubInterface(),
true },
{ PPB_PDF_INTERFACE, PluginPDF::GetInterface(), true },
{ PPB_SCROLLBAR_DEV_INTERFACE, PluginScrollbar::GetInterface(), true },

Powered by Google App Engine
This is Rietveld 408576698