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

Side by Side Diff: src/gpu/gl/GrGLAssembleInterface.cpp

Issue 403563002: Add IsPath to GrGLInterface (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 5 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/GrGLAssembleGLESInterface.h ('k') | src/gpu/gl/GrGLInterface.cpp » ('j') | 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 2014 Google Inc. 3 * Copyright 2014 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 "GrGLAssembleInterface.h" 10 #include "GrGLAssembleInterface.h"
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 return NULL; 221 return NULL;
222 } 222 }
223 223
224 if (extensions.has("GL_NV_path_rendering")) { 224 if (extensions.has("GL_NV_path_rendering")) {
225 GET_PROC_SUFFIX(PathCommands, NV); 225 GET_PROC_SUFFIX(PathCommands, NV);
226 GET_PROC_SUFFIX(PathCoords, NV); 226 GET_PROC_SUFFIX(PathCoords, NV);
227 GET_PROC_SUFFIX(PathParameteri, NV); 227 GET_PROC_SUFFIX(PathParameteri, NV);
228 GET_PROC_SUFFIX(PathParameterf, NV); 228 GET_PROC_SUFFIX(PathParameterf, NV);
229 GET_PROC_SUFFIX(GenPaths, NV); 229 GET_PROC_SUFFIX(GenPaths, NV);
230 GET_PROC_SUFFIX(DeletePaths, NV); 230 GET_PROC_SUFFIX(DeletePaths, NV);
231 GET_PROC_SUFFIX(IsPath, NV);
231 GET_PROC_SUFFIX(PathStencilFunc, NV); 232 GET_PROC_SUFFIX(PathStencilFunc, NV);
232 GET_PROC_SUFFIX(StencilFillPath, NV); 233 GET_PROC_SUFFIX(StencilFillPath, NV);
233 GET_PROC_SUFFIX(StencilStrokePath, NV); 234 GET_PROC_SUFFIX(StencilStrokePath, NV);
234 GET_PROC_SUFFIX(StencilFillPathInstanced, NV); 235 GET_PROC_SUFFIX(StencilFillPathInstanced, NV);
235 GET_PROC_SUFFIX(StencilStrokePathInstanced, NV); 236 GET_PROC_SUFFIX(StencilStrokePathInstanced, NV);
236 GET_PROC_SUFFIX(PathTexGen, NV); 237 GET_PROC_SUFFIX(PathTexGen, NV);
237 GET_PROC_SUFFIX(CoverFillPath, NV); 238 GET_PROC_SUFFIX(CoverFillPath, NV);
238 GET_PROC_SUFFIX(CoverStrokePath, NV); 239 GET_PROC_SUFFIX(CoverStrokePath, NV);
239 GET_PROC_SUFFIX(CoverFillPathInstanced, NV); 240 GET_PROC_SUFFIX(CoverFillPathInstanced, NV);
240 GET_PROC_SUFFIX(CoverStrokePathInstanced, NV); 241 GET_PROC_SUFFIX(CoverStrokePathInstanced, NV);
(...skipping 17 matching lines...) Expand all
258 259
259 if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_ARB_program_interface_quer y")) { 260 if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_ARB_program_interface_quer y")) {
260 GET_PROC(GetProgramResourceLocation); 261 GET_PROC(GetProgramResourceLocation);
261 } 262 }
262 263
263 interface->fStandard = kGL_GrGLStandard; 264 interface->fStandard = kGL_GrGLStandard;
264 interface->fExtensions.swap(&extensions); 265 interface->fExtensions.swap(&extensions);
265 266
266 return interface; 267 return interface;
267 } 268 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLAssembleGLESInterface.h ('k') | src/gpu/gl/GrGLInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698