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

Side by Side Diff: src/gpu/gl/win/GrGLCreateNativeInterface_win.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
« no previous file with comments | « src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "gl/GrGLInterface.h" 9 #include "gl/GrGLInterface.h"
10 #include "gl/GrGLUtil.h" 10 #include "gl/GrGLUtil.h"
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 SET_PROC(LoadIdentity) 106 SET_PROC(LoadIdentity)
107 SET_PROC(LoadMatrixf) 107 SET_PROC(LoadMatrixf)
108 SET_PROC(MatrixMode) 108 SET_PROC(MatrixMode)
109 SET_PROC(PixelStorei) 109 SET_PROC(PixelStorei)
110 SET_PROC(ReadBuffer) 110 SET_PROC(ReadBuffer)
111 SET_PROC(ReadPixels) 111 SET_PROC(ReadPixels)
112 SET_PROC(Scissor) 112 SET_PROC(Scissor)
113 SET_PROC(StencilFunc) 113 SET_PROC(StencilFunc)
114 SET_PROC(StencilMask) 114 SET_PROC(StencilMask)
115 SET_PROC(StencilOp) 115 SET_PROC(StencilOp)
116 SET_PROC(TexGenfv)
117 SET_PROC(TexGeni)
118 SET_PROC(TexImage2D) 116 SET_PROC(TexImage2D)
119 SET_PROC(TexParameteri) 117 SET_PROC(TexParameteri)
120 SET_PROC(TexParameteriv) 118 SET_PROC(TexParameteriv)
121 if (glVer >= GR_GL_VER(4,2) || extensions.has("GL_ARB_texture_storage")) { 119 if (glVer >= GR_GL_VER(4,2) || extensions.has("GL_ARB_texture_storage")) {
122 WGL_SET_PROC(TexStorage2D); 120 WGL_SET_PROC(TexStorage2D);
123 } else if (extensions.has("GL_EXT_texture_storage")) { 121 } else if (extensions.has("GL_EXT_texture_storage")) {
124 WGL_SET_PROC_SUFFIX(TexStorage2D, EXT); 122 WGL_SET_PROC_SUFFIX(TexStorage2D, EXT);
125 } 123 }
126 SET_PROC(TexSubImage2D) 124 SET_PROC(TexSubImage2D)
127 SET_PROC(Viewport) 125 SET_PROC(Viewport)
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 } 313 }
316 314
317 interface->fStandard = kGL_GrGLStandard; 315 interface->fStandard = kGL_GrGLStandard;
318 interface->fExtensions.swap(&extensions); 316 interface->fExtensions.swap(&extensions);
319 317
320 return interface; 318 return interface;
321 } else { 319 } else {
322 return NULL; 320 return NULL;
323 } 321 }
324 } 322 }
OLDNEW
« no previous file with comments | « src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698