| 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 #include "gl/GrGLInterface.h" | 9 #include "gl/GrGLInterface.h" |
| 10 #include "gl/GrGLUtil.h" | 10 #include "gl/GrGLUtil.h" |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 WGL_SET_PROC_SUFFIX(GetPathColorGeniv, NV); | 297 WGL_SET_PROC_SUFFIX(GetPathColorGeniv, NV); |
| 298 WGL_SET_PROC_SUFFIX(GetPathColorGenfv, NV); | 298 WGL_SET_PROC_SUFFIX(GetPathColorGenfv, NV); |
| 299 WGL_SET_PROC_SUFFIX(GetPathTexGeniv, NV); | 299 WGL_SET_PROC_SUFFIX(GetPathTexGeniv, NV); |
| 300 WGL_SET_PROC_SUFFIX(GetPathTexGenfv, NV); | 300 WGL_SET_PROC_SUFFIX(GetPathTexGenfv, NV); |
| 301 WGL_SET_PROC_SUFFIX(IsPointInFillPath, NV); | 301 WGL_SET_PROC_SUFFIX(IsPointInFillPath, NV); |
| 302 WGL_SET_PROC_SUFFIX(IsPointInStrokePath, NV); | 302 WGL_SET_PROC_SUFFIX(IsPointInStrokePath, NV); |
| 303 WGL_SET_PROC_SUFFIX(GetPathLength, NV); | 303 WGL_SET_PROC_SUFFIX(GetPathLength, NV); |
| 304 WGL_SET_PROC_SUFFIX(PointAlongPath, NV); | 304 WGL_SET_PROC_SUFFIX(PointAlongPath, NV); |
| 305 } | 305 } |
| 306 | 306 |
| 307 if (extensions.has("GL_EXT_debug_marker")) { |
| 308 WGL_SET_PROC_SUFFIX(InsertEventMarker, EXT); |
| 309 WGL_SET_PROC_SUFFIX(PushGroupMarker, EXT); |
| 310 WGL_SET_PROC_SUFFIX(PopGroupMarker, EXT); |
| 311 } |
| 312 |
| 307 interface->fStandard = kGL_GrGLStandard; | 313 interface->fStandard = kGL_GrGLStandard; |
| 308 interface->fExtensions.swap(&extensions); | 314 interface->fExtensions.swap(&extensions); |
| 309 | 315 |
| 310 return interface; | 316 return interface; |
| 311 } else { | 317 } else { |
| 312 return NULL; | 318 return NULL; |
| 313 } | 319 } |
| 314 } | 320 } |
| OLD | NEW |