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

Side by Side Diff: include/gpu/gl/GrGLFunctions.h

Issue 594663002: Adding support for GL_CHROMIUM_copy_texture, part 1 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | include/gpu/gl/GrGLInterface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #ifndef GrGLFunctions_DEFINED 9 #ifndef GrGLFunctions_DEFINED
10 #define GrGLFunctions_DEFINED 10 #define GrGLFunctions_DEFINED
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 typedef GrGLenum (GR_GL_FUNCTION_TYPE* GrGLCheckFramebufferStatusProc)(GrGLe num target); 82 typedef GrGLenum (GR_GL_FUNCTION_TYPE* GrGLCheckFramebufferStatusProc)(GrGLe num target);
83 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLClearProc)(GrGLbitfield mask); 83 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLClearProc)(GrGLbitfield mask);
84 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLClearColorProc)(GrGLclampf red, G rGLclampf green, GrGLclampf blue, GrGLclampf alpha); 84 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLClearColorProc)(GrGLclampf red, G rGLclampf green, GrGLclampf blue, GrGLclampf alpha);
85 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLClearStencilProc)(GrGLint s); 85 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLClearStencilProc)(GrGLint s);
86 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLClientActiveTextureProc)(GrGLenum texture); 86 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLClientActiveTextureProc)(GrGLenum texture);
87 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLColorMaskProc)(GrGLboolean red, G rGLboolean green, GrGLboolean blue, GrGLboolean alpha); 87 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLColorMaskProc)(GrGLboolean red, G rGLboolean green, GrGLboolean blue, GrGLboolean alpha);
88 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLCompileShaderProc)(GrGLuint shade r); 88 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLCompileShaderProc)(GrGLuint shade r);
89 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLCompressedTexImage2DProc)(GrGLenu m target, GrGLint level, GrGLenum internalformat, GrGLsizei width, GrGLsizei hei ght, GrGLint border, GrGLsizei imageSize, const GrGLvoid* data); 89 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLCompressedTexImage2DProc)(GrGLenu m target, GrGLint level, GrGLenum internalformat, GrGLsizei width, GrGLsizei hei ght, GrGLint border, GrGLsizei imageSize, const GrGLvoid* data);
90 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLCompressedTexSubImage2DProc)(GrGL enum target, GrGLint level, GrGLint xoffset, GrGLint yoffset, GrGLsizei width, G rGLsizei height, GrGLenum format, GrGLsizei imageSize, const GrGLvoid* data); 90 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLCompressedTexSubImage2DProc)(GrGL enum target, GrGLint level, GrGLint xoffset, GrGLint yoffset, GrGLsizei width, G rGLsizei height, GrGLenum format, GrGLsizei imageSize, const GrGLvoid* data);
91 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLCopyTexSubImage2DProc)(GrGLenum t arget, GrGLint level, GrGLint xoffset, GrGLint yoffset, GrGLint x, GrGLint y, Gr GLsizei width, GrGLsizei height); 91 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLCopyTexSubImage2DProc)(GrGLenum t arget, GrGLint level, GrGLint xoffset, GrGLint yoffset, GrGLint x, GrGLint y, Gr GLsizei width, GrGLsizei height);
92 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLCopyTextureCHROMIUMProc)(GrGLenum target, GrGLenum src, GrGLenum dst, GrGLint level, GrGLint format, GrGLenum typ e);
92 typedef GrGLuint (GR_GL_FUNCTION_TYPE* GrGLCreateProgramProc)(void); 93 typedef GrGLuint (GR_GL_FUNCTION_TYPE* GrGLCreateProgramProc)(void);
93 typedef GrGLuint (GR_GL_FUNCTION_TYPE* GrGLCreateShaderProc)(GrGLenum type); 94 typedef GrGLuint (GR_GL_FUNCTION_TYPE* GrGLCreateShaderProc)(GrGLenum type);
94 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLCullFaceProc)(GrGLenum mode); 95 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLCullFaceProc)(GrGLenum mode);
95 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLDeleteBuffersProc)(GrGLsizei n, c onst GrGLuint* buffers); 96 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLDeleteBuffersProc)(GrGLsizei n, c onst GrGLuint* buffers);
96 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLDeleteFramebuffersProc)(GrGLsizei n, const GrGLuint *framebuffers); 97 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLDeleteFramebuffersProc)(GrGLsizei n, const GrGLuint *framebuffers);
97 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLDeleteProgramProc)(GrGLuint progr am); 98 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLDeleteProgramProc)(GrGLuint progr am);
98 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLDeleteQueriesProc)(GrGLsizei n, c onst GrGLuint *ids); 99 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLDeleteQueriesProc)(GrGLsizei n, c onst GrGLuint *ids);
99 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLDeleteRenderbuffersProc)(GrGLsize i n, const GrGLuint *renderbuffers); 100 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLDeleteRenderbuffersProc)(GrGLsize i n, const GrGLuint *renderbuffers);
100 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLDeleteShaderProc)(GrGLuint shader ); 101 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLDeleteShaderProc)(GrGLuint shader );
101 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLDeleteTexturesProc)(GrGLsizei n, const GrGLuint* textures); 102 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLDeleteTexturesProc)(GrGLsizei n, const GrGLuint* textures);
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLStencilThenCoverFillPathProc)(GrG Luint path, GrGLenum fillMode, GrGLuint mask, GrGLenum coverMode); 250 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLStencilThenCoverFillPathProc)(GrG Luint path, GrGLenum fillMode, GrGLuint mask, GrGLenum coverMode);
250 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLStencilThenCoverStrokePathProc)(G rGLuint path, GrGLint reference, GrGLuint mask, GrGLenum coverMode); 251 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLStencilThenCoverStrokePathProc)(G rGLuint path, GrGLint reference, GrGLuint mask, GrGLenum coverMode);
251 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLStencilThenCoverFillPathInstanced Proc)(GrGLsizei numPaths, GrGLenum pathNameType, const GrGLvoid *paths, GrGLuint pathBase, GrGLenum fillMode, GrGLuint mask, GrGLenum coverMode, GrGLenum transf ormType, const GrGLfloat *transformValues); 252 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLStencilThenCoverFillPathInstanced Proc)(GrGLsizei numPaths, GrGLenum pathNameType, const GrGLvoid *paths, GrGLuint pathBase, GrGLenum fillMode, GrGLuint mask, GrGLenum coverMode, GrGLenum transf ormType, const GrGLfloat *transformValues);
252 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLStencilThenCoverStrokePathInstanc edProc)(GrGLsizei numPaths, GrGLenum pathNameType, const GrGLvoid *paths, GrGLui nt pathBase, GrGLint reference, GrGLuint mask, GrGLenum coverMode, GrGLenum tran sformType, const GrGLfloat *transformValues); 253 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLStencilThenCoverStrokePathInstanc edProc)(GrGLsizei numPaths, GrGLenum pathNameType, const GrGLvoid *paths, GrGLui nt pathBase, GrGLint reference, GrGLuint mask, GrGLenum coverMode, GrGLenum tran sformType, const GrGLfloat *transformValues);
253 // NV_path_rendering v1.3 254 // NV_path_rendering v1.3
254 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLProgramPathFragmentInputGenProc)( GrGLuint program, GrGLint location, GrGLenum genMode, GrGLint components,const G rGLfloat *coeffs); 255 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLProgramPathFragmentInputGenProc)( GrGLuint program, GrGLint location, GrGLenum genMode, GrGLint components,const G rGLfloat *coeffs);
255 typedef GrGLenum (GR_GL_FUNCTION_TYPE* GrGLPathMemoryGlyphIndexArrayProc)(Gr GLuint firstPathName, GrGLenum fontTarget, GrGLsizeiptr fontSize, const GrGLvoid *fontData, GrGLsizei faceIndex, GrGLuint firstGlyphIndex, GrGLsizei numGlyphs, GrGLuint pathParameterTemplate, GrGLfloat emScale); 256 typedef GrGLenum (GR_GL_FUNCTION_TYPE* GrGLPathMemoryGlyphIndexArrayProc)(Gr GLuint firstPathName, GrGLenum fontTarget, GrGLsizeiptr fontSize, const GrGLvoid *fontData, GrGLsizei faceIndex, GrGLuint firstGlyphIndex, GrGLsizei numGlyphs, GrGLuint pathParameterTemplate, GrGLfloat emScale);
256 } // extern "C" 257 } // extern "C"
257 258
258 #endif 259 #endif
OLDNEW
« no previous file with comments | « no previous file | include/gpu/gl/GrGLInterface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698