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

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

Issue 1551143002: Remove the "target" argument from CopyTextureChromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile error. Created 4 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 1908 matching lines...) Expand 10 before | Expand all | Expand 10 after
1919 #define GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM 0x9241 1919 #define GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM 0x9241
1920 #endif 1920 #endif
1921 #ifndef GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 1921 #ifndef GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM
1922 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243 1922 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243
1923 #endif 1923 #endif
1924 #ifdef GL_GLEXT_PROTOTYPES 1924 #ifdef GL_GLEXT_PROTOTYPES
1925 #define glCopyTextureCHROMIUM GLES2_GET_FUN(CopyTextureCHROMIUM) 1925 #define glCopyTextureCHROMIUM GLES2_GET_FUN(CopyTextureCHROMIUM)
1926 #define glCopySubTextureCHROMIUM GLES2_GET_FUN(CopySubTextureCHROMIUM) 1926 #define glCopySubTextureCHROMIUM GLES2_GET_FUN(CopySubTextureCHROMIUM)
1927 #if !defined(GLES2_USE_CPP_BINDINGS) 1927 #if !defined(GLES2_USE_CPP_BINDINGS)
1928 GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM( 1928 GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM(
1929 GLenum target,
1930 GLenum source_id, 1929 GLenum source_id,
1931 GLenum dest_id, 1930 GLenum dest_id,
1932 GLint internalformat, 1931 GLint internalformat,
1933 GLenum dest_type, 1932 GLenum dest_type,
1934 GLboolean unpack_flip_y, 1933 GLboolean unpack_flip_y,
1935 GLboolean unpack_premultiply_alpha, 1934 GLboolean unpack_premultiply_alpha,
1936 GLboolean unpack_unmultiply_alpha); 1935 GLboolean unpack_unmultiply_alpha);
1937 GL_APICALL void GL_APIENTRY glCopySubTextureCHROMIUM( 1936 GL_APICALL void GL_APIENTRY glCopySubTextureCHROMIUM(
1938 GLenum target,
1939 GLenum source_id, 1937 GLenum source_id,
1940 GLenum dest_id, 1938 GLenum dest_id,
1941 GLint xoffset, 1939 GLint xoffset,
1942 GLint yoffset, 1940 GLint yoffset,
1943 GLint x, 1941 GLint x,
1944 GLint y, 1942 GLint y,
1945 GLsizei width, 1943 GLsizei width,
1946 GLsizei height, 1944 GLsizei height,
1947 GLboolean unpack_flip_y, 1945 GLboolean unpack_flip_y,
1948 GLboolean unpack_premultiply_alpha, 1946 GLboolean unpack_premultiply_alpha,
1949 GLboolean unpack_unmultiply_alpha); 1947 GLboolean unpack_unmultiply_alpha);
1950 #endif 1948 #endif
1951 #else 1949 #else
1952 typedef void(GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUM)( 1950 typedef void(GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUM)(
1953 GLenum target,
1954 GLenum source_id, 1951 GLenum source_id,
1955 GLenum dest_id, 1952 GLenum dest_id,
1956 GLint internalformat, 1953 GLint internalformat,
1957 GLenum dest_type, 1954 GLenum dest_type,
1958 GLboolean unpack_flip_y, 1955 GLboolean unpack_flip_y,
1959 GLboolean unpack_premultiply_alpha, 1956 GLboolean unpack_premultiply_alpha,
1960 GLboolean unpack_unmultiply_alpha); 1957 GLboolean unpack_unmultiply_alpha);
1961 typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUM)( 1958 typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUM)(
1962 GLenum target,
1963 GLenum source_id, 1959 GLenum source_id,
1964 GLenum dest_id, 1960 GLenum dest_id,
1965 GLint xoffset, 1961 GLint xoffset,
1966 GLint yoffset, 1962 GLint yoffset,
1967 GLint x, 1963 GLint x,
1968 GLint y, 1964 GLint y,
1969 GLsizei width, 1965 GLsizei width,
1970 GLsizei height, 1966 GLsizei height,
1971 GLboolean unpack_flip_y, 1967 GLboolean unpack_flip_y,
1972 GLboolean unpack_premultiply_alpha, 1968 GLboolean unpack_premultiply_alpha,
1973 GLboolean unpack_unmultiply_alpha); 1969 GLboolean unpack_unmultiply_alpha);
1974 #endif 1970 #endif
1975 #endif 1971 #endif
1976 1972
1977 /* GL_CHROMIUM_command_buffer_query */ 1973 /* GL_CHROMIUM_command_buffer_query */
1978 /* Exposes GL_CHROMIUM_command_buffer_query. 1974 /* Exposes GL_CHROMIUM_command_buffer_query.
1979 */ 1975 */
1980 #ifndef GL_CHROMIUM_command_buffer_query 1976 #ifndef GL_CHROMIUM_command_buffer_query
1981 #define GL_CHROMIUM_command_buffer_query 1 1977 #define GL_CHROMIUM_command_buffer_query 1
1982 // TODO(gman): Get official numbers for these constants. 1978 // TODO(gman): Get official numbers for these constants.
1983 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2 1979 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2
1984 #endif 1980 #endif
1985 1981
1986 #ifdef __cplusplus 1982 #ifdef __cplusplus
1987 } 1983 }
1988 #endif 1984 #endif
1989 1985
1990 #endif /* __gl2ext_h_ */ 1986 #endif /* __gl2ext_h_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698