Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/
DGrResourceAllocator.cpp21 uint32_t GrResourceAllocator::Interval::CreateUniqueID() { in CreateUniqueID()
30 uint32_t GrResourceAllocator::Register::CreateUniqueID() { in CreateUniqueID()
40 GrResourceAllocator::~GrResourceAllocator() { in ~GrResourceAllocator()
46 void GrResourceAllocator::addInterval(GrSurfaceProxy* proxy, unsigned int start, unsigned int end,
116 GrResourceAllocator::Register::Register(GrSurfaceProxy* originatingProxy, in Register()
136 bool GrResourceAllocator::Register::isRecyclable(const GrCaps& caps, in isRecyclable()
154 bool GrResourceAllocator::Register::instantiateSurface(GrSurfaceProxy* proxy, in instantiateSurface()
190 GrResourceAllocator::Interval* GrResourceAllocator::IntervalList::popHead() { in popHead()
207 void GrResourceAllocator::IntervalList::insertByIncreasingStart(Interval* intvl) { in insertByIncreasingStart()
238 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;
DGrDDLTask.cpp67 void GrDDLTask::gatherProxyIntervals(GrResourceAllocator* alloc) const { in gatherProxyIntervals()
DBUILD.bazel153 "GrResourceAllocator.cpp",
154 "GrResourceAllocator.h",
DGrDrawingManager.cpp203 GrResourceAllocator resourceAllocator(dContext); in flush()
405 bool GrDrawingManager::reorderTasks(GrResourceAllocator* resourceAllocator) { in reorderTasks()
/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
/third_party/skia/src/gpu/ops/
DOpsTask.cpp922 void OpsTask::gatherProxyIntervals(GrResourceAllocator* alloc) const { in gatherProxyIntervals()
935 alloc->addInterval(fDeferredProxies[i], 0, 0, GrResourceAllocator::ActualUse::kNo); in gatherProxyIntervals()
945 GrResourceAllocator::ActualUse::kYes); in gatherProxyIntervals()
951 GrResourceAllocator::ActualUse::kYes); in gatherProxyIntervals()
959 GrResourceAllocator::ActualUse::kYes in gatherProxyIntervals()
DOpsTask.h244 void gatherProxyIntervals(GrResourceAllocator*) const override;
/third_party/skia/gn/
Dgpu.gni172 "$_src/gpu/GrResourceAllocator.cpp",
173 "$_src/gpu/GrResourceAllocator.h",