Blink roll 172110:172126
[chromium-blink-merge.git] / ppapi / shared_impl / ppb_opengles2_shared.h
blob63a272dd925a7b53e2861e5289ba3bb1198692d5
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_OpenGLES2DrawBuffers_Dev* GetDrawBuffersInterface();
28 } // namespace ppapi
30 #endif // PPAPI_SHARED_IMPL_PPB_OPENGLES2_SHARED_H_