| 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 GET_PROC(FramebufferRenderbuffer); | 145 GET_PROC(FramebufferRenderbuffer); |
| 146 GET_PROC(FramebufferTexture2D); | 146 GET_PROC(FramebufferTexture2D); |
| 147 GET_PROC(GenFramebuffers); | 147 GET_PROC(GenFramebuffers); |
| 148 GET_PROC(GenRenderbuffers); | 148 GET_PROC(GenRenderbuffers); |
| 149 GET_PROC(GetFramebufferAttachmentParameteriv); | 149 GET_PROC(GetFramebufferAttachmentParameteriv); |
| 150 GET_PROC(GetRenderbufferParameteriv); | 150 GET_PROC(GetRenderbufferParameteriv); |
| 151 GET_PROC(RenderbufferStorage); | 151 GET_PROC(RenderbufferStorage); |
| 152 | 152 |
| 153 functions->fMapBuffer = (GrGLMapBufferProc) eglGetProcAddress("glMapBufferOE
S"); | 153 functions->fMapBuffer = (GrGLMapBufferProc) eglGetProcAddress("glMapBufferOE
S"); |
| 154 functions->fUnmapBuffer = (GrGLUnmapBufferProc) eglGetProcAddress("glUnmapBu
fferOES"); | 154 functions->fUnmapBuffer = (GrGLUnmapBufferProc) eglGetProcAddress("glUnmapBu
fferOES"); |
| 155 |
| 156 interface->fExtensions.init(kGLES_GrGLStandard, |
| 157 interface->fFunctions.fGetString, |
| 158 interface->fFunctions.fGetStringi, |
| 159 interface->fFunctions.fGetIntegerv); |
| 155 return interface; | 160 return interface; |
| 156 } | 161 } |
| OLD | NEW |