Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(575)

Side by Side Diff: src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp

Issue 245963009: Use EXT_direct_state_access for path matrix manipulation (Closed) Base URL: https://skia.googlesource.com/skia.git@nv-pr-00-no-ff-primitives
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « src/gpu/gl/debug/GrGLCreateDebugInterface.cpp ('k') | src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698