OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |