Home
last modified time | relevance | path

Searched refs:GrResourceAllocator (Results 1 – 25 of 38) sorted by relevance

12

/third_party/flutter/skia/src/gpu/
DGrResourceAllocator.cpp24 uint32_t GrResourceAllocator::Interval::CreateUniqueID() { in CreateUniqueID()
34 void GrResourceAllocator::Interval::assign(sk_sp<GrSurface> s) { in assign()
40 void GrResourceAllocator::determineRecyclability() { in determineRecyclability()
56 void GrResourceAllocator::markEndOfOpList(int opListIndex) { in markEndOfOpList()
68 GrResourceAllocator::~GrResourceAllocator() { in ~GrResourceAllocator()
74 void GrResourceAllocator::addInterval(GrSurfaceProxy* proxy, unsigned int start, unsigned int end,
166 GrResourceAllocator::Interval* GrResourceAllocator::IntervalList::popHead() { in popHead()
183 void GrResourceAllocator::IntervalList::insertByIncreasingStart(Interval* intvl) { in insertByIncreasingStart()
214 void GrResourceAllocator::IntervalList::insertByIncreasingEnd(Interval* intvl) { in insertByIncreasingEnd()
245 void GrResourceAllocator::IntervalList::validate() const { in validate()
[all …]
DGrTextureResolveRenderTask.cpp42 void GrTextureResolveRenderTask::gatherProxyIntervals(GrResourceAllocator* alloc) const { in gatherProxyIntervals()
47 GrResourceAllocator::ActualUse::kYes); in gatherProxyIntervals()
DGrTextureOpList.cpp228 void GrTextureOpList::gatherProxyIntervals(GrResourceAllocator* alloc) const { in gatherProxyIntervals()
235 GrResourceAllocator::ActualUse::kYes); in gatherProxyIntervals()
241 GrResourceAllocator::ActualUse::kYes); in gatherProxyIntervals()
246 alloc->addInterval(p, alloc->curOp(), alloc->curOp(), GrResourceAllocator::ActualUse::kYes in gatherProxyIntervals()
DGrResourceAllocator.h69 class GrResourceAllocator {
71 GrResourceAllocator(GrResourceProvider* resourceProvider,
79 ~GrResourceAllocator();
DGrRenderTask.h20 class GrResourceAllocator; variable
118 virtual void gatherProxyIntervals(GrResourceAllocator*) const = 0;
DGrTextureResolveRenderTask.h31 void gatherProxyIntervals(GrResourceAllocator*) const override;
DGrTextureOpList.h65 void gatherProxyIntervals(GrResourceAllocator*) const override;
/third_party/skia/src/gpu/
DGrResourceAllocator.cpp20 uint32_t GrResourceAllocator::Interval::CreateUniqueID() { in CreateUniqueID()
29 uint32_t GrResourceAllocator::Register::CreateUniqueID() { in CreateUniqueID()
39 GrResourceAllocator::~GrResourceAllocator() { in ~GrResourceAllocator()
45 void GrResourceAllocator::addInterval(GrSurfaceProxy* proxy, unsigned int start, unsigned int end,
107 GrResourceAllocator::Register::Register(GrSurfaceProxy* originatingProxy, in Register()
126 bool GrResourceAllocator::Register::isRecyclable(const GrCaps& caps, in isRecyclable()
144 bool GrResourceAllocator::Register::instantiateSurface(GrSurfaceProxy* proxy, in instantiateSurface()
180 GrResourceAllocator::Interval* GrResourceAllocator::IntervalList::popHead() { in popHead()
197 void GrResourceAllocator::IntervalList::insertByIncreasingStart(Interval* intvl) { in insertByIncreasingStart()
228 void GrResourceAllocator::IntervalList::insertByIncreasingEnd(Interval* intvl) { in insertByIncreasingEnd()
[all …]
DGrCopyRenderTask.cpp51 void GrCopyRenderTask::gatherProxyIntervals(GrResourceAllocator* alloc) const { in gatherProxyIntervals()
60 GrResourceAllocator::ActualUse::kYes); in gatherProxyIntervals()
62 GrResourceAllocator::ActualUse::kYes); in gatherProxyIntervals()
DGrTransferFromRenderTask.cpp15 void GrTransferFromRenderTask::gatherProxyIntervals(GrResourceAllocator* alloc) const { in gatherProxyIntervals()
20 GrResourceAllocator::ActualUse::kYes); in gatherProxyIntervals()
DGrWaitRenderTask.cpp14 void GrWaitRenderTask::gatherProxyIntervals(GrResourceAllocator* alloc) const { in gatherProxyIntervals()
21 GrResourceAllocator::ActualUse::kYes); in gatherProxyIntervals()
DGrResourceAllocator.h78 class GrResourceAllocator {
80 GrResourceAllocator(GrDirectContext* dContext) in GrResourceAllocator() function
83 ~GrResourceAllocator();
DGrWritePixelsRenderTask.cpp45 void GrWritePixelsTask::gatherProxyIntervals(GrResourceAllocator* alloc) const { in gatherProxyIntervals()
47 GrResourceAllocator::ActualUse::kYes); in gatherProxyIntervals()
DGrTextureResolveRenderTask.cpp52 void GrTextureResolveRenderTask::gatherProxyIntervals(GrResourceAllocator* alloc) const { in gatherProxyIntervals()
59 alloc->addInterval(target.get(), fakeOp, fakeOp, GrResourceAllocator::ActualUse::kYes); in gatherProxyIntervals()
DGrDrawingManager.h36 class GrResourceAllocator; variable
187 bool reorderTasks(GrResourceAllocator*);
DGrRenderTask.h20 class GrResourceAllocator; variable
139 virtual void gatherProxyIntervals(GrResourceAllocator*) const = 0;
DGrTextureResolveRenderTask.h24 void gatherProxyIntervals(GrResourceAllocator*) const override;
DGrWaitRenderTask.h28 void gatherProxyIntervals(GrResourceAllocator*) const override;
DGrWritePixelsRenderTask.h33 void gatherProxyIntervals(GrResourceAllocator*) const override;
DGrCopyRenderTask.h36 void gatherProxyIntervals(GrResourceAllocator*) const override;
DGrDDLTask.h42 void gatherProxyIntervals(GrResourceAllocator*) const override;
DGrTransferFromRenderTask.h34 void gatherProxyIntervals(GrResourceAllocator*) const override;
/third_party/flutter/skia/tests/
DResourceAllocatorTest.cpp80 GrResourceAllocator alloc(resourceProvider, &deinstantiateTracker SkDEBUGCODE(, 1)); in overlap_test()
82 alloc.addInterval(p1.get(), 0, 4, GrResourceAllocator::ActualUse::kYes); in overlap_test()
84 alloc.addInterval(p2.get(), 1, 2, GrResourceAllocator::ActualUse::kYes); in overlap_test()
91 GrResourceAllocator::AssignError error; in overlap_test()
93 REPORTER_ASSERT(reporter, GrResourceAllocator::AssignError::kNoError == error); in overlap_test()
107 GrResourceAllocator alloc(resourceProvider, &deinstantiateTracker SkDEBUGCODE(, 1)); in non_overlap_test()
116 alloc.addInterval(p1.get(), 0, 2, GrResourceAllocator::ActualUse::kYes); in non_overlap_test()
117 alloc.addInterval(p2.get(), 3, 5, GrResourceAllocator::ActualUse::kYes); in non_overlap_test()
123 GrResourceAllocator::AssignError error; in non_overlap_test()
125 REPORTER_ASSERT(reporter, GrResourceAllocator::AssignError::kNoError == error); in non_overlap_test()
[all …]
/third_party/skia/tests/
DResourceAllocatorTest.cpp160 GrResourceAllocator alloc(dContext); in overlap_test()
162 alloc.addInterval(p1.get(), 0, 4, GrResourceAllocator::ActualUse::kYes); in overlap_test()
164 alloc.addInterval(p2.get(), 1, 2, GrResourceAllocator::ActualUse::kYes); in overlap_test()
182 GrResourceAllocator alloc(dContext); in non_overlap_test()
191 alloc.addInterval(p1.get(), 0, 2, GrResourceAllocator::ActualUse::kYes); in non_overlap_test()
192 alloc.addInterval(p2.get(), 3, 5, GrResourceAllocator::ActualUse::kYes); in non_overlap_test()
399 GrResourceAllocator alloc(dContext); in memory_budget_test()
405 GrResourceAllocator::ActualUse::kYes); in memory_budget_test()
/third_party/skia/src/gpu/mock/
DGrMockRenderTask.h28 void gatherProxyIntervals(GrResourceAllocator*) const override {} in gatherProxyIntervals() argument

12