Home
last modified time | relevance | path

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

12

/external/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,
108 GrResourceAllocator::Register::Register(GrSurfaceProxy* originatingProxy, in Register()
127 bool GrResourceAllocator::Register::isRecyclable(const GrCaps& caps, in isRecyclable()
145 bool GrResourceAllocator::Register::instantiateSurface(GrSurfaceProxy* proxy, in instantiateSurface()
181 GrResourceAllocator::Interval* GrResourceAllocator::IntervalList::popHead() { in popHead()
198 void GrResourceAllocator::IntervalList::insertByIncreasingStart(Interval* intvl) { in insertByIncreasingStart()
229 void GrResourceAllocator::IntervalList::insertByIncreasingEnd(Interval* intvl) { in insertByIncreasingEnd()
[all …]
DGrCopyRenderTask.cpp50 void GrCopyRenderTask::gatherProxyIntervals(GrResourceAllocator* alloc) const { in gatherProxyIntervals()
59 GrResourceAllocator::ActualUse::kYes); in gatherProxyIntervals()
61 GrResourceAllocator::ActualUse::kYes); in gatherProxyIntervals()
DGrWaitRenderTask.cpp14 void GrWaitRenderTask::gatherProxyIntervals(GrResourceAllocator* alloc) const { in gatherProxyIntervals()
21 GrResourceAllocator::ActualUse::kYes); in gatherProxyIntervals()
DGrTransferFromRenderTask.cpp14 void GrTransferFromRenderTask::gatherProxyIntervals(GrResourceAllocator* alloc) const { in gatherProxyIntervals()
19 GrResourceAllocator::ActualUse::kYes); in gatherProxyIntervals()
DGrResourceAllocator.h69 class GrResourceAllocator {
71 GrResourceAllocator(GrDirectContext* dContext) in GrResourceAllocator() function
74 ~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.h35 class GrResourceAllocator; variable
166 bool reorderTasks(GrResourceAllocator*);
DGrTextureResolveRenderTask.h24 void gatherProxyIntervals(GrResourceAllocator*) const override;
DGrRenderTask.h22 class GrResourceAllocator; variable
140 virtual void gatherProxyIntervals(GrResourceAllocator*) const = 0;
DGrWritePixelsRenderTask.h33 void gatherProxyIntervals(GrResourceAllocator*) const override;
DGrWaitRenderTask.h28 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;
DGrOpsTask.cpp902 void GrOpsTask::gatherProxyIntervals(GrResourceAllocator* alloc) const { in gatherProxyIntervals()
915 alloc->addInterval(fDeferredProxies[i], 0, 0, GrResourceAllocator::ActualUse::kNo); in gatherProxyIntervals()
925 GrResourceAllocator::ActualUse::kYes); in gatherProxyIntervals()
931 GrResourceAllocator::ActualUse::kYes); in gatherProxyIntervals()
939 GrResourceAllocator::ActualUse::kYes in gatherProxyIntervals()
DGrDDLTask.cpp67 void GrDDLTask::gatherProxyIntervals(GrResourceAllocator* alloc) const { in gatherProxyIntervals()
/external/skqp/src/gpu/
DGrResourceAllocator.cpp24 uint32_t GrResourceAllocator::Interval::CreateUniqueID() { in CreateUniqueID()
34 void GrResourceAllocator::Interval::assign(sk_sp<GrSurface> s) { in assign()
41 void GrResourceAllocator::markEndOfOpList(int opListIndex) { in markEndOfOpList()
52 GrResourceAllocator::~GrResourceAllocator() { in ~GrResourceAllocator()
58 void GrResourceAllocator::addInterval(GrSurfaceProxy* proxy, unsigned int start, unsigned int end
120 GrResourceAllocator::Interval* GrResourceAllocator::IntervalList::popHead() { in popHead()
137 void GrResourceAllocator::IntervalList::insertByIncreasingStart(Interval* intvl) { in insertByIncreasingStart()
168 void GrResourceAllocator::IntervalList::insertByIncreasingEnd(Interval* intvl) { in insertByIncreasingEnd()
199 void GrResourceAllocator::IntervalList::validate() const { in validate()
210 GrResourceAllocator::Interval* GrResourceAllocator::IntervalList::detachAll() { in detachAll()
[all …]
DGrResourceAllocator.h43 class GrResourceAllocator {
45 GrResourceAllocator(GrResourceProvider* resourceProvider, GrDeinstantiateProxyTracker* tracker) in GrResourceAllocator() function
48 ~GrResourceAllocator();
DGrTextureOpList.h67 void gatherProxyIntervals(GrResourceAllocator*) const override;
DGrDrawingManager.cpp286 GrResourceAllocator alloc(fContext->contextPriv().resourceProvider(), in flush()
295 GrResourceAllocator::AssignError error = GrResourceAllocator::AssignError::kNoError; in flush()
298 if (GrResourceAllocator::AssignError::kFailedProxyInstantiation == error) { in flush()
/external/skqp/tests/
DResourceAllocatorTest.cpp94 GrResourceAllocator alloc(resourceProvider, &deinstantiateTracker); in overlap_test()
101 GrResourceAllocator::AssignError error; in overlap_test()
103 REPORTER_ASSERT(reporter, GrResourceAllocator::AssignError::kNoError == error); in overlap_test()
117 GrResourceAllocator alloc(resourceProvider, &deinstantiateTracker); in non_overlap_test()
124 GrResourceAllocator::AssignError error; in non_overlap_test()
126 REPORTER_ASSERT(reporter, GrResourceAllocator::AssignError::kNoError == error); in non_overlap_test()
345 GrResourceAllocator alloc(resourceProvider, &deinstantiateTracker); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
352 GrResourceAllocator::AssignError error; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/tests/
DResourceAllocatorTest.cpp158 GrResourceAllocator alloc(dContext); in overlap_test()
160 alloc.addInterval(p1.get(), 0, 4, GrResourceAllocator::ActualUse::kYes); in overlap_test()
162 alloc.addInterval(p2.get(), 1, 2, GrResourceAllocator::ActualUse::kYes); in overlap_test()
180 GrResourceAllocator alloc(dContext); in non_overlap_test()
189 alloc.addInterval(p1.get(), 0, 2, GrResourceAllocator::ActualUse::kYes); in non_overlap_test()
190 alloc.addInterval(p2.get(), 3, 5, GrResourceAllocator::ActualUse::kYes); in non_overlap_test()
397 GrResourceAllocator alloc(dContext); in memory_budget_test()
403 GrResourceAllocator::ActualUse::kYes); in memory_budget_test()
/external/skqp/include/private/
DGrOpList.h22 class GrResourceAllocator; variable
125 virtual void gatherProxyIntervals(GrResourceAllocator*) const = 0;
/external/skia/src/gpu/mock/
DGrMockRenderTask.h28 void gatherProxyIntervals(GrResourceAllocator*) const override {} in gatherProxyIntervals() argument

12