| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 | 140 |
| 141 #if GL_OES_vertex_array_object | 141 #if GL_OES_vertex_array_object |
| 142 functions->fBindVertexArray = glBindVertexArrayOES; | 142 functions->fBindVertexArray = glBindVertexArrayOES; |
| 143 functions->fDeleteVertexArrays = glDeleteVertexArraysOES; | 143 functions->fDeleteVertexArrays = glDeleteVertexArraysOES; |
| 144 functions->fGenVertexArrays = glGenVertexArraysOES; | 144 functions->fGenVertexArrays = glGenVertexArraysOES; |
| 145 #endif | 145 #endif |
| 146 | 146 |
| 147 #if GL_EXT_debug_marker | 147 #if GL_EXT_debug_marker |
| 148 functions->fInsertEventMarker = glInsertEventMarkerEXT; | 148 functions->fInsertEventMarker = glInsertEventMarkerEXT; |
| 149 functions->fPushGroupMarker = glPushGroupMarkerEXT; | 149 functions->fPushGroupMarker = glPushGroupMarkerEXT; |
| 150 functions->fPopGroupMarker = glPopGropuMarkerEXT; | 150 functions->fPopGroupMarker = glPopGroupMarkerEXT; |
| 151 #endif | 151 #endif |
| 152 | 152 |
| 153 interface->fStandard = kGLES_GrGLStandard; | 153 interface->fStandard = kGLES_GrGLStandard; |
| 154 interface->fExtensions.init(kGLES_GrGLStandard, glGetString, NULL, glGetInte
gerv); | 154 interface->fExtensions.init(kGLES_GrGLStandard, glGetString, NULL, glGetInte
gerv); |
| 155 | 155 |
| 156 return interface; | 156 return interface; |
| 157 } | 157 } |
| OLD | NEW |