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