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

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

Issue 212753002: Use fixed function pipeline only when drawing paths (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
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