| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 interface->fRenderbufferStorageMultisample = glRenderbufferStorageMultis
ampleAPPLE; | 138 interface->fRenderbufferStorageMultisample = glRenderbufferStorageMultis
ampleAPPLE; |
| 139 interface->fResolveMultisampleFramebuffer = glResolveMultisampleFramebuf
ferAPPLE; | 139 interface->fResolveMultisampleFramebuffer = glResolveMultisampleFramebuf
ferAPPLE; |
| 140 #endif | 140 #endif |
| 141 | 141 |
| 142 #if GL_OES_vertex_array_object | 142 #if GL_OES_vertex_array_object |
| 143 interface->fBindVertexArray = glBindVertexArrayOES; | 143 interface->fBindVertexArray = glBindVertexArrayOES; |
| 144 interface->fDeleteVertexArrays = glDeleteVertexArraysOES; | 144 interface->fDeleteVertexArrays = glDeleteVertexArraysOES; |
| 145 interface->fGenVertexArrays = glGenVertexArraysOES; | 145 interface->fGenVertexArrays = glGenVertexArraysOES; |
| 146 #endif | 146 #endif |
| 147 | 147 |
| 148 interface->fBindingsExported = kES2_GrGLBinding; | 148 interface->fBindingsExported = kES_GrGLBinding; |
| 149 } | 149 } |
| 150 glInterface.get()->ref(); | 150 glInterface.get()->ref(); |
| 151 return glInterface.get(); | 151 return glInterface.get(); |
| 152 } | 152 } |
| OLD | NEW |