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

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: change name 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..8dd3f706330190b3d689b3a8e4d2a029d9d3b059 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_INTERFACE_1_0,
+ PluginGraphics3D::GetOpenGLESInstancedArraysInterface(),
+ true },
+ { PPB_OPENGLES2_FRAMEBUFFERBLIT_INTERFACE_1_0,
+ PluginGraphics3D::GetOpenGLESFramebufferBlitInterface(),
+ true },
+ { PPB_OPENGLES2_FRAMEBUFFERMULTISAMPLE_INTERFACE_1_0,
+ PluginGraphics3D::GetOpenGLESFramebufferMultisampleInterface(),
+ true },
+ { PPB_OPENGLES2_CHROMIUMENABLEFEATURE_INTERFACE_1_0,
+ PluginGraphics3D::GetOpenGLESChromiumEnableFeatureInterface(),
+ true },
+ { PPB_OPENGLES2_CHROMIUMMAPSUB_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