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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 GLPtr<GrGLBufferSubDataProc> fBufferSubData; | 163 GLPtr<GrGLBufferSubDataProc> fBufferSubData; |
164 GLPtr<GrGLCheckFramebufferStatusProc> fCheckFramebufferStatus; | 164 GLPtr<GrGLCheckFramebufferStatusProc> fCheckFramebufferStatus; |
165 GLPtr<GrGLClearProc> fClear; | 165 GLPtr<GrGLClearProc> fClear; |
166 GLPtr<GrGLClearColorProc> fClearColor; | 166 GLPtr<GrGLClearColorProc> fClearColor; |
167 GLPtr<GrGLClearStencilProc> fClearStencil; | 167 GLPtr<GrGLClearStencilProc> fClearStencil; |
168 GLPtr<GrGLColorMaskProc> fColorMask; | 168 GLPtr<GrGLColorMaskProc> fColorMask; |
169 GLPtr<GrGLCompileShaderProc> fCompileShader; | 169 GLPtr<GrGLCompileShaderProc> fCompileShader; |
170 GLPtr<GrGLCompressedTexImage2DProc> fCompressedTexImage2D; | 170 GLPtr<GrGLCompressedTexImage2DProc> fCompressedTexImage2D; |
171 GLPtr<GrGLCompressedTexSubImage2DProc> fCompressedTexSubImage2D; | 171 GLPtr<GrGLCompressedTexSubImage2DProc> fCompressedTexSubImage2D; |
172 GLPtr<GrGLCopyTexSubImage2DProc> fCopyTexSubImage2D; | 172 GLPtr<GrGLCopyTexSubImage2DProc> fCopyTexSubImage2D; |
| 173 GLPtr<GrGLCopyTextureCHROMIUMProc> fCopyTextureCHROMIUM; |
173 GLPtr<GrGLCreateProgramProc> fCreateProgram; | 174 GLPtr<GrGLCreateProgramProc> fCreateProgram; |
174 GLPtr<GrGLCreateShaderProc> fCreateShader; | 175 GLPtr<GrGLCreateShaderProc> fCreateShader; |
175 GLPtr<GrGLCullFaceProc> fCullFace; | 176 GLPtr<GrGLCullFaceProc> fCullFace; |
176 GLPtr<GrGLDeleteBuffersProc> fDeleteBuffers; | 177 GLPtr<GrGLDeleteBuffersProc> fDeleteBuffers; |
177 GLPtr<GrGLDeleteFramebuffersProc> fDeleteFramebuffers; | 178 GLPtr<GrGLDeleteFramebuffersProc> fDeleteFramebuffers; |
178 GLPtr<GrGLDeleteProgramProc> fDeleteProgram; | 179 GLPtr<GrGLDeleteProgramProc> fDeleteProgram; |
179 GLPtr<GrGLDeleteQueriesProc> fDeleteQueries; | 180 GLPtr<GrGLDeleteQueriesProc> fDeleteQueries; |
180 GLPtr<GrGLDeleteRenderbuffersProc> fDeleteRenderbuffers; | 181 GLPtr<GrGLDeleteRenderbuffersProc> fDeleteRenderbuffers; |
181 GLPtr<GrGLDeleteShaderProc> fDeleteShader; | 182 GLPtr<GrGLDeleteShaderProc> fDeleteShader; |
182 GLPtr<GrGLDeleteTexturesProc> fDeleteTextures; | 183 GLPtr<GrGLDeleteTexturesProc> fDeleteTextures; |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 #if GR_GL_PER_GL_FUNC_CALLBACK | 350 #if GR_GL_PER_GL_FUNC_CALLBACK |
350 GrGLInterfaceCallbackProc fCallback; | 351 GrGLInterfaceCallbackProc fCallback; |
351 GrGLInterfaceCallbackData fCallbackData; | 352 GrGLInterfaceCallbackData fCallbackData; |
352 #endif | 353 #endif |
353 | 354 |
354 // This exists for internal testing. | 355 // This exists for internal testing. |
355 virtual void abandon() const {} | 356 virtual void abandon() const {} |
356 }; | 357 }; |
357 | 358 |
358 #endif | 359 #endif |
OLD | NEW |