Home
last modified time | relevance | path

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

12

/third_party/skia/src/gpu/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()
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()
DStrokeTessellateOp.cpp96 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()
DDrawableOp.h33 CombineResult onCombineIfPossible(GrOp* that, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible()
34 return CombineResult::kCannotCombine; in onCombineIfPossible()
DPathTessellateOp.cpp44 GrDrawOp::CombineResult PathTessellateOp::onCombineIfPossible(GrOp* grOp, in onCombineIfPossible()
64 return CombineResult::kMerged; in onCombineIfPossible()
67 return CombineResult::kCannotCombine; in onCombineIfPossible()
DDrawVerticesOp.cpp251 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()
DAtlasTextOp.cpp390 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()
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()
DGrOp.h99 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()
DGrOvalOpFactory.cpp1411 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 …]
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()
608 return CombineResult::kCannotCombine; in onCombineIfPossible()
615 return CombineResult::kCannotCombine; in onCombineIfPossible()
622 return CombineResult::kCannotCombine; in onCombineIfPossible()
628 return CombineResult::kMerged; in onCombineIfPossible()
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.cpp340 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()
DDrawAtlasPathOp.cpp133 GrOp::CombineResult DrawAtlasPathOp::onCombineIfPossible(GrOp* op, SkArenaAlloc*, const GrCaps&) { in onCombineIfPossible()
138 return CombineResult::kCannotCombine; in onCombineIfPossible()
145 return CombineResult::kMerged; in onCombineIfPossible()
DTextureOp.cpp977 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 …]
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.cpp629 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()
DAAHairLinePathRenderer.cpp879 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()
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()
DAALinearizingConvexPathRenderer.cpp294 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible()
297 return CombineResult::kCannotCombine; in onCombineIfPossible()
302 return CombineResult::kMerged; in onCombineIfPossible()
DFillRRectOp.cpp59 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()
DStrokeTessellateOp.h55 CombineResult onCombineIfPossible(GrOp*, SkArenaAlloc*, const GrCaps&) override;
DClearOp.h53 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override;
/third_party/skia/tests/
DOpChainTest.cpp50 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()

12