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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 GR_GL_GET_PROC_SUFFIX(GetPathColorGeniv, NV); | 268 GR_GL_GET_PROC_SUFFIX(GetPathColorGeniv, NV); |
269 GR_GL_GET_PROC_SUFFIX(GetPathColorGenfv, NV); | 269 GR_GL_GET_PROC_SUFFIX(GetPathColorGenfv, NV); |
270 GR_GL_GET_PROC_SUFFIX(GetPathTexGeniv, NV); | 270 GR_GL_GET_PROC_SUFFIX(GetPathTexGeniv, NV); |
271 GR_GL_GET_PROC_SUFFIX(GetPathTexGenfv, NV); | 271 GR_GL_GET_PROC_SUFFIX(GetPathTexGenfv, NV); |
272 GR_GL_GET_PROC_SUFFIX(IsPointInFillPath, NV); | 272 GR_GL_GET_PROC_SUFFIX(IsPointInFillPath, NV); |
273 GR_GL_GET_PROC_SUFFIX(IsPointInStrokePath, NV); | 273 GR_GL_GET_PROC_SUFFIX(IsPointInStrokePath, NV); |
274 GR_GL_GET_PROC_SUFFIX(GetPathLength, NV); | 274 GR_GL_GET_PROC_SUFFIX(GetPathLength, NV); |
275 GR_GL_GET_PROC_SUFFIX(PointAlongPath, NV); | 275 GR_GL_GET_PROC_SUFFIX(PointAlongPath, NV); |
276 } | 276 } |
277 | 277 |
| 278 if (extensions.has("GL_EXT_debug_marker")) { |
| 279 GR_GL_GET_PROC_SUFFIX(InsertEventMarker, EXT); |
| 280 GR_GL_GET_PROC_SUFFIX(PushGroupMarker, EXT); |
| 281 GR_GL_GET_PROC_SUFFIX(PopGroupMarker, EXT); |
| 282 } |
| 283 |
278 interface->fStandard = kGL_GrGLStandard; | 284 interface->fStandard = kGL_GrGLStandard; |
279 interface->fExtensions.swap(&extensions); | 285 interface->fExtensions.swap(&extensions); |
280 | 286 |
281 return interface; | 287 return interface; |
282 } else { | 288 } else { |
283 return NULL; | 289 return NULL; |
284 } | 290 } |
285 } | 291 } |
OLD | NEW |