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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 interface->fRenderbufferStorageMultisample = glRenderbufferStorageMultisampl
eAPPLE; | 135 interface->fRenderbufferStorageMultisample = glRenderbufferStorageMultisampl
eAPPLE; |
136 interface->fResolveMultisampleFramebuffer = glResolveMultisampleFramebufferA
PPLE; | 136 interface->fResolveMultisampleFramebuffer = glResolveMultisampleFramebufferA
PPLE; |
137 #endif | 137 #endif |
138 | 138 |
139 #if GL_OES_vertex_array_object | 139 #if GL_OES_vertex_array_object |
140 interface->fBindVertexArray = glBindVertexArrayOES; | 140 interface->fBindVertexArray = glBindVertexArrayOES; |
141 interface->fDeleteVertexArrays = glDeleteVertexArraysOES; | 141 interface->fDeleteVertexArrays = glDeleteVertexArraysOES; |
142 interface->fGenVertexArrays = glGenVertexArraysOES; | 142 interface->fGenVertexArrays = glGenVertexArraysOES; |
143 #endif | 143 #endif |
144 | 144 |
145 interface->fBindingsExported = kES_GrGLBinding; | 145 interface->fStandard = kGLES_GrGLStandard; |
146 | 146 |
147 return interface; | 147 return interface; |
148 } | 148 } |
OLD | NEW |