/external/skia/src/gpu/ganesh/ops/ |
D | ClearOp.cpp | 55 GrOp::CombineResult ClearOp::onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) { in onCombineIfPossible() 66 return CombineResult::kMerged; in onCombineIfPossible() 69 return CombineResult::kMerged; in onCombineIfPossible() 81 return CombineResult::kMerged; in onCombineIfPossible() 83 return CombineResult::kCannotCombine; in onCombineIfPossible()
|
D | GrOp.cpp | 19 GrOp::CombineResult GrOp::combineIfPossible(GrOp* that, SkArenaAlloc* alloc, const GrCaps& caps) { in combineIfPossible() 22 return CombineResult::kCannotCombine; in combineIfPossible() 25 if (result == CombineResult::kMerged) { in combineIfPossible()
|
D | StrokeTessellateOp.cpp | 75 GrOp::CombineResult StrokeTessellateOp::onCombineIfPossible(GrOp* grOp, SkArenaAlloc* alloc, in onCombineIfPossible() 90 return CombineResult::kCannotCombine; in onCombineIfPossible() 99 return CombineResult::kCannotCombine; // Dynamic hairlines aren't supported. in onCombineIfPossible() 116 return CombineResult::kCannotCombine; in onCombineIfPossible() 130 return CombineResult::kMerged; in onCombineIfPossible()
|
D | DrawAtlasOp.cpp | 73 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps&) override; 259 GrOp::CombineResult DrawAtlasOpImpl::onCombineIfPossible(GrOp* t, in onCombineIfPossible() 265 return CombineResult::kCannotCombine; in onCombineIfPossible() 270 return CombineResult::kCannotCombine; in onCombineIfPossible() 274 return CombineResult::kCannotCombine; in onCombineIfPossible() 278 return CombineResult::kCannotCombine; in onCombineIfPossible() 284 return CombineResult::kMerged; in onCombineIfPossible()
|
D | PathTessellateOp.cpp | 45 GrDrawOp::CombineResult PathTessellateOp::onCombineIfPossible(GrOp* grOp, in onCombineIfPossible() 65 return CombineResult::kMerged; in onCombineIfPossible() 68 return CombineResult::kCannotCombine; in onCombineIfPossible()
|
D | DrawableOp.h | 33 CombineResult onCombineIfPossible(GrOp* that, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible() 34 return CombineResult::kCannotCombine; in onCombineIfPossible()
|
D | DrawMeshOp.cpp | 502 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps&) override; 982 GrOp::CombineResult MeshOp::onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) { in onCombineIfPossible() 987 return GrOp::CombineResult::kCannotCombine; in onCombineIfPossible() 994 return CombineResult::kCannotCombine; in onCombineIfPossible() 998 return CombineResult::kCannotCombine; in onCombineIfPossible() 1002 return CombineResult::kCannotCombine; in onCombineIfPossible() 1005 return CombineResult::kCannotCombine; in onCombineIfPossible() 1010 return CombineResult::kCannotCombine; in onCombineIfPossible() 1017 return CombineResult::kCannotCombine; in onCombineIfPossible() 1021 return CombineResult::kCannotCombine; in onCombineIfPossible() [all …]
|
D | RegionOp.cpp | 156 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible() 159 return CombineResult::kCannotCombine; in onCombineIfPossible() 163 return CombineResult::kCannotCombine; in onCombineIfPossible() 168 return CombineResult::kMerged; in onCombineIfPossible()
|
D | AtlasTextOp.cpp | 418 GrOp::CombineResult AtlasTextOp::onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) { in onCombineIfPossible() 428 return CombineResult::kCannotCombine; in onCombineIfPossible() 432 return CombineResult::kCannotCombine; in onCombineIfPossible() 441 return CombineResult::kCannotCombine; in onCombineIfPossible() 449 return CombineResult::kCannotCombine; in onCombineIfPossible() 457 return CombineResult::kCannotCombine; in onCombineIfPossible() 466 return CombineResult::kMerged; in onCombineIfPossible()
|
D | GrOp.h | 99 enum class CombineResult { enum 120 CombineResult combineIfPossible(GrOp* that, SkArenaAlloc* alloc, const GrCaps& caps); 305 virtual CombineResult onCombineIfPossible(GrOp*, SkArenaAlloc*, const GrCaps&) { in onCombineIfPossible() 306 return CombineResult::kCannotCombine; in onCombineIfPossible()
|
D | SmallPathRenderer.cpp | 594 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible() 597 return CombineResult::kCannotCombine; in onCombineIfPossible() 601 return CombineResult::kCannotCombine; in onCombineIfPossible() 610 return CombineResult::kCannotCombine; in onCombineIfPossible() 616 return CombineResult::kCannotCombine; in onCombineIfPossible() 620 return CombineResult::kCannotCombine; in onCombineIfPossible() 627 return CombineResult::kCannotCombine; in onCombineIfPossible() 633 return CombineResult::kMerged; in onCombineIfPossible()
|
D | GrOvalOpFactory.cpp | 1416 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible() 1421 return CombineResult::kCannotCombine; in onCombineIfPossible() 1425 return CombineResult::kCannotCombine; in onCombineIfPossible() 1431 return CombineResult::kCannotCombine; in onCombineIfPossible() 1446 return CombineResult::kMerged; in onCombineIfPossible() 1747 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible() 1752 return CombineResult::kCannotCombine; in onCombineIfPossible() 1756 return CombineResult::kCannotCombine; in onCombineIfPossible() 1762 return CombineResult::kCannotCombine; in onCombineIfPossible() 1769 return CombineResult::kMerged; in onCombineIfPossible() [all …]
|
D | DefaultPathRenderer.cpp | 522 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible() 525 return CombineResult::kCannotCombine; in onCombineIfPossible() 529 return CombineResult::kCannotCombine; in onCombineIfPossible() 533 return CombineResult::kCannotCombine; in onCombineIfPossible() 537 return CombineResult::kCannotCombine; in onCombineIfPossible() 541 return CombineResult::kCannotCombine; in onCombineIfPossible() 545 return CombineResult::kMerged; in onCombineIfPossible()
|
D | LatticeOp.cpp | 341 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible() 344 return CombineResult::kCannotCombine; in onCombineIfPossible() 347 return CombineResult::kCannotCombine; in onCombineIfPossible() 350 return CombineResult::kCannotCombine; in onCombineIfPossible() 353 return CombineResult::kCannotCombine; in onCombineIfPossible() 358 return CombineResult::kMerged; in onCombineIfPossible()
|
D | DrawAtlasPathOp.cpp | 138 GrOp::CombineResult DrawAtlasPathOp::onCombineIfPossible(GrOp* op, SkArenaAlloc*, const GrCaps&) { in onCombineIfPossible() 143 return CombineResult::kCannotCombine; in onCombineIfPossible() 150 return CombineResult::kMerged; in onCombineIfPossible()
|
D | TextureOp.cpp | 985 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible() 995 return CombineResult::kCannotCombine; in onCombineIfPossible() 1002 return CombineResult::kCannotCombine; in onCombineIfPossible() 1006 return CombineResult::kCannotCombine; in onCombineIfPossible() 1012 return CombineResult::kCannotCombine; in onCombineIfPossible() 1019 return CombineResult::kCannotCombine; in onCombineIfPossible() 1023 return CombineResult::kCannotCombine; in onCombineIfPossible() 1026 return CombineResult::kCannotCombine; in onCombineIfPossible() 1029 return CombineResult::kCannotCombine; in onCombineIfPossible() 1032 return CombineResult::kCannotCombine; in onCombineIfPossible() [all …]
|
D | FillRectOp.cpp | 325 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible() 332 return CombineResult::kCannotCombine; in onCombineIfPossible() 339 return CombineResult::kCannotCombine; in onCombineIfPossible() 345 return CombineResult::kCannotCombine; in onCombineIfPossible() 364 return CombineResult::kMerged; in onCombineIfPossible()
|
D | DashOp.cpp | 631 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible() 634 return CombineResult::kCannotCombine; in onCombineIfPossible() 638 return CombineResult::kCannotCombine; in onCombineIfPossible() 642 return CombineResult::kCannotCombine; in onCombineIfPossible() 646 return CombineResult::kCannotCombine; in onCombineIfPossible() 651 return CombineResult::kCannotCombine; in onCombineIfPossible() 655 return CombineResult::kCannotCombine; in onCombineIfPossible() 659 return CombineResult::kMerged; in onCombineIfPossible()
|
D | AAHairLinePathRenderer.cpp | 895 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible() 899 return CombineResult::kCannotCombine; in onCombineIfPossible() 903 return CombineResult::kCannotCombine; in onCombineIfPossible() 909 return CombineResult::kCannotCombine; in onCombineIfPossible() 916 return CombineResult::kCannotCombine; in onCombineIfPossible() 920 return CombineResult::kCannotCombine; in onCombineIfPossible() 925 return CombineResult::kCannotCombine; in onCombineIfPossible() 929 return CombineResult::kMerged; in onCombineIfPossible()
|
D | StrokeRectOp.cpp | 562 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps&) override; 770 GrOp::CombineResult AAStrokeRectOp::onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) in onCombineIfPossible() 775 return CombineResult::kCannotCombine; in onCombineIfPossible() 780 return CombineResult::kCannotCombine; in onCombineIfPossible() 788 return CombineResult::kCannotCombine; in onCombineIfPossible() 793 return CombineResult::kMerged; in onCombineIfPossible()
|
D | StrokeTessellateOp.h | 57 CombineResult onCombineIfPossible(GrOp*, SkArenaAlloc*, const GrCaps&) override;
|
D | ClearOp.h | 53 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override;
|
D | AALinearizingConvexPathRenderer.cpp | 293 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible() 296 return CombineResult::kCannotCombine; in onCombineIfPossible() 301 return CombineResult::kMerged; in onCombineIfPossible()
|
D | PathTessellateOp.h | 59 CombineResult onCombineIfPossible(GrOp*, SkArenaAlloc*, const GrCaps&) override;
|
/external/skia/tests/ |
D | OpChainTest.cpp | 85 using Combinable = std::array<GrOp::CombineResult, kNumCombinableValues>; 106 std::fill_n(combinable->begin(), kNumCombinableValues, GrOp::CombineResult::kCannotCombine); in init_combinable() 113 (*combinable)[combinable_index(i, j)] = GrOp::CombineResult::kMerged; in init_combinable() 115 (*combinable)[combinable_index(i, j)] = GrOp::CombineResult::kMayChain; in init_combinable() 118 (*combinable)[combinable_index(j, i)] = GrOp::CombineResult::kMerged; in init_combinable() 120 (*combinable)[combinable_index(j, i)] = GrOp::CombineResult::kMayChain; in init_combinable() 177 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc* arenas, const GrCaps&) override { in onCombineIfPossible() 185 if (result == GrOp::CombineResult::kMerged) { in onCombineIfPossible()
|