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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 GrGLFunction<GrGLDisableProc> fDisable; | 148 GrGLFunction<GrGLDisableProc> fDisable; |
149 GrGLFunction<GrGLDisableVertexAttribArrayProc> fDisableVertexAttribArray
; | 149 GrGLFunction<GrGLDisableVertexAttribArrayProc> fDisableVertexAttribArray
; |
150 GrGLFunction<GrGLDrawArraysProc> fDrawArrays; | 150 GrGLFunction<GrGLDrawArraysProc> fDrawArrays; |
151 GrGLFunction<GrGLDrawArraysIndirectProc> fDrawArraysIndirect; | 151 GrGLFunction<GrGLDrawArraysIndirectProc> fDrawArraysIndirect; |
152 GrGLFunction<GrGLDrawArraysInstancedProc> fDrawArraysInstanced; | 152 GrGLFunction<GrGLDrawArraysInstancedProc> fDrawArraysInstanced; |
153 GrGLFunction<GrGLDrawBufferProc> fDrawBuffer; | 153 GrGLFunction<GrGLDrawBufferProc> fDrawBuffer; |
154 GrGLFunction<GrGLDrawBuffersProc> fDrawBuffers; | 154 GrGLFunction<GrGLDrawBuffersProc> fDrawBuffers; |
155 GrGLFunction<GrGLDrawElementsProc> fDrawElements; | 155 GrGLFunction<GrGLDrawElementsProc> fDrawElements; |
156 GrGLFunction<GrGLDrawElementsIndirectProc> fDrawElementsIndirect; | 156 GrGLFunction<GrGLDrawElementsIndirectProc> fDrawElementsIndirect; |
157 GrGLFunction<GrGLDrawElementsInstancedProc> fDrawElementsInstanced; | 157 GrGLFunction<GrGLDrawElementsInstancedProc> fDrawElementsInstanced; |
| 158 GrGLFunction<GrGLDrawRangeElementsProc> fDrawRangeElements; |
158 GrGLFunction<GrGLEnableProc> fEnable; | 159 GrGLFunction<GrGLEnableProc> fEnable; |
159 GrGLFunction<GrGLEnableVertexAttribArrayProc> fEnableVertexAttribArray; | 160 GrGLFunction<GrGLEnableVertexAttribArrayProc> fEnableVertexAttribArray; |
160 GrGLFunction<GrGLEndQueryProc> fEndQuery; | 161 GrGLFunction<GrGLEndQueryProc> fEndQuery; |
161 GrGLFunction<GrGLFinishProc> fFinish; | 162 GrGLFunction<GrGLFinishProc> fFinish; |
162 GrGLFunction<GrGLFlushProc> fFlush; | 163 GrGLFunction<GrGLFlushProc> fFlush; |
163 GrGLFunction<GrGLFlushMappedBufferRangeProc> fFlushMappedBufferRange; | 164 GrGLFunction<GrGLFlushMappedBufferRangeProc> fFlushMappedBufferRange; |
164 GrGLFunction<GrGLFramebufferRenderbufferProc> fFramebufferRenderbuffer; | 165 GrGLFunction<GrGLFramebufferRenderbufferProc> fFramebufferRenderbuffer; |
165 GrGLFunction<GrGLFramebufferTexture2DProc> fFramebufferTexture2D; | 166 GrGLFunction<GrGLFramebufferTexture2DProc> fFramebufferTexture2D; |
166 GrGLFunction<GrGLFramebufferTexture2DMultisampleProc> fFramebufferTextur
e2DMultisample; | 167 GrGLFunction<GrGLFramebufferTexture2DMultisampleProc> fFramebufferTextur
e2DMultisample; |
167 GrGLFunction<GrGLFrontFaceProc> fFrontFace; | 168 GrGLFunction<GrGLFrontFaceProc> fFrontFace; |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
466 /* EGL functions */ | 467 /* EGL functions */ |
467 GrGLFunction<GrEGLCreateImageProc> fEGLCreateImage; | 468 GrGLFunction<GrEGLCreateImageProc> fEGLCreateImage; |
468 GrGLFunction<GrEGLDestroyImageProc> fEGLDestroyImage; | 469 GrGLFunction<GrEGLDestroyImageProc> fEGLDestroyImage; |
469 } fFunctions; | 470 } fFunctions; |
470 | 471 |
471 // This exists for internal testing. | 472 // This exists for internal testing. |
472 virtual void abandon() const {} | 473 virtual void abandon() const {} |
473 }; | 474 }; |
474 | 475 |
475 #endif | 476 #endif |
OLD | NEW |