/third_party/skia/src/gpu/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 | 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 | StrokeTessellateOp.cpp | 96 GrOp::CombineResult StrokeTessellateOp::onCombineIfPossible(GrOp* grOp, SkArenaAlloc* alloc, in onCombineIfPossible() 111 return CombineResult::kCannotCombine; in onCombineIfPossible() 120 return CombineResult::kCannotCombine; // Dynamic hairlines aren't supported. in onCombineIfPossible() 137 return CombineResult::kCannotCombine; in onCombineIfPossible() 151 return CombineResult::kMerged; in onCombineIfPossible()
|
D | DrawableOp.h | 33 CombineResult onCombineIfPossible(GrOp* that, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible() 34 return CombineResult::kCannotCombine; in onCombineIfPossible()
|
D | PathTessellateOp.cpp | 44 GrDrawOp::CombineResult PathTessellateOp::onCombineIfPossible(GrOp* grOp, in onCombineIfPossible() 64 return CombineResult::kMerged; in onCombineIfPossible() 67 return CombineResult::kCannotCombine; in onCombineIfPossible()
|
D | DrawVerticesOp.cpp | 251 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps&) override; 496 GrOp::CombineResult DrawVerticesOpImpl::onCombineIfPossible(GrOp* t, in onCombineIfPossible() 502 return CombineResult::kCannotCombine; in onCombineIfPossible() 506 return CombineResult::kCannotCombine; in onCombineIfPossible() 510 return CombineResult::kCannotCombine; in onCombineIfPossible() 514 return CombineResult::kCannotCombine; in onCombineIfPossible() 521 return CombineResult::kCannotCombine; in onCombineIfPossible() 534 return CombineResult::kCannotCombine; in onCombineIfPossible() 571 return CombineResult::kMerged; in onCombineIfPossible()
|
D | AtlasTextOp.cpp | 390 GrOp::CombineResult AtlasTextOp::onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) { in onCombineIfPossible() 400 return CombineResult::kCannotCombine; in onCombineIfPossible() 404 return CombineResult::kCannotCombine; in onCombineIfPossible() 413 return CombineResult::kCannotCombine; in onCombineIfPossible() 420 return CombineResult::kCannotCombine; in onCombineIfPossible() 426 return CombineResult::kCannotCombine; in onCombineIfPossible() 435 return CombineResult::kMerged; in onCombineIfPossible()
|
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 | GrOp.h | 99 enum class CombineResult { enum 120 CombineResult combineIfPossible(GrOp* that, SkArenaAlloc* alloc, const GrCaps& caps); 309 virtual CombineResult onCombineIfPossible(GrOp*, SkArenaAlloc*, const GrCaps&) { in onCombineIfPossible() 310 return CombineResult::kCannotCombine; in onCombineIfPossible()
|
D | GrOvalOpFactory.cpp | 1411 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible() 1416 return CombineResult::kCannotCombine; in onCombineIfPossible() 1420 return CombineResult::kCannotCombine; in onCombineIfPossible() 1426 return CombineResult::kCannotCombine; in onCombineIfPossible() 1441 return CombineResult::kMerged; in onCombineIfPossible() 1742 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible() 1747 return CombineResult::kCannotCombine; in onCombineIfPossible() 1751 return CombineResult::kCannotCombine; in onCombineIfPossible() 1757 return CombineResult::kCannotCombine; in onCombineIfPossible() 1764 return CombineResult::kMerged; in onCombineIfPossible() [all …]
|
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() 608 return CombineResult::kCannotCombine; in onCombineIfPossible() 615 return CombineResult::kCannotCombine; in onCombineIfPossible() 622 return CombineResult::kCannotCombine; in onCombineIfPossible() 628 return CombineResult::kMerged; in onCombineIfPossible()
|
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 | 340 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible() 343 return CombineResult::kCannotCombine; in onCombineIfPossible() 346 return CombineResult::kCannotCombine; in onCombineIfPossible() 349 return CombineResult::kCannotCombine; in onCombineIfPossible() 352 return CombineResult::kCannotCombine; in onCombineIfPossible() 357 return CombineResult::kMerged; in onCombineIfPossible()
|
D | DrawAtlasPathOp.cpp | 133 GrOp::CombineResult DrawAtlasPathOp::onCombineIfPossible(GrOp* op, SkArenaAlloc*, const GrCaps&) { in onCombineIfPossible() 138 return CombineResult::kCannotCombine; in onCombineIfPossible() 145 return CombineResult::kMerged; in onCombineIfPossible()
|
D | TextureOp.cpp | 977 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible() 987 return CombineResult::kCannotCombine; in onCombineIfPossible() 994 return CombineResult::kCannotCombine; in onCombineIfPossible() 998 return CombineResult::kCannotCombine; in onCombineIfPossible() 1004 return CombineResult::kCannotCombine; in onCombineIfPossible() 1011 return CombineResult::kCannotCombine; in onCombineIfPossible() 1015 return CombineResult::kCannotCombine; in onCombineIfPossible() 1018 return CombineResult::kCannotCombine; in onCombineIfPossible() 1021 return CombineResult::kCannotCombine; in onCombineIfPossible() 1024 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 | 629 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible() 632 return CombineResult::kCannotCombine; in onCombineIfPossible() 636 return CombineResult::kCannotCombine; in onCombineIfPossible() 640 return CombineResult::kCannotCombine; in onCombineIfPossible() 644 return CombineResult::kCannotCombine; in onCombineIfPossible() 649 return CombineResult::kCannotCombine; in onCombineIfPossible() 653 return CombineResult::kCannotCombine; in onCombineIfPossible() 657 return CombineResult::kMerged; in onCombineIfPossible()
|
D | AAHairLinePathRenderer.cpp | 879 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible() 883 return CombineResult::kCannotCombine; in onCombineIfPossible() 887 return CombineResult::kCannotCombine; in onCombineIfPossible() 893 return CombineResult::kCannotCombine; in onCombineIfPossible() 900 return CombineResult::kCannotCombine; in onCombineIfPossible() 904 return CombineResult::kCannotCombine; in onCombineIfPossible() 909 return CombineResult::kCannotCombine; in onCombineIfPossible() 913 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 | AALinearizingConvexPathRenderer.cpp | 294 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible() 297 return CombineResult::kCannotCombine; in onCombineIfPossible() 302 return CombineResult::kMerged; in onCombineIfPossible()
|
D | FillRRectOp.cpp | 59 CombineResult onCombineIfPossible(GrOp*, SkArenaAlloc*, const GrCaps&) override; 319 GrOp::CombineResult FillRRectOpImpl::onCombineIfPossible(GrOp* op, in onCombineIfPossible() 325 return CombineResult::kCannotCombine; in onCombineIfPossible() 331 return CombineResult::kMerged; in onCombineIfPossible()
|
D | StrokeTessellateOp.h | 55 CombineResult onCombineIfPossible(GrOp*, SkArenaAlloc*, const GrCaps&) override;
|
D | ClearOp.h | 53 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override;
|
/third_party/skia/tests/ |
D | OpChainTest.cpp | 50 using Combinable = std::array<GrOp::CombineResult, kNumCombinableValues>; 71 std::fill_n(combinable->begin(), kNumCombinableValues, GrOp::CombineResult::kCannotCombine); in init_combinable() 78 (*combinable)[combinable_index(i, j)] = GrOp::CombineResult::kMerged; in init_combinable() 80 (*combinable)[combinable_index(i, j)] = GrOp::CombineResult::kMayChain; in init_combinable() 83 (*combinable)[combinable_index(j, i)] = GrOp::CombineResult::kMerged; in init_combinable() 85 (*combinable)[combinable_index(j, i)] = GrOp::CombineResult::kMayChain; in init_combinable() 142 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc* arenas, const GrCaps&) override { in onCombineIfPossible() 150 if (result == GrOp::CombineResult::kMerged) { in onCombineIfPossible()
|