/external/skqp/src/gpu/ops/ |
D | GrOp.cpp | 10 std::atomic<uint32_t> GrOp::gCurrOpClassID {GrOp::kIllegalOpID + 1}; 11 std::atomic<uint32_t> GrOp::gCurrOpUniqueID{GrOp::kIllegalOpID + 1}; 14 void* GrOp::operator new(size_t size) { in operator new() 20 void GrOp::operator delete(void* target) { in operator delete() 27 GrOp::GrOp(uint32_t classID) : fClassID(classID) { in GrOp() function in GrOp 33 GrOp::CombineResult GrOp::combineIfPossible(GrOp* that, const GrCaps& caps) { in combineIfPossible() 45 void GrOp::chainConcat(std::unique_ptr<GrOp> next) { in chainConcat() 54 std::unique_ptr<GrOp> GrOp::cutChain() { in cutChain() 63 void GrOp::validateChain(GrOp* expectedTail) const { in validateChain() 66 const GrOp* op = this; in validateChain()
|
D | GrOp.h | 66 class GrOp : private SkNoncopyable { 68 virtual ~GrOp() = default; 113 CombineResult combineIfPossible(GrOp* that, const GrCaps& caps); 203 template <typename OpSubclass = GrOp> class ChainRange { 229 void chainConcat(std::unique_ptr<GrOp>); 235 GrOp* nextInChain() const { return fNextInChain.get(); } in nextInChain() 237 GrOp* prevInChain() const { return fPrevInChain; } in prevInChain() 242 std::unique_ptr<GrOp> cutChain(); 243 SkDEBUGCODE(void validateChain(GrOp* expectedTail = nullptr) const); 250 GrOp(uint32_t classID); [all …]
|
D | GrSemaphoreOp.h | 17 class GrSemaphoreOp : public GrOp { 19 static std::unique_ptr<GrOp> MakeWait(GrContext*, 34 typedef GrOp INHERITED;
|
D | GrDebugMarkerOp.h | 16 class GrDebugMarkerOp final : public GrOp { 20 static std::unique_ptr<GrOp> Make(GrContext*, 50 typedef GrOp INHERITED;
|
D | GrDrawableOp.h | 17 class GrDrawableOp final : public GrOp { 38 CombineResult onCombineIfPossible(GrOp* that, const GrCaps& caps) override { in onCombineIfPossible() 47 typedef GrOp INHERITED;
|
D | GrStencilPathOp.h | 19 class GrStencilPathOp final : public GrOp { 23 static std::unique_ptr<GrOp> Make(GrContext* context, 72 typedef GrOp INHERITED;
|
D | GrClearStencilClipOp.h | 17 class GrClearStencilClipOp final : public GrOp { 21 static std::unique_ptr<GrOp> Make(GrContext* context, 64 typedef GrOp INHERITED;
|
/external/skia/src/gpu/ops/ |
D | GrOp.cpp | 10 std::atomic<uint32_t> GrOp::gCurrOpClassID {GrOp::kIllegalOpID + 1}; 11 std::atomic<uint32_t> GrOp::gCurrOpUniqueID{GrOp::kIllegalOpID + 1}; 13 GrOp::GrOp(uint32_t classID) : fClassID(classID) { in GrOp() function in GrOp 19 GrOp::CombineResult GrOp::combineIfPossible(GrOp* that, SkArenaAlloc* alloc, const GrCaps& caps) { in combineIfPossible() 31 void GrOp::chainConcat(GrOp::Owner next) { in chainConcat() 40 GrOp::Owner GrOp::cutChain() { in cutChain() 49 void GrOp::validateChain(GrOp* expectedTail) const { in validateChain() 52 const GrOp* op = this; in validateChain()
|
D | GrOp.h | 69 class GrOp : private SkNoncopyable { 71 using Owner = std::unique_ptr<GrOp>; 90 virtual ~GrOp() = default; 121 CombineResult combineIfPossible(GrOp* that, SkArenaAlloc* alloc, const GrCaps& caps); 213 template <typename OpSubclass = GrOp> class ChainRange { 239 void chainConcat(GrOp::Owner); 245 GrOp* nextInChain() const { return fNextInChain.get(); } in nextInChain() 247 GrOp* prevInChain() const { return fPrevInChain; } in prevInChain() 252 GrOp::Owner cutChain(); 253 SkDEBUGCODE(void validateChain(GrOp* expectedTail = nullptr) const); [all …]
|
D | GrDrawableOp.h | 19 class GrDrawableOp final : public GrOp { 23 static GrOp::Owner Make(GrRecordingContext*, 30 friend class GrOp; // for ctor 34 CombineResult onCombineIfPossible(GrOp* that, SkArenaAlloc*, const GrCaps& caps) override { in onCombineIfPossible() 51 using INHERITED = GrOp;
|
D | GrClearOp.h | 18 class GrClearOp final : public GrOp { 23 static GrOp::Owner MakeColor(GrRecordingContext* context, 27 static GrOp::Owner MakeStencilClip(GrRecordingContext* context, 36 friend class GrOp; // for ctors 51 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override; 79 using INHERITED = GrOp;
|
D | GrOvalOpFactory.h | 29 static GrOp::Owner MakeCircleOp(GrRecordingContext*, 36 static GrOp::Owner MakeOvalOp(GrRecordingContext*, 43 static GrOp::Owner MakeCircularRRectOp(GrRecordingContext*, 50 static GrOp::Owner MakeRRectOp(GrRecordingContext*, 57 static GrOp::Owner MakeArcOp(GrRecordingContext*,
|
D | GrClearOp.cpp | 21 GrOp::Owner GrClearOp::MakeColor(GrRecordingContext* context, in MakeColor() 24 return GrOp::Make<GrClearOp>(context, Buffer::kColor, scissor, color, false); in MakeColor() 27 GrOp::Owner GrClearOp::MakeStencilClip(GrRecordingContext* context, in MakeStencilClip() 30 return GrOp::Make<GrClearOp>(context, in MakeStencilClip() 49 GrOp::CombineResult GrClearOp::onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) { in onCombineIfPossible()
|
D | GrSimpleMeshDrawOpHelper.h | 37 static GrOp::Owner FactoryHelper(GrRecordingContext*, GrPaint&&, OpArgs&&...); 98 void visitProxies(const GrOp::VisitProxyFunc& func) const { in visitProxies() 194 GrOp::Owner GrOp::MakeWithProcessorSet( in MakeWithProcessorSet() 204 GrOp::Owner GrSimpleMeshDrawOpHelper::FactoryHelper(GrRecordingContext* context, in FactoryHelper() 209 return GrOp::Make<Op>(context, nullptr, color, std::forward<OpArgs>(opArgs)...); in FactoryHelper() 211 return GrOp::MakeWithProcessorSet<Op>( in FactoryHelper()
|
D | GrFillRectOp.h | 33 static GrOp::Owner Make(GrRecordingContext* context, 43 static GrOp::Owner MakeNonAARect(GrRecordingContext* context, 68 static GrOp::Owner MakeOp(GrRecordingContext*,
|
/external/skia/src/gpu/ |
D | GrOpsTask.h | 72 void addOp(GrDrawingManager*, GrOp::Owner, GrTextureResolveManager, const GrCaps&); 74 void addDrawOp(GrDrawingManager*, GrOp::Owner, GrDrawOp::FixedFunctionFlags, 99 void visitProxies_debugOnly(const GrOp::VisitProxyFunc&) const override; 109 const GrOp* getChain(int index) const { return fOpChains[index].head(); } in getChain() 150 OpChain(GrOp::Owner, GrProcessorSet::Analysis, GrAppliedClip*, const DstProxyView*); 161 void visitProxies(const GrOp::VisitProxyFunc&) const; 163 GrOp* head() const { return fList.head(); } in head() 180 GrOp::Owner appendOp(GrOp::Owner op, GrProcessorSet::Analysis, const DstProxyView*, 192 List(GrOp::Owner); 197 GrOp* head() const { return fHead.get(); } in head() [all …]
|
D | GrOpsTask.cpp | 45 inline GrOpsTask::OpChain::List::List(GrOp::Owner op) in List() 60 inline GrOp::Owner GrOpsTask::OpChain::List::popHead() { in popHead() 71 inline GrOp::Owner GrOpsTask::OpChain::List::removeOp(GrOp* op) { in removeOp() 93 inline void GrOpsTask::OpChain::List::pushHead(GrOp::Owner op) { in pushHead() 106 inline void GrOpsTask::OpChain::List::pushTail(GrOp::Owner op) { in pushTail() 123 GrOpsTask::OpChain::OpChain(GrOp::Owner op, in OpChain() 136 void GrOpsTask::OpChain::visitProxies(const GrOp::VisitProxyFunc& func) const { in visitProxies() 140 for (const auto& op : GrOp::ChainRange<>(fList.head())) { in visitProxies() 173 GrOp* origATail = chainA.tail(); in DoConcat() 182 GrOp* a = origATail; in DoConcat() [all …]
|
/external/skqp/src/gpu/ |
D | GrRenderTargetOpList.h | 65 void addOp(std::unique_ptr<GrOp> op, const GrCaps& caps) { in addOp() 113 SkDEBUGCODE(void visitProxies_debugOnly(const GrOp::VisitProxyFunc&) const;) 145 OpChain(std::unique_ptr<GrOp>, GrProcessorSet::Analysis, GrAppliedClip*, const DstProxy*); 152 void visitProxies(const GrOp::VisitProxyFunc&, GrOp::VisitorType) const; 154 GrOp* head() const { return fList.head(); } in head() 171 std::unique_ptr<GrOp> appendOp(std::unique_ptr<GrOp> op, GrProcessorSet::Analysis, 179 List(std::unique_ptr<GrOp>); 184 GrOp* head() const { return fHead.get(); } in head() 185 GrOp* tail() const { return fTail; } in tail() 187 std::unique_ptr<GrOp> popHead(); [all …]
|
D | GrRenderTargetOpList.cpp | 39 inline GrRenderTargetOpList::OpChain::List::List(std::unique_ptr<GrOp> op) in List() 55 inline std::unique_ptr<GrOp> GrRenderTargetOpList::OpChain::List::popHead() { in popHead() 66 inline std::unique_ptr<GrOp> GrRenderTargetOpList::OpChain::List::removeOp(GrOp* op) { in removeOp() 88 inline void GrRenderTargetOpList::OpChain::List::pushHead(std::unique_ptr<GrOp> op) { in pushHead() 101 inline void GrRenderTargetOpList::OpChain::List::pushTail(std::unique_ptr<GrOp> op) { in pushTail() 118 GrRenderTargetOpList::OpChain::OpChain(std::unique_ptr<GrOp> op, in OpChain() 131 void GrRenderTargetOpList::OpChain::visitProxies(const GrOp::VisitProxyFunc& func, in visitProxies() 132 GrOp::VisitorType visitor) const { in visitProxies() 136 for (const auto& op : GrOp::ChainRange<>(fList.head())) { in visitProxies() 168 GrOp* origATail = chainA.tail(); in DoConcat() [all …]
|
D | GrTextureOpList.h | 19 class GrOp; variable 69 void recordOp(std::unique_ptr<GrOp>); 72 SkSTArray<2, std::unique_ptr<GrOp>, true> fRecordedOps;
|
/external/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() 96 class TestOp : public GrOp { 100 static GrOp::Owner Make(GrRecordingContext* context, int value, const Range& range, in Make() 102 return GrOp::Make<TestOp>(context, value, range, result, combinable); in Make() 118 friend class ::GrOp; // for ctor [all …]
|
D | TextureOpTest.cpp | 25 for (const auto& op : GrOp::ChainRange<>(chain->head())) { in check_chain() 50 static GrOp::Owner create_op(GrDirectContext* dContext, SkRect rect, in create_op() 102 GrOp::Owner opA = create_op(dContext, kOpARect, proxyViewA, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 103 GrOp::Owner opB = create_op(dContext, kOpBRect, proxyViewB, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 115 GrOp::Owner opC = create_op(dContext, kOpCRect, proxyViewC, true); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 116 GrOp::Owner opD = create_op(dContext, kOpDRect, proxyViewA, true); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skqp/tests/ |
D | OpChainTest.cpp | 47 using Combinable = std::array<GrOp::CombineResult, kNumCombinableValues>; 68 std::fill_n(combinable->begin(), kNumCombinableValues, GrOp::CombineResult::kCannotCombine); in init_combinable() 75 (*combinable)[combinable_index(i, j)] = GrOp::CombineResult::kMerged; in init_combinable() 77 (*combinable)[combinable_index(i, j)] = GrOp::CombineResult::kMayChain; in init_combinable() 80 (*combinable)[combinable_index(j, i)] = GrOp::CombineResult::kMerged; in init_combinable() 82 (*combinable)[combinable_index(j, i)] = GrOp::CombineResult::kMayChain; in init_combinable() 93 class TestOp : public GrOp { 133 CombineResult onCombineIfPossible(GrOp* t, const GrCaps&) override { in onCombineIfPossible() 138 if (result == GrOp::CombineResult::kMerged) { in onCombineIfPossible() 153 typedef GrOp INHERITED;
|
/external/skia/tools/gpu/ |
D | TestOps.h | 26 GrOp::Owner MakeRect(GrRecordingContext*, 36 GrOp::Owner MakeRect(GrRecordingContext*, 46 GrOp::Owner MakeRect(GrRecordingContext*, GrPaint&&, const SkRect& rect);
|
D | TestOps.cpp | 92 static GrOp::Owner Make(GrRecordingContext*, 146 friend class ::GrOp; 149 GrOp::Owner TestRectOp::Make(GrRecordingContext* context, in Make() 155 return GrOp::Make<TestRectOp>(context, caps, std::move(paint), drawRect, localRect, localM); in Make() 228 GrOp::Owner MakeRect(GrRecordingContext* context, in MakeRect() 236 GrOp::Owner MakeRect(GrRecordingContext* context, in MakeRect() 246 GrOp::Owner MakeRect(GrRecordingContext* context, in MakeRect()
|