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

Unified Diff: webkit/plugins/ppapi/plugin_module.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
« ppapi/c/ppb_opengles2.h ('K') | « ppapi/shared_impl/ppb_opengles2_shared.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/plugin_module.cc
diff --git a/webkit/plugins/ppapi/plugin_module.cc b/webkit/plugins/ppapi/plugin_module.cc
index 5a7a4e9bf61c9f59cc7076c65fa751f4017a0d4b..a5fad182e8523ef8ba8af87b08518086e3388c39 100644
--- a/webkit/plugins/ppapi/plugin_module.cc
+++ b/webkit/plugins/ppapi/plugin_module.cc
@@ -339,6 +339,16 @@ const void* GetInterface(const char* name) {
return ::ppapi::thunk::GetPPB_Instance_Private_0_1_Thunk();
if (strcmp(name, PPB_OPENGLES2_INTERFACE) == 0)
return ::ppapi::PPB_OpenGLES2_Shared::GetInterface();
+ if (strcmp(name, PPB_OPENGLES2_INSTANCEDARRAYS_INTERFACE) == 0)
+ return ::ppapi::PPB_OpenGLES2_Shared::GetInstancedArraysInterface();
+ if (strcmp(name, PPB_OPENGLES2_FRAMEBUFFERBLIT_INTERFACE) == 0)
+ return ::ppapi::PPB_OpenGLES2_Shared::GetFramebufferBlitInterface();
+ if (strcmp(name, PPB_OPENGLES2_FRAMEBUFFERMULTISAMPLE_INTERFACE) == 0)
+ return ::ppapi::PPB_OpenGLES2_Shared::GetFramebufferMultisampleInterface();
+ if (strcmp(name, PPB_OPENGLES2_CHROMIUMENABLEFEATURE_INTERFACE) == 0)
+ return ::ppapi::PPB_OpenGLES2_Shared::GetChromiumEnableFeatureInterface();
+ if (strcmp(name, PPB_OPENGLES2_CHROMIUMMAPSUB_INTERFACE) == 0)
+ return ::ppapi::PPB_OpenGLES2_Shared::GetChromiumMapSubInterface();
if (strcmp(name, PPB_PROXY_PRIVATE_INTERFACE) == 0)
return PPB_Proxy_Impl::GetInterface();
if (strcmp(name, PPB_UMA_PRIVATE_INTERFACE) == 0)
« ppapi/c/ppb_opengles2.h ('K') | « ppapi/shared_impl/ppb_opengles2_shared.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698