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

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

Issue 245963009: Use EXT_direct_state_access for path matrix manipulation (Closed) Base URL: https://skia.googlesource.com/skia.git@nv-pr-00-no-ff-primitives
Patch Set: Created 6 years, 8 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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUnmapBufferSubDataProc)(const GrG Lvoid* mem); 204 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUnmapBufferSubDataProc)(const GrG Lvoid* mem);
205 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUnmapTexSubImage2DProc)(const GrG Lvoid* mem); 205 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUnmapTexSubImage2DProc)(const GrG Lvoid* mem);
206 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUseProgramProc)(GrGLuint program) ; 206 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUseProgramProc)(GrGLuint program) ;
207 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLVertexAttrib4fvProc)(GrGLuint ind x, const GrGLfloat* values); 207 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLVertexAttrib4fvProc)(GrGLuint ind x, const GrGLfloat* values);
208 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLVertexAttribPointerProc)(GrGLuint indx, GrGLint size, GrGLenum type, GrGLboolean normalized, GrGLsizei stride, co nst GrGLvoid* ptr); 208 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLVertexAttribPointerProc)(GrGLuint indx, GrGLint size, GrGLenum type, GrGLboolean normalized, GrGLsizei stride, co nst GrGLvoid* ptr);
209 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLViewportProc)(GrGLint x, GrGLint y, GrGLsizei width, GrGLsizei height); 209 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLViewportProc)(GrGLint x, GrGLint y, GrGLsizei width, GrGLsizei height);
210 210
211 // Experimental: Functions for GL_NV_path_rendering. These will be 211 // Experimental: Functions for GL_NV_path_rendering. These will be
212 // alphabetized with the above functions once this is fully supported 212 // alphabetized with the above functions once this is fully supported
213 // (and functions we are unlikely to use will possibly be omitted). 213 // (and functions we are unlikely to use will possibly be omitted).
214 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLMatrixModeProc)(GrGLenum); 214 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLMatrixLoadfProc)(GrGLenum matrixM ode, const GrGLfloat* m);
215 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLLoadIdentityProc)(); 215 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLMatrixLoadIdentityProc)(GrGLenum) ;
216 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLLoadMatrixfProc)(const GrGLfloat* m);
217 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLPathCommandsProc)(GrGLuint path, GrGLsizei numCommands, const GrGLubyte *commands, GrGLsizei numCoords, GrGLenum coordType, const GrGLvoid *coords); 216 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLPathCommandsProc)(GrGLuint path, GrGLsizei numCommands, const GrGLubyte *commands, GrGLsizei numCoords, GrGLenum coordType, const GrGLvoid *coords);
218 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLPathCoordsProc)(GrGLuint path, Gr GLsizei numCoords, GrGLenum coordType, const GrGLvoid *coords); 217 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLPathCoordsProc)(GrGLuint path, Gr GLsizei numCoords, GrGLenum coordType, const GrGLvoid *coords);
219 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLPathSubCommandsProc)(GrGLuint pat h, GrGLsizei commandStart, GrGLsizei commandsToDelete, GrGLsizei numCommands, co nst GrGLubyte *commands, GrGLsizei numCoords, GrGLenum coordType, const GrGLvoid *coords); 218 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLPathSubCommandsProc)(GrGLuint pat h, GrGLsizei commandStart, GrGLsizei commandsToDelete, GrGLsizei numCommands, co nst GrGLubyte *commands, GrGLsizei numCoords, GrGLenum coordType, const GrGLvoid *coords);
220 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLPathSubCoordsProc)(GrGLuint path, GrGLsizei coordStart, GrGLsizei numCoords, GrGLenum coordType, const GrGLvoid * coords); 219 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLPathSubCoordsProc)(GrGLuint path, GrGLsizei coordStart, GrGLsizei numCoords, GrGLenum coordType, const GrGLvoid * coords);
221 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLPathStringProc)(GrGLuint path, Gr GLenum format, GrGLsizei length, const GrGLvoid *pathString); 220 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLPathStringProc)(GrGLuint path, Gr GLenum format, GrGLsizei length, const GrGLvoid *pathString);
222 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLPathGlyphsProc)(GrGLuint firstPat hName, GrGLenum fontTarget, const GrGLvoid *fontName, GrGLbitfield fontStyle, Gr GLsizei numGlyphs, GrGLenum type, const GrGLvoid *charcodes, GrGLenum handleMiss ingGlyphs, GrGLuint pathParameterTemplate, GrGLfloat emScale); 221 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLPathGlyphsProc)(GrGLuint firstPat hName, GrGLenum fontTarget, const GrGLvoid *fontName, GrGLbitfield fontStyle, Gr GLsizei numGlyphs, GrGLenum type, const GrGLvoid *charcodes, GrGLenum handleMiss ingGlyphs, GrGLuint pathParameterTemplate, GrGLfloat emScale);
223 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLPathGlyphRangeProc)(GrGLuint firs tPathName, GrGLenum fontTarget, const GrGLvoid *fontName, GrGLbitfield fontStyle , GrGLuint firstGlyph, GrGLsizei numGlyphs, GrGLenum handleMissingGlyphs, GrGLui nt pathParameterTemplate, GrGLfloat emScale); 222 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLPathGlyphRangeProc)(GrGLuint firs tPathName, GrGLenum fontTarget, const GrGLvoid *fontName, GrGLbitfield fontStyle , GrGLuint firstGlyph, GrGLsizei numGlyphs, GrGLenum handleMissingGlyphs, GrGLui nt pathParameterTemplate, GrGLfloat emScale);
224 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLWeightPathsProc)(GrGLuint resultP ath, GrGLsizei numPaths, const GrGLuint paths[], const GrGLfloat weights[]); 223 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLWeightPathsProc)(GrGLuint resultP ath, GrGLsizei numPaths, const GrGLuint paths[], const GrGLfloat weights[]);
225 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLCopyPathProc)(GrGLuint resultPath , GrGLuint srcPath); 224 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLCopyPathProc)(GrGLuint resultPath , GrGLuint srcPath);
226 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLInterpolatePathsProc)(GrGLuint re sultPath, GrGLuint pathA, GrGLuint pathB, GrGLfloat weight); 225 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLInterpolatePathsProc)(GrGLuint re sultPath, GrGLuint pathA, GrGLuint pathB, GrGLfloat weight);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetPathTexGenivProc)(GrGLenum tex CoordSet, GrGLenum pname, GrGLint *value); 259 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetPathTexGenivProc)(GrGLenum tex CoordSet, GrGLenum pname, GrGLint *value);
261 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetPathTexGenfvProc)(GrGLenum tex CoordSet, GrGLenum pname, GrGLfloat *value); 260 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetPathTexGenfvProc)(GrGLenum tex CoordSet, GrGLenum pname, GrGLfloat *value);
262 typedef GrGLboolean (GR_GL_FUNCTION_TYPE* GrGLIsPointInFillPathProc)(GrGLuin t path, GrGLuint mask, GrGLfloat x, GrGLfloat y); 261 typedef GrGLboolean (GR_GL_FUNCTION_TYPE* GrGLIsPointInFillPathProc)(GrGLuin t path, GrGLuint mask, GrGLfloat x, GrGLfloat y);
263 typedef GrGLboolean (GR_GL_FUNCTION_TYPE* GrGLIsPointInStrokePathProc)(GrGLu int path, GrGLfloat x, GrGLfloat y); 262 typedef GrGLboolean (GR_GL_FUNCTION_TYPE* GrGLIsPointInStrokePathProc)(GrGLu int path, GrGLfloat x, GrGLfloat y);
264 typedef GrGLfloat (GR_GL_FUNCTION_TYPE* GrGLGetPathLengthProc)(GrGLuint path , GrGLsizei startSegment, GrGLsizei numSegments); 263 typedef GrGLfloat (GR_GL_FUNCTION_TYPE* GrGLGetPathLengthProc)(GrGLuint path , GrGLsizei startSegment, GrGLsizei numSegments);
265 typedef GrGLboolean (GR_GL_FUNCTION_TYPE* GrGLPointAlongPathProc)(GrGLuint p ath, GrGLsizei startSegment, GrGLsizei numSegments, GrGLfloat distance, GrGLfloa t *x, GrGLfloat *y, GrGLfloat *tangentX, GrGLfloat *tangentY); 264 typedef GrGLboolean (GR_GL_FUNCTION_TYPE* GrGLPointAlongPathProc)(GrGLuint p ath, GrGLsizei startSegment, GrGLsizei numSegments, GrGLfloat distance, GrGLfloa t *x, GrGLfloat *y, GrGLfloat *tangentX, GrGLfloat *tangentY);
266 265
267 } // extern "C" 266 } // extern "C"
268 267
269 #endif 268 #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