OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2014 Google Inc. | 3 * Copyright 2014 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 "GrGLAssembleInterface.h" | 10 #include "GrGLAssembleInterface.h" |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 return NULL; | 221 return NULL; |
222 } | 222 } |
223 | 223 |
224 if (extensions.has("GL_NV_path_rendering")) { | 224 if (extensions.has("GL_NV_path_rendering")) { |
225 GET_PROC_SUFFIX(PathCommands, NV); | 225 GET_PROC_SUFFIX(PathCommands, NV); |
226 GET_PROC_SUFFIX(PathCoords, NV); | 226 GET_PROC_SUFFIX(PathCoords, NV); |
227 GET_PROC_SUFFIX(PathParameteri, NV); | 227 GET_PROC_SUFFIX(PathParameteri, NV); |
228 GET_PROC_SUFFIX(PathParameterf, NV); | 228 GET_PROC_SUFFIX(PathParameterf, NV); |
229 GET_PROC_SUFFIX(GenPaths, NV); | 229 GET_PROC_SUFFIX(GenPaths, NV); |
230 GET_PROC_SUFFIX(DeletePaths, NV); | 230 GET_PROC_SUFFIX(DeletePaths, NV); |
| 231 GET_PROC_SUFFIX(IsPath, NV); |
231 GET_PROC_SUFFIX(PathStencilFunc, NV); | 232 GET_PROC_SUFFIX(PathStencilFunc, NV); |
232 GET_PROC_SUFFIX(StencilFillPath, NV); | 233 GET_PROC_SUFFIX(StencilFillPath, NV); |
233 GET_PROC_SUFFIX(StencilStrokePath, NV); | 234 GET_PROC_SUFFIX(StencilStrokePath, NV); |
234 GET_PROC_SUFFIX(StencilFillPathInstanced, NV); | 235 GET_PROC_SUFFIX(StencilFillPathInstanced, NV); |
235 GET_PROC_SUFFIX(StencilStrokePathInstanced, NV); | 236 GET_PROC_SUFFIX(StencilStrokePathInstanced, NV); |
236 GET_PROC_SUFFIX(PathTexGen, NV); | 237 GET_PROC_SUFFIX(PathTexGen, NV); |
237 GET_PROC_SUFFIX(CoverFillPath, NV); | 238 GET_PROC_SUFFIX(CoverFillPath, NV); |
238 GET_PROC_SUFFIX(CoverStrokePath, NV); | 239 GET_PROC_SUFFIX(CoverStrokePath, NV); |
239 GET_PROC_SUFFIX(CoverFillPathInstanced, NV); | 240 GET_PROC_SUFFIX(CoverFillPathInstanced, NV); |
240 GET_PROC_SUFFIX(CoverStrokePathInstanced, NV); | 241 GET_PROC_SUFFIX(CoverStrokePathInstanced, NV); |
(...skipping 17 matching lines...) Expand all Loading... |
258 | 259 |
259 if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_ARB_program_interface_quer
y")) { | 260 if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_ARB_program_interface_quer
y")) { |
260 GET_PROC(GetProgramResourceLocation); | 261 GET_PROC(GetProgramResourceLocation); |
261 } | 262 } |
262 | 263 |
263 interface->fStandard = kGL_GrGLStandard; | 264 interface->fStandard = kGL_GrGLStandard; |
264 interface->fExtensions.swap(&extensions); | 265 interface->fExtensions.swap(&extensions); |
265 | 266 |
266 return interface; | 267 return interface; |
267 } | 268 } |
OLD | NEW |