Home
last modified time | relevance | path

Searched refs:GrBufferAllocPool (Results 1 – 14 of 14) sorted by relevance

/external/skia/src/gpu/
DGrBufferAllocPool.h34 class GrBufferAllocPool : SkNoncopyable {
86 GrBufferAllocPool(GrGpu* gpu, GrGpuBufferType bufferType, sk_sp<CpuBufferCache> cpuBufferCache);
88 virtual ~GrBufferAllocPool();
172 class GrVertexBufferAllocPool : public GrBufferAllocPool {
245 using INHERITED = GrBufferAllocPool;
251 class GrIndexBufferAllocPool : public GrBufferAllocPool {
315 using INHERITED = GrBufferAllocPool;
318 class GrDrawIndirectBufferAllocPool : private GrBufferAllocPool {
321 : GrBufferAllocPool(gpu, GrGpuBufferType::kDrawIndirect, std::move(cpuBufferCache)) {} in GrDrawIndirectBufferAllocPool()
324 return this->GrBufferAllocPool::makeSpace(drawCount * sizeof(GrDrawIndirectCommand), 4, in makeSpace()
[all …]
DGrBufferAllocPool.cpp23 sk_sp<GrBufferAllocPool::CpuBufferCache> GrBufferAllocPool::CpuBufferCache::Make( in Make()
28 GrBufferAllocPool::CpuBufferCache::CpuBufferCache(int maxBuffersToCache) in CpuBufferCache()
35 sk_sp<GrCpuBuffer> GrBufferAllocPool::CpuBufferCache::makeBuffer(size_t size, in makeBuffer()
64 void GrBufferAllocPool::CpuBufferCache::releaseAll() { in releaseAll()
88 constexpr size_t GrBufferAllocPool::kDefaultBufferSize;
90 GrBufferAllocPool::GrBufferAllocPool(GrGpu* gpu, GrGpuBufferType bufferType, in GrBufferAllocPool() function in GrBufferAllocPool
97 void GrBufferAllocPool::deleteBlocks() { in deleteBlocks()
110 GrBufferAllocPool::~GrBufferAllocPool() { in ~GrBufferAllocPool()
115 void GrBufferAllocPool::reset() { in reset()
123 void GrBufferAllocPool::unmap() { in unmap()
[all …]
DGrDrawingManager.h196 sk_sp<GrBufferAllocPool::CpuBufferCache> fCpuBufferCache;
DGrOpFlushState.cpp25 sk_sp<GrBufferAllocPool::CpuBufferCache> cpuBufferCache) in GrOpFlushState()
DGrOpFlushState.h33 sk_sp<GrBufferAllocPool::CpuBufferCache> = nullptr);
DGrDrawingManager.cpp147 fCpuBufferCache = GrBufferAllocPool::CpuBufferCache::Make(maxCachedBuffers); in flush()
/external/skqp/src/gpu/
DGrBufferAllocPool.cpp37 constexpr size_t GrBufferAllocPool::kDefaultBufferSize;
39 GrBufferAllocPool::GrBufferAllocPool(GrGpu* gpu, GrBufferType bufferType, void* initialBuffer) in GrBufferAllocPool() function in GrBufferAllocPool
47 void GrBufferAllocPool::deleteBlocks() { in deleteBlocks()
60 GrBufferAllocPool::~GrBufferAllocPool() { in ~GrBufferAllocPool()
68 void GrBufferAllocPool::reset() { in reset()
76 void GrBufferAllocPool::unmap() { in unmap()
93 void GrBufferAllocPool::validate(bool unusedBlockAllowed) const { in validate()
129 void* GrBufferAllocPool::makeSpace(size_t size, in makeSpace()
181 void* GrBufferAllocPool::makeSpaceAtLeast(size_t minSize, in makeSpaceAtLeast()
246 void GrBufferAllocPool::putBack(size_t bytes) { in putBack()
[all …]
DGrBufferAllocPool.h32 class GrBufferAllocPool : SkNoncopyable {
62 GrBufferAllocPool(GrGpu* gpu, GrBufferType bufferType, void* initialBuffer);
64 virtual ~GrBufferAllocPool();
149 class GrVertexBufferAllocPool : public GrBufferAllocPool {
222 typedef GrBufferAllocPool INHERITED;
228 class GrIndexBufferAllocPool : public GrBufferAllocPool {
292 typedef GrBufferAllocPool INHERITED;
DGrDrawingManager.cpp234 fVertexBufferSpace.reset(new char[GrBufferAllocPool::kDefaultBufferSize]()); in flush()
235 fIndexBufferSpace.reset(new char[GrBufferAllocPool::kDefaultBufferSize]()); in flush()
/external/skia/src/gpu/ops/
DGrAtlasTextOp.cpp255 static const int kMaxVertexBytes = GrBufferAllocPool::kDefaultBufferSize; in onPrepareDraws()
/external/skqp/gn/
Dgpu.gni67 "$_src/gpu/GrBufferAllocPool.cpp",
68 "$_src/gpu/GrBufferAllocPool.h",
/external/skia/gn/
Dgpu.gni59 "$_src/gpu/GrBufferAllocPool.cpp",
60 "$_src/gpu/GrBufferAllocPool.h",
/external/skqp/
DAndroid.bp833 "src/gpu/GrBufferAllocPool.cpp",
/external/skia/
DAndroid.bp437 "src/gpu/GrBufferAllocPool.cpp",
1421 "src/gpu/GrBufferAllocPool.cpp",