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

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

Issue 423173004: Incorporate glStencilThenCover* nvpr methods (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix win7 build Created 6 years, 4 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/GrGLAssembleInterface.cpp ('k') | src/gpu/gl/GrGpuGL.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 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 8
9 #include "gl/GrGLInterface.h" 9 #include "gl/GrGLInterface.h"
10 #include "gl/GrGLExtensions.h" 10 #include "gl/GrGLExtensions.h"
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 NULL == fFunctions.fDeletePaths || 460 NULL == fFunctions.fDeletePaths ||
461 NULL == fFunctions.fIsPath || 461 NULL == fFunctions.fIsPath ||
462 NULL == fFunctions.fPathStencilFunc || 462 NULL == fFunctions.fPathStencilFunc ||
463 NULL == fFunctions.fStencilFillPath || 463 NULL == fFunctions.fStencilFillPath ||
464 NULL == fFunctions.fStencilStrokePath || 464 NULL == fFunctions.fStencilStrokePath ||
465 NULL == fFunctions.fStencilFillPathInstanced || 465 NULL == fFunctions.fStencilFillPathInstanced ||
466 NULL == fFunctions.fStencilStrokePathInstanced || 466 NULL == fFunctions.fStencilStrokePathInstanced ||
467 NULL == fFunctions.fCoverFillPath || 467 NULL == fFunctions.fCoverFillPath ||
468 NULL == fFunctions.fCoverStrokePath || 468 NULL == fFunctions.fCoverStrokePath ||
469 NULL == fFunctions.fCoverFillPathInstanced || 469 NULL == fFunctions.fCoverFillPathInstanced ||
470 NULL == fFunctions.fCoverStrokePathInstanced) { 470 NULL == fFunctions.fCoverStrokePathInstanced ||
471 NULL == fFunctions.fStencilThenCoverFillPath ||
472 NULL == fFunctions.fStencilThenCoverStrokePath ||
473 NULL == fFunctions.fStencilThenCoverFillPathInstanced ||
474 NULL == fFunctions.fStencilThenCoverStrokePathInstanced) {
471 RETURN_FALSE_INTERFACE 475 RETURN_FALSE_INTERFACE
472 } 476 }
473 // Currently ProgramPathFragmentInputGen is not used on 477 // Currently ProgramPathFragmentInputGen is not used on
474 // OpenGL, rather PathTexGen is. 478 // OpenGL, rather PathTexGen is.
475 if ((kGL_GrGLStandard == fStandard && NULL == fFunctions.fPathTexGen) || 479 if ((kGL_GrGLStandard == fStandard && NULL == fFunctions.fPathTexGen) ||
476 (kGLES_GrGLStandard == fStandard && NULL == fFunctions.fProgramPathF ragmentInputGen)) { 480 (kGLES_GrGLStandard == fStandard && NULL == fFunctions.fProgramPathF ragmentInputGen)) {
477 RETURN_FALSE_INTERFACE 481 RETURN_FALSE_INTERFACE
478 } 482 }
479 } 483 }
480 484
481 return true; 485 return true;
482 } 486 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLAssembleInterface.cpp ('k') | src/gpu/gl/GrGpuGL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698