OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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" | |
10 #include "ppapi/shared_impl/ppapi_shared_export.h" | 9 #include "ppapi/shared_impl/ppapi_shared_export.h" |
11 | 10 |
12 namespace ppapi { | 11 namespace ppapi { |
13 | 12 |
14 class PPAPI_SHARED_EXPORT PPB_OpenGLES2_Shared { | 13 class PPAPI_SHARED_EXPORT PPB_OpenGLES2_Shared { |
15 public: | 14 public: |
16 static const PPB_OpenGLES2* GetInterface(); | 15 static const PPB_OpenGLES2* GetInterface(); |
17 static const PPB_OpenGLES2InstancedArrays_Dev* GetInstancedArraysInterface(); | |
18 static const PPB_OpenGLES2FramebufferBlit_Dev* GetFramebufferBlitInterface(); | |
19 static const PPB_OpenGLES2FramebufferMultisample_Dev* | |
20 GetFramebufferMultisampleInterface(); | |
21 static const PPB_OpenGLES2ChromiumEnableFeature_Dev* | |
22 GetChromiumEnableFeatureInterface(); | |
23 static const PPB_OpenGLES2ChromiumMapSub_Dev* GetChromiumMapSubInterface(); | |
24 }; | 16 }; |
25 | 17 |
26 } // namespace ppapi | 18 } // namespace ppapi |
27 | 19 |
28 #endif // PPAPI_SHARED_IMPL_PPB_OPENGLES2_SHARED_H_ | 20 #endif // PPAPI_SHARED_IMPL_PPB_OPENGLES2_SHARED_H_ |
29 | 21 |
OLD | NEW |