OLD | NEW |
1 #ifndef __gl2ext_h_ | 1 #ifndef __gl2ext_h_ |
2 #define __gl2ext_h_ | 2 #define __gl2ext_h_ |
3 | 3 |
4 /* $Revision: 16619 $ on $Date:: 2012-01-18 10:00:14 -0800 #$ */ | 4 /* $Revision: 16619 $ on $Date:: 2012-01-18 10:00:14 -0800 #$ */ |
5 | 5 |
6 #ifdef __cplusplus | 6 #ifdef __cplusplus |
7 extern "C" { | 7 extern "C" { |
8 #endif | 8 #endif |
9 | 9 |
10 /* | 10 /* |
(...skipping 1766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1777 #if !defined(GLES2_USE_CPP_BINDINGS) | 1777 #if !defined(GLES2_USE_CPP_BINDINGS) |
1778 GL_APICALL const GLchar* GL_APIENTRY glGetRequestableExtensionsCHROMIUM (void); | 1778 GL_APICALL const GLchar* GL_APIENTRY glGetRequestableExtensionsCHROMIUM (void); |
1779 GL_APICALL void GL_APIENTRY glRequestExtensionCHROMIUM (const GLchar *extension)
; | 1779 GL_APICALL void GL_APIENTRY glRequestExtensionCHROMIUM (const GLchar *extension)
; |
1780 #endif | 1780 #endif |
1781 #else | 1781 #else |
1782 typedef const GLchar* (GL_APIENTRYP PFNGLGETREQUESTABLEEXTENSIONSCHROMIUM) (void
); | 1782 typedef const GLchar* (GL_APIENTRYP PFNGLGETREQUESTABLEEXTENSIONSCHROMIUM) (void
); |
1783 typedef void (GL_APIENTRYP PFNGLREQUESTEXTENSIONCHROMIUM) (const GLchar *extensi
on); | 1783 typedef void (GL_APIENTRYP PFNGLREQUESTEXTENSIONCHROMIUM) (const GLchar *extensi
on); |
1784 #endif | 1784 #endif |
1785 #endif | 1785 #endif |
1786 | 1786 |
1787 /* GL_CHROMIUM_rate_limit_offscreen_context */ | |
1788 /* | |
1789 * This extension will block if the calling context has gotten more than two | |
1790 * glRateLimit calls ahead of the GPU process. This keeps the client in sync | |
1791 * with the GPU without having to call swapbuffers, which has potentially | |
1792 * undesirable side effects. | |
1793 */ | |
1794 #ifndef GL_CHROMIUM_rate_limit_offscreen_context | |
1795 #define GL_CHROMIUM_rate_limit_offscreen_context 1 | |
1796 #ifdef GL_GLEXT_PROTOTYPES | |
1797 #define glRateLimitOffscreenContextCHROMIUM GLES2_GET_FUN(RateLimitOffscreenCon
textCHROMIUM) | |
1798 #if !defined(GLES2_USE_CPP_BINDINGS) | |
1799 GL_APICALL void GL_APIENTRY glRateLimitOffscreenContextCHROMIUM (void); | |
1800 #endif | |
1801 #else | |
1802 typedef void (GL_APIENTRYP PFNGLRATELIMITOFFSCREENCONTEXTCHROMIUM) (); | |
1803 #endif | |
1804 #endif | |
1805 | |
1806 /* GL_CHROMIUM_get_multiple */ | 1787 /* GL_CHROMIUM_get_multiple */ |
1807 /* | 1788 /* |
1808 * This extension provides functions for quering multiple GL state with a single | 1789 * This extension provides functions for quering multiple GL state with a single |
1809 * call. | 1790 * call. |
1810 */ | 1791 */ |
1811 #ifndef GL_CHROMIUM_get_multiple | 1792 #ifndef GL_CHROMIUM_get_multiple |
1812 #define GL_CHROMIUM_get_multiple 1 | 1793 #define GL_CHROMIUM_get_multiple 1 |
1813 #ifdef GL_GLEXT_PROTOTYPES | 1794 #ifdef GL_GLEXT_PROTOTYPES |
1814 #define glGetProgramInfoCHROMIUM GLES2_GET_FUN(GetProgramInfovCHROMIUM) | 1795 #define glGetProgramInfoCHROMIUM GLES2_GET_FUN(GetProgramInfovCHROMIUM) |
1815 #if !defined(GLES2_USE_CPP_BINDINGS) | 1796 #if !defined(GLES2_USE_CPP_BINDINGS) |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2000 #define GL_CHROMIUM_command_buffer_query 1 | 1981 #define GL_CHROMIUM_command_buffer_query 1 |
2001 // TODO(gman): Get official numbers for these constants. | 1982 // TODO(gman): Get official numbers for these constants. |
2002 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2 | 1983 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2 |
2003 #endif | 1984 #endif |
2004 | 1985 |
2005 #ifdef __cplusplus | 1986 #ifdef __cplusplus |
2006 } | 1987 } |
2007 #endif | 1988 #endif |
2008 | 1989 |
2009 #endif /* __gl2ext_h_ */ | 1990 #endif /* __gl2ext_h_ */ |
OLD | NEW |