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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 GLPtr<GrGLUniform4iProc> fUniform4i; | 304 GLPtr<GrGLUniform4iProc> fUniform4i; |
305 GLPtr<GrGLUniform4fvProc> fUniform4fv; | 305 GLPtr<GrGLUniform4fvProc> fUniform4fv; |
306 GLPtr<GrGLUniform4ivProc> fUniform4iv; | 306 GLPtr<GrGLUniform4ivProc> fUniform4iv; |
307 GLPtr<GrGLUniformMatrix2fvProc> fUniformMatrix2fv; | 307 GLPtr<GrGLUniformMatrix2fvProc> fUniformMatrix2fv; |
308 GLPtr<GrGLUniformMatrix3fvProc> fUniformMatrix3fv; | 308 GLPtr<GrGLUniformMatrix3fvProc> fUniformMatrix3fv; |
309 GLPtr<GrGLUniformMatrix4fvProc> fUniformMatrix4fv; | 309 GLPtr<GrGLUniformMatrix4fvProc> fUniformMatrix4fv; |
310 GLPtr<GrGLUnmapBufferProc> fUnmapBuffer; | 310 GLPtr<GrGLUnmapBufferProc> fUnmapBuffer; |
311 GLPtr<GrGLUnmapBufferSubDataProc> fUnmapBufferSubData; | 311 GLPtr<GrGLUnmapBufferSubDataProc> fUnmapBufferSubData; |
312 GLPtr<GrGLUnmapTexSubImage2DProc> fUnmapTexSubImage2D; | 312 GLPtr<GrGLUnmapTexSubImage2DProc> fUnmapTexSubImage2D; |
313 GLPtr<GrGLUseProgramProc> fUseProgram; | 313 GLPtr<GrGLUseProgramProc> fUseProgram; |
| 314 GLPtr<GrGLVertexAttrib1fProc> fVertexAttrib1f; |
| 315 GLPtr<GrGLVertexAttrib2fvProc> fVertexAttrib2fv; |
| 316 GLPtr<GrGLVertexAttrib3fvProc> fVertexAttrib3fv; |
314 GLPtr<GrGLVertexAttrib4fvProc> fVertexAttrib4fv; | 317 GLPtr<GrGLVertexAttrib4fvProc> fVertexAttrib4fv; |
315 GLPtr<GrGLVertexAttribPointerProc> fVertexAttribPointer; | 318 GLPtr<GrGLVertexAttribPointerProc> fVertexAttribPointer; |
316 GLPtr<GrGLViewportProc> fViewport; | 319 GLPtr<GrGLViewportProc> fViewport; |
317 | 320 |
318 // Experimental: Functions for GL_NV_path_rendering. These will be | 321 // Experimental: Functions for GL_NV_path_rendering. These will be |
319 // alphabetized with the above functions once this is fully supported | 322 // alphabetized with the above functions once this is fully supported |
320 // (and functions we are unlikely to use will possibly be omitted). | 323 // (and functions we are unlikely to use will possibly be omitted). |
321 GLPtr<GrGLGetProgramResourceLocationProc> fGetProgramResourceLocation; | 324 GLPtr<GrGLGetProgramResourceLocationProc> fGetProgramResourceLocation; |
322 GLPtr<GrGLPathCommandsProc> fPathCommands; | 325 GLPtr<GrGLPathCommandsProc> fPathCommands; |
323 GLPtr<GrGLPathCoordsProc> fPathCoords; | 326 GLPtr<GrGLPathCoordsProc> fPathCoords; |
(...skipping 26 matching lines...) Expand all Loading... |
350 #if GR_GL_PER_GL_FUNC_CALLBACK | 353 #if GR_GL_PER_GL_FUNC_CALLBACK |
351 GrGLInterfaceCallbackProc fCallback; | 354 GrGLInterfaceCallbackProc fCallback; |
352 GrGLInterfaceCallbackData fCallbackData; | 355 GrGLInterfaceCallbackData fCallbackData; |
353 #endif | 356 #endif |
354 | 357 |
355 // This exists for internal testing. | 358 // This exists for internal testing. |
356 virtual void abandon() const {} | 359 virtual void abandon() const {} |
357 }; | 360 }; |
358 | 361 |
359 #endif | 362 #endif |
OLD | NEW |