| 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/GrGLExtensions.h" | 10 #include "gl/GrGLExtensions.h" |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 if (glVer >= GR_GL_VER(1,4) || | 85 if (glVer >= GR_GL_VER(1,4) || |
| 86 extensions.has("GL_ARB_imaging") || | 86 extensions.has("GL_ARB_imaging") || |
| 87 extensions.has("GL_EXT_blend_color")) { | 87 extensions.has("GL_EXT_blend_color")) { |
| 88 WGL_SET_PROC(BlendColor); | 88 WGL_SET_PROC(BlendColor); |
| 89 } | 89 } |
| 90 | 90 |
| 91 SET_PROC(Clear) | 91 SET_PROC(Clear) |
| 92 SET_PROC(ClearColor) | 92 SET_PROC(ClearColor) |
| 93 SET_PROC(ClearStencil) | 93 SET_PROC(ClearStencil) |
| 94 SET_PROC(ColorMask) | 94 SET_PROC(ColorMask) |
| 95 SET_PROC(CopyTexSubImage2D) |
| 95 SET_PROC(CullFace) | 96 SET_PROC(CullFace) |
| 96 SET_PROC(DeleteTextures) | 97 SET_PROC(DeleteTextures) |
| 97 SET_PROC(DepthMask) | 98 SET_PROC(DepthMask) |
| 98 SET_PROC(Disable) | 99 SET_PROC(Disable) |
| 99 SET_PROC(DrawArrays) | 100 SET_PROC(DrawArrays) |
| 100 SET_PROC(DrawElements) | 101 SET_PROC(DrawElements) |
| 101 SET_PROC(DrawBuffer) | 102 SET_PROC(DrawBuffer) |
| 102 SET_PROC(Enable) | 103 SET_PROC(Enable) |
| 103 SET_PROC(FrontFace) | 104 SET_PROC(FrontFace) |
| 104 SET_PROC(Finish) | 105 SET_PROC(Finish) |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 WGL_SET_PROC_SUFFIX(PointAlongPath, NV); | 306 WGL_SET_PROC_SUFFIX(PointAlongPath, NV); |
| 306 } | 307 } |
| 307 | 308 |
| 308 interface->fBindingsExported = kDesktop_GrGLBinding; | 309 interface->fBindingsExported = kDesktop_GrGLBinding; |
| 309 | 310 |
| 310 return interface; | 311 return interface; |
| 311 } else { | 312 } else { |
| 312 return NULL; | 313 return NULL; |
| 313 } | 314 } |
| 314 } | 315 } |
| OLD | NEW |