| OLD | NEW |
| 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 | 9 |
| 10 #include "gl/GrGLInterface.h" | 10 #include "gl/GrGLInterface.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 GET_PROC(BlendColor); | 48 GET_PROC(BlendColor); |
| 49 GET_PROC(BlendFunc); | 49 GET_PROC(BlendFunc); |
| 50 GET_PROC(BufferData); | 50 GET_PROC(BufferData); |
| 51 GET_PROC(BufferSubData); | 51 GET_PROC(BufferSubData); |
| 52 GET_PROC(Clear); | 52 GET_PROC(Clear); |
| 53 GET_PROC(ClearColor); | 53 GET_PROC(ClearColor); |
| 54 GET_PROC(ClearStencil); | 54 GET_PROC(ClearStencil); |
| 55 GET_PROC(ColorMask); | 55 GET_PROC(ColorMask); |
| 56 GET_PROC(CompileShader); | 56 GET_PROC(CompileShader); |
| 57 GET_PROC(CompressedTexImage2D); | 57 GET_PROC(CompressedTexImage2D); |
| 58 GET_PROC(CompressedTexSubImage2D); |
| 58 GET_PROC(CopyTexSubImage2D); | 59 GET_PROC(CopyTexSubImage2D); |
| 59 GET_PROC(CreateProgram); | 60 GET_PROC(CreateProgram); |
| 60 GET_PROC(CreateShader); | 61 GET_PROC(CreateShader); |
| 61 GET_PROC(CullFace); | 62 GET_PROC(CullFace); |
| 62 GET_PROC(DeleteBuffers); | 63 GET_PROC(DeleteBuffers); |
| 63 GET_PROC(DeleteProgram); | 64 GET_PROC(DeleteProgram); |
| 64 GET_PROC(DeleteShader); | 65 GET_PROC(DeleteShader); |
| 65 GET_PROC(DeleteTextures); | 66 GET_PROC(DeleteTextures); |
| 66 functions->fDeleteVertexArrays = | 67 functions->fDeleteVertexArrays = |
| 67 (GrGLDeleteVertexArraysProc) eglGetProcAddress("glDeleteVertexArraysOES"
); | 68 (GrGLDeleteVertexArraysProc) eglGetProcAddress("glDeleteVertexArraysOES"
); |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 functions->fInvalidateBufferSubData = (GrGLInvalidateBufferSubDataProc) eglG
etProcAddress("glInvalidateBufferSubData"); | 178 functions->fInvalidateBufferSubData = (GrGLInvalidateBufferSubDataProc) eglG
etProcAddress("glInvalidateBufferSubData"); |
| 178 functions->fInvalidateTexImage = (GrGLInvalidateTexImageProc) eglGetProcAddr
ess("glInvalidateTexImage"); | 179 functions->fInvalidateTexImage = (GrGLInvalidateTexImageProc) eglGetProcAddr
ess("glInvalidateTexImage"); |
| 179 functions->fInvalidateTexSubImage = (GrGLInvalidateTexSubImageProc) eglGetPr
ocAddress("glInvalidateTexSubImage"); | 180 functions->fInvalidateTexSubImage = (GrGLInvalidateTexSubImageProc) eglGetPr
ocAddress("glInvalidateTexSubImage"); |
| 180 | 181 |
| 181 interface->fExtensions.init(kGLES_GrGLStandard, | 182 interface->fExtensions.init(kGLES_GrGLStandard, |
| 182 functions->fGetString, | 183 functions->fGetString, |
| 183 functions->fGetStringi, | 184 functions->fGetStringi, |
| 184 functions->fGetIntegerv); | 185 functions->fGetIntegerv); |
| 185 return interface; | 186 return interface; |
| 186 } | 187 } |
| OLD | NEW |