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

Side by Side Diff: ppapi/lib/gl/include/GLES2/gl2ext.h

Issue 2021413003: Remove GL_CHROMIUM_iosurface extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 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
« no previous file with comments | « mojo/gpu/mojo_gles2_impl_autogen.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1876 matching lines...) Expand 10 before | Expand all | Expand 10 after
1887 #define GL_TEXTURE_RECTANGLE_ARB 0x84F5 1887 #define GL_TEXTURE_RECTANGLE_ARB 0x84F5
1888 #endif 1888 #endif
1889 #ifndef GL_TEXTURE_BINDING_RECTANGLE_ARB 1889 #ifndef GL_TEXTURE_BINDING_RECTANGLE_ARB
1890 #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6 1890 #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
1891 #endif 1891 #endif
1892 #ifndef GL_SAMPLER_2D_RECT_ARB 1892 #ifndef GL_SAMPLER_2D_RECT_ARB
1893 #define GL_SAMPLER_2D_RECT_ARB 0x8B63 1893 #define GL_SAMPLER_2D_RECT_ARB 0x8B63
1894 #endif 1894 #endif
1895 #endif 1895 #endif
1896 1896
1897 /* GL_CHROMIUM_iosurface */
1898 /* Exposes the Mac OS-specfic CGLTexImageIOSurface2D entry point as a
1899 * Chromium extension in the cross-platform API. Binds the IOSurface with
1900 * the given ID (an IOSurfaceID) to the texture bound to the given target.
1901 * To avoid needing to expose extraneous enums, assumes internal format
1902 * RGBA, format BGRA, and type UNSIGNED_INT_8_8_8_8_REV.
1903 */
1904 #ifndef GL_CHROMIUM_iosurface
1905 #define GL_CHROMIUM_iosurface 1
1906 #ifdef GL_GLEXT_PROTOTYPES
1907 #define glTexImageIOSurface2DCHROMIUM GLES2_GET_FUN(TexImageIOSurface2DCHROMIUM)
1908 #if !defined(GLES2_USE_CPP_BINDINGS)
1909 GL_APICALL void GL_APIENTRY glTexImageIOSurface2DCHROMIUM (GLenum target, GLsize i width, GLsizei height, GLuint ioSurfaceId, GLuint plane);
1910 #endif
1911 #else
1912 typedef void (GL_APIENTRYP PFNGLTEXIMAGEIOSURFACE2DCHROMIUM) (GLenum target, GLs izei width, GLsizei height, GLuint ioSurfaceId, GLuint plane);
1913 #endif
1914 #endif
1915
1916 /* GL_CHROMIUM_copy_texture */ 1897 /* GL_CHROMIUM_copy_texture */
1917 #ifndef GL_CHROMIUM_copy_texture 1898 #ifndef GL_CHROMIUM_copy_texture
1918 #ifndef GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM 1899 #ifndef GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM
1919 #define GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM 0x9241 1900 #define GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM 0x9241
1920 #endif 1901 #endif
1921 #ifndef GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 1902 #ifndef GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM
1922 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243 1903 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243
1923 #endif 1904 #endif
1924 #ifdef GL_GLEXT_PROTOTYPES 1905 #ifdef GL_GLEXT_PROTOTYPES
1925 #define glCopyTextureCHROMIUM GLES2_GET_FUN(CopyTextureCHROMIUM) 1906 #define glCopyTextureCHROMIUM GLES2_GET_FUN(CopyTextureCHROMIUM)
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
1977 #define GL_CHROMIUM_command_buffer_query 1 1958 #define GL_CHROMIUM_command_buffer_query 1
1978 // TODO(gman): Get official numbers for these constants. 1959 // TODO(gman): Get official numbers for these constants.
1979 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2 1960 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2
1980 #endif 1961 #endif
1981 1962
1982 #ifdef __cplusplus 1963 #ifdef __cplusplus
1983 } 1964 }
1984 #endif 1965 #endif
1985 1966
1986 #endif /* __gl2ext_h_ */ 1967 #endif /* __gl2ext_h_ */
OLDNEW
« no previous file with comments | « mojo/gpu/mojo_gles2_impl_autogen.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698