/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 | GrClearStencilClipOp.h | 17 class GrClearStencilClipOp final : public GrOp { 21 static std::unique_ptr<GrOp> Make(GrContext* context, 64 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;
|
/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}; 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 | 19 class GrSemaphoreOp : public GrOp { 21 static std::unique_ptr<GrOp> MakeWait(GrRecordingContext*, 37 typedef GrOp INHERITED;
|
D | GrDebugMarkerOp.h | 17 class GrDebugMarkerOp final : public GrOp { 21 static std::unique_ptr<GrOp> Make(GrRecordingContext*, 51 typedef GrOp INHERITED;
|
D | GrDrawableOp.h | 19 class GrDrawableOp final : public GrOp { 40 CombineResult onCombineIfPossible(GrOp* that, const GrCaps& caps) override { in onCombineIfPossible() 49 typedef GrOp INHERITED;
|
D | GrStencilPathOp.h | 19 class GrStencilPathOp final : public GrOp { 23 static std::unique_ptr<GrOp> Make(GrRecordingContext* context, 72 typedef GrOp INHERITED;
|
D | GrClearStencilClipOp.h | 18 class GrClearStencilClipOp final : public GrOp { 22 static std::unique_ptr<GrOp> Make(GrRecordingContext* context, 65 typedef GrOp INHERITED;
|
/external/skia/src/gpu/ |
D | GrRenderTargetOpList.h | 65 void addOp(std::unique_ptr<GrOp> op, const GrCaps& caps) { in addOp() 75 void addWaitOp(std::unique_ptr<GrOp> op, const GrCaps& caps) { in addWaitOp() 118 SkDEBUGCODE(void visitProxies_debugOnly(const GrOp::VisitProxyFunc&) const;) 150 OpChain(std::unique_ptr<GrOp>, GrProcessorSet::Analysis, GrAppliedClip*, const DstProxy*); 157 void visitProxies(const GrOp::VisitProxyFunc&, GrOp::VisitorType) const; 159 GrOp* head() const { return fList.head(); } in head() 176 std::unique_ptr<GrOp> appendOp(std::unique_ptr<GrOp> op, GrProcessorSet::Analysis, 184 List(std::unique_ptr<GrOp>); 189 GrOp* head() const { return fHead.get(); } in head() 190 GrOp* tail() const { return fTail; } in tail() [all …]
|
D | GrRenderTargetOpList.cpp | 41 inline GrRenderTargetOpList::OpChain::List::List(std::unique_ptr<GrOp> op) in List() 57 inline std::unique_ptr<GrOp> GrRenderTargetOpList::OpChain::List::popHead() { in popHead() 68 inline std::unique_ptr<GrOp> GrRenderTargetOpList::OpChain::List::removeOp(GrOp* op) { in removeOp() 90 inline void GrRenderTargetOpList::OpChain::List::pushHead(std::unique_ptr<GrOp> op) { in pushHead() 103 inline void GrRenderTargetOpList::OpChain::List::pushTail(std::unique_ptr<GrOp> op) { in pushTail() 120 GrRenderTargetOpList::OpChain::OpChain(std::unique_ptr<GrOp> op, in OpChain() 133 void GrRenderTargetOpList::OpChain::visitProxies(const GrOp::VisitProxyFunc& func, in visitProxies() 134 GrOp::VisitorType visitor) const { in visitProxies() 138 for (const auto& op : GrOp::ChainRange<>(fList.head())) { in visitProxies() 170 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;
|
D | GrTextureOpList.cpp | 148 std::unique_ptr<GrOp> op = GrCopySurfaceOp::Make(context, dst, src, srcRect, dstPoint); in copySurface() 171 const GrOp* op = fRecordedOps[i].get(); // only diff from the GrRenderTargetOpList version in purgeOpsWithUninstantiatedProxies() 201 const GrOp* op = fRecordedOps[i].get(); // only diff from the GrRenderTargetOpList version in gatherProxyIntervals() 203 op->visitProxies(gather, GrOp::VisitorType::kAllocatorGather); in gatherProxyIntervals() 212 void GrTextureOpList::recordOp(std::unique_ptr<GrOp> op) { in recordOp()
|
/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 | 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/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/include/private/ |
D | GrAuditTrail.h | 19 class GrOp; variable 85 void addOp(const GrOp*, GrRenderTargetProxy::UniqueID proxyID); 87 void opsCombined(const GrOp* consumer, const GrOp* consumed);
|
/external/skqp/include/private/ |
D | GrAuditTrail.h | 19 class GrOp; variable 85 void addOp(const GrOp*, GrRenderTargetProxy::UniqueID proxyID); 87 void opsCombined(const GrOp* consumer, const GrOp* consumed);
|