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

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

Issue 2639973002: Add target argument to Copy{Sub}TextureCHROMIUM entry point (Closed)
Patch Set: use dest_target instead of target Created 3 years, 11 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
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 1888 matching lines...) Expand 10 before | Expand all | Expand 10 after
1899 #ifndef GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM 1899 #ifndef GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM
1900 #define GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM 0x9241 1900 #define GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM 0x9241
1901 #endif 1901 #endif
1902 #ifndef GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 1902 #ifndef GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM
1903 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243 1903 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243
1904 #endif 1904 #endif
1905 #ifdef GL_GLEXT_PROTOTYPES 1905 #ifdef GL_GLEXT_PROTOTYPES
1906 #define glCopyTextureCHROMIUM GLES2_GET_FUN(CopyTextureCHROMIUM) 1906 #define glCopyTextureCHROMIUM GLES2_GET_FUN(CopyTextureCHROMIUM)
1907 #define glCopySubTextureCHROMIUM GLES2_GET_FUN(CopySubTextureCHROMIUM) 1907 #define glCopySubTextureCHROMIUM GLES2_GET_FUN(CopySubTextureCHROMIUM)
1908 #if !defined(GLES2_USE_CPP_BINDINGS) 1908 #if !defined(GLES2_USE_CPP_BINDINGS)
1909 GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM( 1909 GL_APICALL void GL_APIENTRY
1910 GLenum source_id, 1910 glCopyTextureCHROMIUM(GLenum source_id,
1911 GLenum dest_id, 1911 GLint source_level,
1912 GLint internalformat, 1912 GLenum dest_target,
1913 GLenum dest_type, 1913 GLenum dest_id,
1914 GLboolean unpack_flip_y, 1914 GLint dest_level,
1915 GLboolean unpack_premultiply_alpha, 1915 GLint internalformat,
1916 GLboolean unpack_unmultiply_alpha); 1916 GLenum dest_type,
1917 GL_APICALL void GL_APIENTRY glCopySubTextureCHROMIUM( 1917 GLboolean unpack_flip_y,
1918 GLenum source_id, 1918 GLboolean unpack_premultiply_alpha,
1919 GLenum dest_id, 1919 GLboolean unpack_unmultiply_alpha);
1920 GLint xoffset, 1920 GL_APICALL void GL_APIENTRY
1921 GLint yoffset, 1921 glCopySubTextureCHROMIUM(GLenum source_id,
1922 GLint x, 1922 GLint source_level,
1923 GLint y, 1923 GLenum dest_target,
1924 GLsizei width, 1924 GLenum dest_id,
1925 GLsizei height, 1925 GLint dest_level,
1926 GLboolean unpack_flip_y, 1926 GLint xoffset,
1927 GLboolean unpack_premultiply_alpha, 1927 GLint yoffset,
1928 GLboolean unpack_unmultiply_alpha); 1928 GLint x,
1929 GLint y,
1930 GLsizei width,
1931 GLsizei height,
1932 GLboolean unpack_flip_y,
1933 GLboolean unpack_premultiply_alpha,
1934 GLboolean unpack_unmultiply_alpha);
1929 #endif 1935 #endif
1930 #else 1936 #else
1931 typedef void(GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUM)( 1937 typedef void(GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUM)(
1932 GLenum source_id, 1938 GLenum source_id,
1939 GLint source_level,
1940 GLenum dest_target,
1933 GLenum dest_id, 1941 GLenum dest_id,
1942 GLint dest_level,
1934 GLint internalformat, 1943 GLint internalformat,
1935 GLenum dest_type, 1944 GLenum dest_type,
1936 GLboolean unpack_flip_y, 1945 GLboolean unpack_flip_y,
1937 GLboolean unpack_premultiply_alpha, 1946 GLboolean unpack_premultiply_alpha,
1938 GLboolean unpack_unmultiply_alpha); 1947 GLboolean unpack_unmultiply_alpha);
1939 typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUM)( 1948 typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUM)(
1940 GLenum source_id, 1949 GLenum source_id,
1950 GLint source_level,
1951 GLenum dest_target,
1941 GLenum dest_id, 1952 GLenum dest_id,
1953 GLint dest_level,
1942 GLint xoffset, 1954 GLint xoffset,
1943 GLint yoffset, 1955 GLint yoffset,
1944 GLint x, 1956 GLint x,
1945 GLint y, 1957 GLint y,
1946 GLsizei width, 1958 GLsizei width,
1947 GLsizei height, 1959 GLsizei height,
1948 GLboolean unpack_flip_y, 1960 GLboolean unpack_flip_y,
1949 GLboolean unpack_premultiply_alpha, 1961 GLboolean unpack_premultiply_alpha,
1950 GLboolean unpack_unmultiply_alpha); 1962 GLboolean unpack_unmultiply_alpha);
1951 #endif 1963 #endif
1952 #endif 1964 #endif
1953 1965
1954 /* GL_CHROMIUM_command_buffer_query */ 1966 /* GL_CHROMIUM_command_buffer_query */
1955 /* Exposes GL_CHROMIUM_command_buffer_query. 1967 /* Exposes GL_CHROMIUM_command_buffer_query.
1956 */ 1968 */
1957 #ifndef GL_CHROMIUM_command_buffer_query 1969 #ifndef GL_CHROMIUM_command_buffer_query
1958 #define GL_CHROMIUM_command_buffer_query 1 1970 #define GL_CHROMIUM_command_buffer_query 1
1959 // TODO(gman): Get official numbers for these constants. 1971 // TODO(gman): Get official numbers for these constants.
1960 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2 1972 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2
1961 #endif 1973 #endif
1962 1974
1963 #ifdef __cplusplus 1975 #ifdef __cplusplus
1964 } 1976 }
1965 #endif 1977 #endif
1966 1978
1967 #endif /* __gl2ext_h_ */ 1979 #endif /* __gl2ext_h_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698