| 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 // OpenGL ES 2.0 extensions for PPAPI. | 5 // OpenGL ES 2.0 extensions for PPAPI. |
| 6 | 6 |
| 7 #ifndef PPAPI_LIB_GL_GLES2_GL2EXT_PPAPI_H_ | 7 #ifndef PPAPI_LIB_GL_GLES2_GL2EXT_PPAPI_H_ |
| 8 #define PPAPI_LIB_GL_GLES2_GL2EXT_PPAPI_H_ | 8 #define PPAPI_LIB_GL_GLES2_GL2EXT_PPAPI_H_ |
| 9 | 9 |
| 10 #include <GLES2/gl2platform.h> | 10 #include <GLES2/gl2platform.h> |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 // Sets context to be used for rendering in the current thread. | 31 // Sets context to be used for rendering in the current thread. |
| 32 GL_APICALL void GL_APIENTRY glSetCurrentContextPPAPI(PP_Resource context); | 32 GL_APICALL void GL_APIENTRY glSetCurrentContextPPAPI(PP_Resource context); |
| 33 | 33 |
| 34 // Gets context being used for rendering in the current thread. | 34 // Gets context being used for rendering in the current thread. |
| 35 // Returns NULL if a context has not been set yet. | 35 // Returns NULL if a context has not been set yet. |
| 36 GL_APICALL PP_Resource GL_APIENTRY glGetCurrentContextPPAPI(); | 36 GL_APICALL PP_Resource GL_APIENTRY glGetCurrentContextPPAPI(); |
| 37 | 37 |
| 38 // Returns OpenGL ES 2.0 interface. | 38 // Returns OpenGL ES 2.0 interface. |
| 39 GL_APICALL const struct PPB_OpenGLES2* GL_APIENTRY glGetInterfacePPAPI(); | 39 GL_APICALL const struct PPB_OpenGLES2* GL_APIENTRY glGetInterfacePPAPI(); |
| 40 GL_APICALL const struct PPB_OpenGLES2InstancedArrays_Dev* GL_APIENTRY | 40 GL_APICALL const struct PPB_OpenGLES2InstancedArrays* GL_APIENTRY |
| 41 glGetInstancedArraysInterfacePPAPI(); | 41 glGetInstancedArraysInterfacePPAPI(); |
| 42 GL_APICALL const struct PPB_OpenGLES2FramebufferBlit_Dev* GL_APIENTRY | 42 GL_APICALL const struct PPB_OpenGLES2FramebufferBlit* GL_APIENTRY |
| 43 glGetFramebufferBlitInterfacePPAPI(); | 43 glGetFramebufferBlitInterfacePPAPI(); |
| 44 GL_APICALL const struct PPB_OpenGLES2FramebufferMultisample_Dev* GL_APIENTRY | 44 GL_APICALL const struct PPB_OpenGLES2FramebufferMultisample* GL_APIENTRY |
| 45 glGetFramebufferMultisampleInterfacePPAPI(); | 45 glGetFramebufferMultisampleInterfacePPAPI(); |
| 46 GL_APICALL const struct PPB_OpenGLES2ChromiumEnableFeature_Dev* GL_APIENTRY | 46 GL_APICALL const struct PPB_OpenGLES2ChromiumEnableFeature* GL_APIENTRY |
| 47 glGetChromiumEnableFeatureInterfacePPAPI(); | 47 glGetChromiumEnableFeatureInterfacePPAPI(); |
| 48 GL_APICALL const struct PPB_OpenGLES2ChromiumMapSub_Dev* GL_APIENTRY | 48 GL_APICALL const struct PPB_OpenGLES2ChromiumMapSub* GL_APIENTRY |
| 49 glGetChromiumMapSubInterfacePPAPI(); | 49 glGetChromiumMapSubInterfacePPAPI(); |
| 50 GL_APICALL const struct PPB_OpenGLES2Query_Dev* GL_APIENTRY | 50 GL_APICALL const struct PPB_OpenGLES2Query* GL_APIENTRY |
| 51 glGetQueryInterfacePPAPI(); | 51 glGetQueryInterfacePPAPI(); |
| 52 | 52 |
| 53 #ifdef __cplusplus | 53 #ifdef __cplusplus |
| 54 } | 54 } |
| 55 #endif // __cplusplus | 55 #endif // __cplusplus |
| 56 | 56 |
| 57 #endif // PPAPI_LIB_GL_GLES2_GL2EXT_PPAPI_H_ | 57 #endif // PPAPI_LIB_GL_GLES2_GL2EXT_PPAPI_H_ |
| 58 | 58 |
| OLD | NEW |