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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 GET_PROC(GetQueryObjectuiv); | 117 GET_PROC(GetQueryObjectuiv); |
118 GET_PROC(GetShaderInfoLog); | 118 GET_PROC(GetShaderInfoLog); |
119 GET_PROC(GetShaderiv); | 119 GET_PROC(GetShaderiv); |
120 GET_PROC(GetString); | 120 GET_PROC(GetString); |
121 GET_PROC(GetStringi); | 121 GET_PROC(GetStringi); |
122 GET_PROC(GetTexLevelParameteriv); | 122 GET_PROC(GetTexLevelParameteriv); |
123 GET_PROC(GenTextures); | 123 GET_PROC(GenTextures); |
124 GET_PROC(GetUniformLocation); | 124 GET_PROC(GetUniformLocation); |
125 GET_PROC(LineWidth); | 125 GET_PROC(LineWidth); |
126 GET_PROC(LinkProgram); | 126 GET_PROC(LinkProgram); |
127 GET_PROC(LoadIdentity); | |
128 GET_PROC(LoadMatrixf); | |
129 GET_PROC(MapBuffer); | 127 GET_PROC(MapBuffer); |
130 GET_PROC(MatrixMode); | 128 if (extensions.has("GL_EXT_direct_state_access")) { |
| 129 GET_PROC_SUFFIX(MatrixLoadf, EXT); |
| 130 GET_PROC_SUFFIX(MatrixLoadIdentity, EXT); |
| 131 } |
131 GET_PROC(PixelStorei); | 132 GET_PROC(PixelStorei); |
132 GET_PROC(ReadBuffer); | 133 GET_PROC(ReadBuffer); |
133 GET_PROC(ReadPixels); | 134 GET_PROC(ReadPixels); |
134 GET_PROC(Scissor); | 135 GET_PROC(Scissor); |
135 GET_PROC(ShaderSource); | 136 GET_PROC(ShaderSource); |
136 GET_PROC(StencilFunc); | 137 GET_PROC(StencilFunc); |
137 GET_PROC(StencilFuncSeparate); | 138 GET_PROC(StencilFuncSeparate); |
138 GET_PROC(StencilMask); | 139 GET_PROC(StencilMask); |
139 GET_PROC(StencilMaskSeparate); | 140 GET_PROC(StencilMaskSeparate); |
140 GET_PROC(StencilOp); | 141 GET_PROC(StencilOp); |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 GET_PROC(InvalidateBufferSubData); | 246 GET_PROC(InvalidateBufferSubData); |
246 GET_PROC(InvalidateFramebuffer); | 247 GET_PROC(InvalidateFramebuffer); |
247 GET_PROC(InvalidateSubFramebuffer); | 248 GET_PROC(InvalidateSubFramebuffer); |
248 GET_PROC(InvalidateTexImage); | 249 GET_PROC(InvalidateTexImage); |
249 GET_PROC(InvalidateTexSubImage); | 250 GET_PROC(InvalidateTexSubImage); |
250 } | 251 } |
251 | 252 |
252 interface->fExtensions.swap(&extensions); | 253 interface->fExtensions.swap(&extensions); |
253 return interface; | 254 return interface; |
254 } | 255 } |
OLD | NEW |