Home
last modified time | relevance | path

Searched refs:GrVkBuffer (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/gpu/vk/
DGrVkTransferBuffer.cpp13 GrVkTransferBuffer* GrVkTransferBuffer::Create(GrVkGpu* gpu, size_t size, GrVkBuffer::Type type) { in Create()
14 GrVkBuffer::Desc desc; in Create()
16 SkASSERT(GrVkBuffer::kCopyRead_Type == type || GrVkBuffer::kCopyWrite_Type == type); in Create()
20 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Create()
32 GrVkTransferBuffer::GrVkTransferBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkTransferBuffer()
33 const GrVkBuffer::Resource* bufferResource) in GrVkTransferBuffer()
35 , GrVkBuffer(desc, bufferResource) { in GrVkTransferBuffer()
DGrVkBuffer.cpp21 const GrVkBuffer::Resource* GrVkBuffer::Create(const GrVkGpu* gpu, const Desc& desc) { in Create()
70 const GrVkBuffer::Resource* resource = new GrVkBuffer::Resource(buffer, alloc); in Create()
81 void GrVkBuffer::addMemoryBarrier(const GrVkGpu* gpu, in addMemoryBarrier()
103 void GrVkBuffer::Resource::freeGPUData(const GrVkGpu* gpu) const { in freeGPUData()
110 void GrVkBuffer::vkRelease(const GrVkGpu* gpu) { in vkRelease()
118 void GrVkBuffer::vkAbandon() { in vkAbandon()
124 void* GrVkBuffer::vkMap(const GrVkGpu* gpu) { in vkMap()
137 void GrVkBuffer::vkUnmap(const GrVkGpu* gpu) { in vkUnmap()
146 bool GrVkBuffer::vkIsMapped() const { in vkIsMapped()
151 bool GrVkBuffer::vkUpdateData(const GrVkGpu* gpu, const void* src, size_t srcSizeInBytes) { in vkUpdateData()
[all …]
DGrVkIndexBuffer.cpp11 GrVkIndexBuffer::GrVkIndexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkIndexBuffer()
12 const GrVkBuffer::Resource* bufferResource) in GrVkIndexBuffer()
14 , GrVkBuffer(desc, bufferResource) { in GrVkIndexBuffer()
19 GrVkBuffer::Desc desc; in Create()
21 desc.fType = GrVkBuffer::kIndex_Type; in Create()
24 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Create()
DGrVkVertexBuffer.cpp11 GrVkVertexBuffer::GrVkVertexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkVertexBuffer()
12 const GrVkBuffer::Resource* bufferResource) in GrVkVertexBuffer()
14 , GrVkBuffer(desc, bufferResource) { in GrVkVertexBuffer()
19 GrVkBuffer::Desc desc; in Create()
21 desc.fType = GrVkBuffer::kVertex_Type; in Create()
24 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Create()
DGrVkUniformBuffer.cpp16 GrVkBuffer::Desc desc; in Create()
18 desc.fType = GrVkBuffer::kUniform_Type; in Create()
21 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Create()
DGrVkUniformBuffer.h16 class GrVkUniformBuffer : public GrVkBuffer {
38 GrVkUniformBuffer(const GrVkBuffer::Desc& desc, const GrVkBuffer::Resource* resource) in GrVkUniformBuffer()
42 typedef GrVkBuffer INHERITED;
DGrVkTransferBuffer.h17 class GrVkTransferBuffer : public GrTransferBuffer, public GrVkBuffer {
20 static GrVkTransferBuffer* Create(GrVkGpu* gpu, size_t size, GrVkBuffer::Type type);
27 GrVkTransferBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc,
28 const GrVkBuffer::Resource* resource);
DGrVkBuffer.h20 class GrVkBuffer : public SkNoncopyable {
22 ~GrVkBuffer() { in ~GrVkBuffer()
70 GrVkBuffer(const Desc& desc, const GrVkBuffer::Resource* resource) in GrVkBuffer() function
DGrVkVertexBuffer.h17 class GrVkVertexBuffer : public GrVertexBuffer, public GrVkBuffer {
26 GrVkVertexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc,
27 const GrVkBuffer::Resource* resource);
DGrVkIndexBuffer.h17 class GrVkIndexBuffer : public GrIndexBuffer, public GrVkBuffer {
27 GrVkIndexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc,
28 const GrVkBuffer::Resource* resource);
DGrVkGpu.cpp233 GrVkBuffer::Type bufferType = kCpuToGpu_TransferType ? GrVkBuffer::kCopyRead_Type in onCreateTransferBuffer()
234 : GrVkBuffer::kCopyWrite_Type; in onCreateTransferBuffer()
385 GrVkTransferBuffer::Create(this, trimRowBytes * height, GrVkBuffer::kCopyRead_Type); in uploadTexData()
/external/skia/gyp/
Dgpu.gypi438 '<(skia_src_path)/gpu/vk/GrVkBuffer.cpp',
439 '<(skia_src_path)/gpu/vk/GrVkBuffer.h',