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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 WGL_SET_PROC_SUFFIX(GetQueryObjecti64v, EXT); | 173 WGL_SET_PROC_SUFFIX(GetQueryObjecti64v, EXT); |
174 WGL_SET_PROC_SUFFIX(GetQueryObjectui64v, EXT); | 174 WGL_SET_PROC_SUFFIX(GetQueryObjectui64v, EXT); |
175 } | 175 } |
176 WGL_SET_PROC(GetProgramInfoLog); | 176 WGL_SET_PROC(GetProgramInfoLog); |
177 WGL_SET_PROC(GetProgramiv); | 177 WGL_SET_PROC(GetProgramiv); |
178 WGL_SET_PROC(GetShaderInfoLog); | 178 WGL_SET_PROC(GetShaderInfoLog); |
179 WGL_SET_PROC(GetShaderiv); | 179 WGL_SET_PROC(GetShaderiv); |
180 WGL_SET_PROC(GetStringi) | 180 WGL_SET_PROC(GetStringi) |
181 WGL_SET_PROC(GetUniformLocation); | 181 WGL_SET_PROC(GetUniformLocation); |
182 WGL_SET_PROC(LinkProgram); | 182 WGL_SET_PROC(LinkProgram); |
183 if (extensions.has("GL_NV_framebuffer_multisample_coverage")) { | |
184 WGL_SET_PROC_SUFFIX(RenderbufferStorageMultisampleCoverage, NV); | |
185 } | |
186 WGL_SET_PROC(ShaderSource); | 183 WGL_SET_PROC(ShaderSource); |
187 WGL_SET_PROC(StencilFuncSeparate); | 184 WGL_SET_PROC(StencilFuncSeparate); |
188 WGL_SET_PROC(StencilMaskSeparate); | 185 WGL_SET_PROC(StencilMaskSeparate); |
189 WGL_SET_PROC(StencilOpSeparate); | 186 WGL_SET_PROC(StencilOpSeparate); |
190 WGL_SET_PROC(Uniform1f); | 187 WGL_SET_PROC(Uniform1f); |
191 WGL_SET_PROC(Uniform1i); | 188 WGL_SET_PROC(Uniform1i); |
192 WGL_SET_PROC(Uniform1fv); | 189 WGL_SET_PROC(Uniform1fv); |
193 WGL_SET_PROC(Uniform1iv); | 190 WGL_SET_PROC(Uniform1iv); |
194 WGL_SET_PROC(Uniform2f); | 191 WGL_SET_PROC(Uniform2f); |
195 WGL_SET_PROC(Uniform2i); | 192 WGL_SET_PROC(Uniform2i); |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 WGL_SET_PROC_SUFFIX(PointAlongPath, NV); | 311 WGL_SET_PROC_SUFFIX(PointAlongPath, NV); |
315 } | 312 } |
316 | 313 |
317 interface->fBindingsExported = kDesktop_GrGLBinding; | 314 interface->fBindingsExported = kDesktop_GrGLBinding; |
318 | 315 |
319 return interface; | 316 return interface; |
320 } else { | 317 } else { |
321 return NULL; | 318 return NULL; |
322 } | 319 } |
323 } | 320 } |
OLD | NEW |