• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef PPAPI_SHARED_IMPL_PPB_OPENGLES2_SHARED_H_
6 #define PPAPI_SHARED_IMPL_PPB_OPENGLES2_SHARED_H_
7 
8 #include "ppapi/c/ppb_opengles2.h"
9 #include "ppapi/c/dev/ppb_opengles2ext_dev.h"
10 #include "ppapi/shared_impl/ppapi_shared_export.h"
11 
12 namespace ppapi {
13 
14 class PPAPI_SHARED_EXPORT PPB_OpenGLES2_Shared {
15  public:
16   static const PPB_OpenGLES2* GetInterface();
17   static const PPB_OpenGLES2InstancedArrays* GetInstancedArraysInterface();
18   static const PPB_OpenGLES2FramebufferBlit* GetFramebufferBlitInterface();
19   static const PPB_OpenGLES2FramebufferMultisample*
20       GetFramebufferMultisampleInterface();
21   static const PPB_OpenGLES2ChromiumEnableFeature*
22       GetChromiumEnableFeatureInterface();
23   static const PPB_OpenGLES2ChromiumMapSub* GetChromiumMapSubInterface();
24   static const PPB_OpenGLES2Query* GetQueryInterface();
25   static const PPB_OpenGLES2DrawBuffers_Dev* GetDrawBuffersInterface();
26 };
27 
28 }  // namespace ppapi
29 
30 #endif  // PPAPI_SHARED_IMPL_PPB_OPENGLES2_SHARED_H_
31