Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ppapi / shared_impl / ppb_opengles2_shared.h
blob52bf1be39e6d04f3175f09a5ca9c8552a79604e6
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.
5 #ifndef PPAPI_SHARED_IMPL_PPB_OPENGLES2_SHARED_H_
6 #define PPAPI_SHARED_IMPL_PPB_OPENGLES2_SHARED_H_
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"
12 namespace ppapi {
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_OpenGLES2VertexArrayObject* GetVertexArrayObjectInterface();
26 static const PPB_OpenGLES2DrawBuffers_Dev* GetDrawBuffersInterface();
29 } // namespace ppapi
31 #endif // PPAPI_SHARED_IMPL_PPB_OPENGLES2_SHARED_H_