| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 GET_PROC(ReadBuffer); | 132 GET_PROC(ReadBuffer); |
| 133 GET_PROC(ReadPixels); | 133 GET_PROC(ReadPixels); |
| 134 GET_PROC(Scissor); | 134 GET_PROC(Scissor); |
| 135 GET_PROC(ShaderSource); | 135 GET_PROC(ShaderSource); |
| 136 GET_PROC(StencilFunc); | 136 GET_PROC(StencilFunc); |
| 137 GET_PROC(StencilFuncSeparate); | 137 GET_PROC(StencilFuncSeparate); |
| 138 GET_PROC(StencilMask); | 138 GET_PROC(StencilMask); |
| 139 GET_PROC(StencilMaskSeparate); | 139 GET_PROC(StencilMaskSeparate); |
| 140 GET_PROC(StencilOp); | 140 GET_PROC(StencilOp); |
| 141 GET_PROC(StencilOpSeparate); | 141 GET_PROC(StencilOpSeparate); |
| 142 GET_PROC(TexGenfv); | |
| 143 GET_PROC(TexGeni); | |
| 144 GET_PROC(TexImage2D); | 142 GET_PROC(TexImage2D); |
| 145 GET_PROC(TexParameteri); | 143 GET_PROC(TexParameteri); |
| 146 GET_PROC(TexParameteriv); | 144 GET_PROC(TexParameteriv); |
| 147 if (ver >= GR_GL_VER(4,2) || extensions.has("GL_ARB_texture_storage")) { | 145 if (ver >= GR_GL_VER(4,2) || extensions.has("GL_ARB_texture_storage")) { |
| 148 GET_PROC(TexStorage2D); | 146 GET_PROC(TexStorage2D); |
| 149 } else if (extensions.has("GL_EXT_texture_storage")) { | 147 } else if (extensions.has("GL_EXT_texture_storage")) { |
| 150 GET_PROC_SUFFIX(TexStorage2D, EXT); | 148 GET_PROC_SUFFIX(TexStorage2D, EXT); |
| 151 } | 149 } |
| 152 GET_PROC(TexSubImage2D); | 150 GET_PROC(TexSubImage2D); |
| 153 GET_PROC(Uniform1f); | 151 GET_PROC(Uniform1f); |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 GET_PROC(InvalidateBufferSubData); | 245 GET_PROC(InvalidateBufferSubData); |
| 248 GET_PROC(InvalidateFramebuffer); | 246 GET_PROC(InvalidateFramebuffer); |
| 249 GET_PROC(InvalidateSubFramebuffer); | 247 GET_PROC(InvalidateSubFramebuffer); |
| 250 GET_PROC(InvalidateTexImage); | 248 GET_PROC(InvalidateTexImage); |
| 251 GET_PROC(InvalidateTexSubImage); | 249 GET_PROC(InvalidateTexSubImage); |
| 252 } | 250 } |
| 253 | 251 |
| 254 interface->fExtensions.swap(&extensions); | 252 interface->fExtensions.swap(&extensions); |
| 255 return interface; | 253 return interface; |
| 256 } | 254 } |
| OLD | NEW |