Home
last modified time | relevance | path

Searched refs:CombineResult (Results 1 – 25 of 31) sorted by relevance

12

/external/skia/src/gpu/ganesh/ops/
DClearOp.cpp55 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()
DGrOp.cpp19 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()
DStrokeTessellateOp.cpp75 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()
DDrawAtlasOp.cpp73 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()
DPathTessellateOp.cpp45 GrDrawOp::CombineResult PathTessellateOp::onCombineIfPossible(GrOp* grOp, in onCombineIfPossible()
65 return CombineResult::kMerged; in onCombineIfPossible()
68 return CombineResult::kCannotCombine; in onCombineIfPossible()
DDrawableOp.h33 CombineResult onCombineIfPossible(GrOp* that, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible()
34 return CombineResult::kCannotCombine; in onCombineIfPossible()
DDrawMeshOp.cpp502 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 …]
DRegionOp.cpp156 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()
DAtlasTextOp.cpp418 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()
DGrOp.h99 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()
DSmallPathRenderer.cpp594 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()
DGrOvalOpFactory.cpp1416 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 …]
DDefaultPathRenderer.cpp522 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()
DLatticeOp.cpp341 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()
DDrawAtlasPathOp.cpp138 GrOp::CombineResult DrawAtlasPathOp::onCombineIfPossible(GrOp* op, SkArenaAlloc*, const GrCaps&) { in onCombineIfPossible()
143 return CombineResult::kCannotCombine; in onCombineIfPossible()
150 return CombineResult::kMerged; in onCombineIfPossible()
DTextureOp.cpp985 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 …]
DFillRectOp.cpp325 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()
DDashOp.cpp631 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()
DAAHairLinePathRenderer.cpp895 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()
DStrokeRectOp.cpp562 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()
DStrokeTessellateOp.h57 CombineResult onCombineIfPossible(GrOp*, SkArenaAlloc*, const GrCaps&) override;
DClearOp.h53 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override;
DAALinearizingConvexPathRenderer.cpp293 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible()
296 return CombineResult::kCannotCombine; in onCombineIfPossible()
301 return CombineResult::kMerged; in onCombineIfPossible()
DPathTessellateOp.h59 CombineResult onCombineIfPossible(GrOp*, SkArenaAlloc*, const GrCaps&) override;
/external/skia/tests/
DOpChainTest.cpp85 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()

12