OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef GrGLInterface_DEFINED | 8 #ifndef GrGLInterface_DEFINED |
9 #define GrGLInterface_DEFINED | 9 #define GrGLInterface_DEFINED |
10 | 10 |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 GLPtr<GrGLVertexAttrib3fvProc> fVertexAttrib3fv; | 322 GLPtr<GrGLVertexAttrib3fvProc> fVertexAttrib3fv; |
323 GLPtr<GrGLVertexAttrib4fvProc> fVertexAttrib4fv; | 323 GLPtr<GrGLVertexAttrib4fvProc> fVertexAttrib4fv; |
324 GLPtr<GrGLVertexAttribPointerProc> fVertexAttribPointer; | 324 GLPtr<GrGLVertexAttribPointerProc> fVertexAttribPointer; |
325 GLPtr<GrGLViewportProc> fViewport; | 325 GLPtr<GrGLViewportProc> fViewport; |
326 | 326 |
327 /* GL_NV_path_rendering */ | 327 /* GL_NV_path_rendering */ |
328 GLPtr<GrGLMatrixLoadfProc> fMatrixLoadf; | 328 GLPtr<GrGLMatrixLoadfProc> fMatrixLoadf; |
329 GLPtr<GrGLMatrixLoadIdentityProc> fMatrixLoadIdentity; | 329 GLPtr<GrGLMatrixLoadIdentityProc> fMatrixLoadIdentity; |
330 GLPtr<GrGLGetProgramResourceLocationProc> fGetProgramResourceLocation; | 330 GLPtr<GrGLGetProgramResourceLocationProc> fGetProgramResourceLocation; |
331 GLPtr<GrGLPathCommandsProc> fPathCommands; | 331 GLPtr<GrGLPathCommandsProc> fPathCommands; |
| 332 GLPtr<GrGLPathCoordsProc> fPathCoords; |
332 GLPtr<GrGLPathParameteriProc> fPathParameteri; | 333 GLPtr<GrGLPathParameteriProc> fPathParameteri; |
333 GLPtr<GrGLPathParameterfProc> fPathParameterf; | 334 GLPtr<GrGLPathParameterfProc> fPathParameterf; |
334 GLPtr<GrGLGenPathsProc> fGenPaths; | 335 GLPtr<GrGLGenPathsProc> fGenPaths; |
335 GLPtr<GrGLDeletePathsProc> fDeletePaths; | 336 GLPtr<GrGLDeletePathsProc> fDeletePaths; |
336 GLPtr<GrGLIsPathProc> fIsPath; | 337 GLPtr<GrGLIsPathProc> fIsPath; |
337 GLPtr<GrGLPathStencilFuncProc> fPathStencilFunc; | 338 GLPtr<GrGLPathStencilFuncProc> fPathStencilFunc; |
338 GLPtr<GrGLStencilFillPathProc> fStencilFillPath; | 339 GLPtr<GrGLStencilFillPathProc> fStencilFillPath; |
339 GLPtr<GrGLStencilStrokePathProc> fStencilStrokePath; | 340 GLPtr<GrGLStencilStrokePathProc> fStencilStrokePath; |
340 GLPtr<GrGLStencilFillPathInstancedProc> fStencilFillPathInstanced; | 341 GLPtr<GrGLStencilFillPathInstancedProc> fStencilFillPathInstanced; |
341 GLPtr<GrGLStencilStrokePathInstancedProc> fStencilStrokePathInstanced; | 342 GLPtr<GrGLStencilStrokePathInstancedProc> fStencilStrokePathInstanced; |
| 343 GLPtr<GrGLPathTexGenProc> fPathTexGen; |
342 GLPtr<GrGLCoverFillPathProc> fCoverFillPath; | 344 GLPtr<GrGLCoverFillPathProc> fCoverFillPath; |
343 GLPtr<GrGLCoverStrokePathProc> fCoverStrokePath; | 345 GLPtr<GrGLCoverStrokePathProc> fCoverStrokePath; |
344 GLPtr<GrGLCoverFillPathInstancedProc> fCoverFillPathInstanced; | 346 GLPtr<GrGLCoverFillPathInstancedProc> fCoverFillPathInstanced; |
345 GLPtr<GrGLCoverStrokePathInstancedProc> fCoverStrokePathInstanced; | 347 GLPtr<GrGLCoverStrokePathInstancedProc> fCoverStrokePathInstanced; |
346 // NV_path_rendering v1.2 | 348 // NV_path_rendering v1.2 |
347 GLPtr<GrGLStencilThenCoverFillPathProc> fStencilThenCoverFillPath; | 349 GLPtr<GrGLStencilThenCoverFillPathProc> fStencilThenCoverFillPath; |
348 GLPtr<GrGLStencilThenCoverStrokePathProc> fStencilThenCoverStrokePath; | 350 GLPtr<GrGLStencilThenCoverStrokePathProc> fStencilThenCoverStrokePath; |
349 GLPtr<GrGLStencilThenCoverFillPathInstancedProc> fStencilThenCoverFillPa
thInstanced; | 351 GLPtr<GrGLStencilThenCoverFillPathInstancedProc> fStencilThenCoverFillPa
thInstanced; |
350 GLPtr<GrGLStencilThenCoverStrokePathInstancedProc> fStencilThenCoverStro
kePathInstanced; | 352 GLPtr<GrGLStencilThenCoverStrokePathInstancedProc> fStencilThenCoverStro
kePathInstanced; |
351 // NV_path_rendering v1.3 | 353 // NV_path_rendering v1.3 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 #if GR_GL_PER_GL_FUNC_CALLBACK | 498 #if GR_GL_PER_GL_FUNC_CALLBACK |
497 GrGLInterfaceCallbackProc fCallback; | 499 GrGLInterfaceCallbackProc fCallback; |
498 GrGLInterfaceCallbackData fCallbackData; | 500 GrGLInterfaceCallbackData fCallbackData; |
499 #endif | 501 #endif |
500 | 502 |
501 // This exists for internal testing. | 503 // This exists for internal testing. |
502 virtual void abandon() const {} | 504 virtual void abandon() const {} |
503 }; | 505 }; |
504 | 506 |
505 #endif | 507 #endif |
OLD | NEW |