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/GrGLExtensions.h" | 9 #include "gl/GrGLExtensions.h" |
10 #include "gl/GrGLInterface.h" | 10 #include "gl/GrGLInterface.h" |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 GR_GL_GET_PROC(StencilMaskSeparate); | 127 GR_GL_GET_PROC(StencilMaskSeparate); |
128 GR_GL_GET_PROC(StencilOp); | 128 GR_GL_GET_PROC(StencilOp); |
129 GR_GL_GET_PROC(StencilOpSeparate); | 129 GR_GL_GET_PROC(StencilOpSeparate); |
130 GR_GL_GET_PROC(TexImage2D) | 130 GR_GL_GET_PROC(TexImage2D) |
131 GR_GL_GET_PROC(TexParameteri); | 131 GR_GL_GET_PROC(TexParameteri); |
132 GR_GL_GET_PROC(TexParameteriv); | 132 GR_GL_GET_PROC(TexParameteriv); |
133 GR_GL_GET_PROC(TexStorage2D); | 133 GR_GL_GET_PROC(TexStorage2D); |
134 if (NULL == interface->fTexStorage2D) { | 134 if (NULL == interface->fTexStorage2D) { |
135 GR_GL_GET_PROC_SUFFIX(TexStorage2D, EXT); | 135 GR_GL_GET_PROC_SUFFIX(TexStorage2D, EXT); |
136 } | 136 } |
| 137 GR_GL_GET_PROC_SUFFIX(DiscardFramebuffer, EXT); |
137 GR_GL_GET_PROC(TexSubImage2D); | 138 GR_GL_GET_PROC(TexSubImage2D); |
138 GR_GL_GET_PROC(Uniform1f); | 139 GR_GL_GET_PROC(Uniform1f); |
139 GR_GL_GET_PROC(Uniform1i); | 140 GR_GL_GET_PROC(Uniform1i); |
140 GR_GL_GET_PROC(Uniform1fv); | 141 GR_GL_GET_PROC(Uniform1fv); |
141 GR_GL_GET_PROC(Uniform1iv); | 142 GR_GL_GET_PROC(Uniform1iv); |
142 GR_GL_GET_PROC(Uniform2f); | 143 GR_GL_GET_PROC(Uniform2f); |
143 GR_GL_GET_PROC(Uniform2i); | 144 GR_GL_GET_PROC(Uniform2i); |
144 GR_GL_GET_PROC(Uniform2fv); | 145 GR_GL_GET_PROC(Uniform2fv); |
145 GR_GL_GET_PROC(Uniform2iv); | 146 GR_GL_GET_PROC(Uniform2iv); |
146 GR_GL_GET_PROC(Uniform3f); | 147 GR_GL_GET_PROC(Uniform3f); |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 delete interface; | 209 delete interface; |
209 return NULL; | 210 return NULL; |
210 } | 211 } |
211 GR_GL_GET_PROC(BindFragDataLocationIndexed); | 212 GR_GL_GET_PROC(BindFragDataLocationIndexed); |
212 interface->fBindingsExported = kDesktop_GrGLBinding; | 213 interface->fBindingsExported = kDesktop_GrGLBinding; |
213 return interface; | 214 return interface; |
214 } else { | 215 } else { |
215 return NULL; | 216 return NULL; |
216 } | 217 } |
217 } | 218 } |
OLD | NEW |