Home
last modified time | relevance | path

Searched refs:GrBufferType (Results 1 – 24 of 24) sorted by relevance

/external/skqp/src/gpu/
DGrBuffer.h21 GrBufferType,
28 static void ComputeScratchKeyForDynamicVBO(size_t size, GrBufferType, GrScratchKey*);
104 GrBuffer(GrGpu*, size_t sizeInBytes, GrBufferType, GrAccessPattern);
112 GrBuffer(GrGpu*, size_t sizeInBytes, GrBufferType, void* cpuData);
125 GrBufferType fIntendedType;
DGrBuffer.cpp12 sk_sp<GrBuffer> GrBuffer::MakeCPUBacked(GrGpu* gpu, size_t sizeInBytes, GrBufferType intendedType, in MakeCPUBacked()
27 GrBuffer::GrBuffer(GrGpu* gpu, size_t sizeInBytes, GrBufferType type, void* cpuData) in GrBuffer()
37 GrBuffer::GrBuffer(GrGpu* gpu, size_t sizeInBytes, GrBufferType type, GrAccessPattern pattern) in GrBuffer()
47 void GrBuffer::ComputeScratchKeyForDynamicVBO(size_t size, GrBufferType intendedType, in ComputeScratchKeyForDynamicVBO()
DGrOnFlushResourceProvider.h89 sk_sp<GrBuffer> makeBuffer(GrBufferType, size_t, const void* data = nullptr);
92 sk_sp<const GrBuffer> findOrMakeStaticBuffer(GrBufferType, size_t, const void* data,
DGrBufferAllocPool.h62 GrBufferAllocPool(GrGpu* gpu, GrBufferType bufferType, void* initialBuffer);
139 GrBufferType fBufferType;
DGrOnFlushResourceProvider.cpp76 sk_sp<GrBuffer> GrOnFlushResourceProvider::makeBuffer(GrBufferType intendedType, size_t size, in makeBuffer()
85 sk_sp<const GrBuffer> GrOnFlushResourceProvider::findOrMakeStaticBuffer(GrBufferType intendedType, in findOrMakeStaticBuffer()
DGrResourceProvider.h148 sk_sp<const GrBuffer> findOrMakeStaticBuffer(GrBufferType intendedType, size_t size,
208 sk_sp<GrBuffer> createBuffer(size_t size, GrBufferType intendedType, GrAccessPattern, Flags,
DGrGpu.h143 sk_sp<GrBuffer> createBuffer(size_t size, GrBufferType intendedType,
470 virtual sk_sp<GrBuffer> onCreateBuffer(size_t size, GrBufferType intendedType, GrAccessPattern,
DGrResourceProvider.cpp288 sk_sp<const GrBuffer> GrResourceProvider::findOrMakeStaticBuffer(GrBufferType intendedType, in findOrMakeStaticBuffer()
363 sk_sp<GrBuffer> GrResourceProvider::createBuffer(size_t size, GrBufferType intendedType, in createBuffer()
DGrBufferAllocPool.cpp39 GrBufferAllocPool::GrBufferAllocPool(GrGpu* gpu, GrBufferType bufferType, void* initialBuffer) in GrBufferAllocPool()
DGrGpu.cpp220 sk_sp<GrBuffer> GrGpu::createBuffer(size_t size, GrBufferType intendedType, in createBuffer()
/external/skqp/src/gpu/mtl/
DGrMtlBuffer.h20 static sk_sp<GrMtlBuffer> Make(GrMtlGpu*, size_t size, GrBufferType intendedType,
28 GrMtlBuffer(GrMtlGpu*, size_t size, GrBufferType intendedType, GrAccessPattern);
47 GrBufferType fIntendedType;
DGrMtlBuffer.mm19 sk_sp<GrMtlBuffer> GrMtlBuffer::Make(GrMtlGpu* gpu, size_t size, GrBufferType intendedType,
31 GrMtlBuffer::GrMtlBuffer(GrMtlGpu* gpu, size_t size, GrBufferType intendedType,
DGrMtlGpu.h146 sk_sp<GrBuffer> onCreateBuffer(size_t, GrBufferType, GrAccessPattern, const void*) override;
DGrMtlGpu.mm134 sk_sp<GrBuffer> GrMtlGpu::onCreateBuffer(size_t size, GrBufferType type,
/external/skqp/src/gpu/gl/
DGrGLBuffer.h19 static sk_sp<GrGLBuffer> Make(GrGLGpu*, size_t size, GrBufferType intendedType, GrAccessPattern,
39 GrGLBuffer(GrGLGpu*, size_t size, GrBufferType intendedType, GrAccessPattern, const void* data);
58 GrBufferType fIntendedType;
DGrGLBuffer.cpp32 sk_sp<GrGLBuffer> GrGLBuffer::Make(GrGLGpu* gpu, size_t size, GrBufferType intendedType, in Make()
51 inline static GrGLenum gr_to_gl_access_pattern(GrBufferType bufferType, in gr_to_gl_access_pattern()
94 GrGLBuffer::GrGLBuffer(GrGLGpu* gpu, size_t size, GrBufferType intendedType, in GrGLBuffer()
DGrGLGpu.h77 GrGLenum bindBuffer(GrBufferType type, const GrBuffer*);
190 sk_sp<GrBuffer> onCreateBuffer(size_t size, GrBufferType intendedType, GrAccessPattern,
DGrGLGpu.cpp1859 sk_sp<GrBuffer> GrGLGpu::onCreateBuffer(size_t size, GrBufferType intendedType, in onCreateBuffer()
2110 GrGLenum GrGLGpu::bindBuffer(GrBufferType type, const GrBuffer* buffer) { in bindBuffer()
/external/skqp/src/gpu/mock/
DGrMockBuffer.h17 GrMockBuffer(GrMockGpu* gpu, size_t sizeInBytes, GrBufferType type, in GrMockBuffer()
DGrMockGpu.h75 sk_sp<GrBuffer> onCreateBuffer(size_t sizeInBytes, GrBufferType, GrAccessPattern,
DGrMockGpu.cpp186 sk_sp<GrBuffer> GrMockGpu::onCreateBuffer(size_t sizeInBytes, GrBufferType type, in onCreateBuffer()
/external/skqp/src/gpu/vk/
DGrVkGpu.h201 sk_sp<GrBuffer> onCreateBuffer(size_t size, GrBufferType type, GrAccessPattern,
DGrVkGpu.cpp346 sk_sp<GrBuffer> GrVkGpu::onCreateBuffer(size_t size, GrBufferType type, in onCreateBuffer()
/external/skqp/include/private/
DGrTypesPriv.h824 enum GrBufferType { enum
836 static inline bool GrBufferTypeIsVertexOrIndex(GrBufferType type) { in GrBufferTypeIsVertexOrIndex()