Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Side by Side Diff: ppapi/lib/gl/gles2/gl2ext_ppapi.h

Issue 9420017: Add Pepper support for several GL extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: change name Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 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 // 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 18 matching lines...) Expand all
29 29
30 // Sets context to be used for rendering in the current thread. 30 // Sets context to be used for rendering in the current thread.
31 GL_APICALL void GL_APIENTRY glSetCurrentContextPPAPI(PP_Resource context); 31 GL_APICALL void GL_APIENTRY glSetCurrentContextPPAPI(PP_Resource context);
32 32
33 // Gets context being used for rendering in the current thread. 33 // Gets context being used for rendering in the current thread.
34 // Returns NULL if a context has not been set yet. 34 // Returns NULL if a context has not been set yet.
35 GL_APICALL PP_Resource GL_APIENTRY glGetCurrentContextPPAPI(); 35 GL_APICALL PP_Resource GL_APIENTRY glGetCurrentContextPPAPI();
36 36
37 // Returns OpenGL ES 2.0 interface. 37 // Returns OpenGL ES 2.0 interface.
38 GL_APICALL const struct PPB_OpenGLES2* GL_APIENTRY glGetInterfacePPAPI(); 38 GL_APICALL const struct PPB_OpenGLES2* GL_APIENTRY glGetInterfacePPAPI();
39 GL_APICALL const struct PPB_OpenGLES2InstancedArrays* GL_APIENTRY
40 glGetInstancedArraysInterfacePPAPI();
41 GL_APICALL const struct PPB_OpenGLES2FramebufferBlit* GL_APIENTRY
42 glGetFramebufferBlitInterfacePPAPI();
43 GL_APICALL const struct PPB_OpenGLES2FramebufferMultisample* GL_APIENTRY
44 glGetFramebufferMultisampleInterfacePPAPI();
45 GL_APICALL const struct PPB_OpenGLES2ChromiumEnableFeature* GL_APIENTRY
46 glGetChromiumEnableFeatureInterfacePPAPI();
47 GL_APICALL const struct PPB_OpenGLES2ChromiumMapSub* GL_APIENTRY
48 glGetChromiumMapSubInterfacePPAPI();
39 49
40 #ifdef __cplusplus 50 #ifdef __cplusplus
41 } 51 }
42 #endif // __cplusplus 52 #endif // __cplusplus
43 53
44 #endif // PPAPI_LIB_GL_GLES2_GL2EXT_PPAPI_H_ 54 #endif // PPAPI_LIB_GL_GLES2_GL2EXT_PPAPI_H_
45 55
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698