Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/vk/
DGrVkBuffer.cpp22 const GrVkBuffer::Resource* GrVkBuffer::Create(const GrVkGpu* gpu, const Desc& desc) { in Create()
73 const GrVkBuffer::Resource* resource = new GrVkBuffer::Resource(buffer, alloc, desc.fType); in Create()
83 void GrVkBuffer::addMemoryBarrier(const GrVkGpu* gpu, in addMemoryBarrier()
105 void GrVkBuffer::Resource::freeGPUData(const GrVkGpu* gpu) const { in freeGPUData()
112 void GrVkBuffer::vkRelease(const GrVkGpu* gpu) { in vkRelease()
123 void GrVkBuffer::vkAbandon() { in vkAbandon()
133 VkAccessFlags buffer_type_to_access_flags(GrVkBuffer::Type type) { in buffer_type_to_access_flags()
135 case GrVkBuffer::kIndex_Type: in buffer_type_to_access_flags()
137 case GrVkBuffer::kVertex_Type: in buffer_type_to_access_flags()
147 void GrVkBuffer::internalMap(GrVkGpu* gpu, size_t size, bool* createdNewBuffer) { in internalMap()
[all …]
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()
38 , GrVkBuffer(desc, bufferResource) { in GrVkTransferBuffer()
DGrVkUniformBuffer.h15 class GrVkUniformBuffer : public GrVkBuffer {
38 class Resource : public GrVkBuffer::Resource {
45 typedef GrVkBuffer::Resource INHERITED;
48 const GrVkBuffer::Resource* createResource(GrVkGpu* gpu,
49 const GrVkBuffer::Desc& descriptor) override;
51 GrVkUniformBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkUniformBuffer()
55 typedef GrVkBuffer INHERITED;
DGrVkVertexBuffer.cpp11 GrVkVertexBuffer::GrVkVertexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkVertexBuffer()
12 const GrVkBuffer::Resource* bufferResource) in GrVkVertexBuffer()
15 , GrVkBuffer(desc, bufferResource) { in GrVkVertexBuffer()
20 GrVkBuffer::Desc desc; in Create()
22 desc.fType = GrVkBuffer::kVertex_Type; in Create()
25 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Create()
DGrVkIndexBuffer.cpp11 GrVkIndexBuffer::GrVkIndexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkIndexBuffer()
12 const GrVkBuffer::Resource* bufferResource) in GrVkIndexBuffer()
15 , GrVkBuffer(desc, bufferResource) { in GrVkIndexBuffer()
20 GrVkBuffer::Desc desc; in Create()
22 desc.fType = GrVkBuffer::kIndex_Type; in Create()
25 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Create()
DGrVkTexelBuffer.cpp12 GrVkTexelBuffer::GrVkTexelBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkTexelBuffer()
13 const GrVkBuffer::Resource* bufferResource) in GrVkTexelBuffer()
16 , GrVkBuffer(desc, bufferResource) { in GrVkTexelBuffer()
21 GrVkBuffer::Desc desc; in Create()
23 desc.fType = GrVkBuffer::kTexel_Type; in Create()
26 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Create()
DGrVkTransferBuffer.h16 class GrVkTransferBuffer : public GrBuffer, public GrVkBuffer {
19 static GrVkTransferBuffer* Create(GrVkGpu* gpu, size_t size, GrVkBuffer::Type type);
26 GrVkTransferBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc,
27 const GrVkBuffer::Resource* resource);
DGrVkUniformBuffer.cpp27 GrVkBuffer::Desc desc; in Create()
29 desc.fType = GrVkBuffer::kUniform_Type; in Create()
85 const GrVkBuffer::Resource* GrVkUniformBuffer::createResource(GrVkGpu* gpu, in createResource()
86 const GrVkBuffer::Desc& descriptor) { in createResource()
94 return (const GrVkBuffer::Resource*) vkResource; in createResource()
DGrVkTexelBuffer.h16 class GrVkTexelBuffer : public GrBuffer, public GrVkBuffer {
25 GrVkTexelBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc,
26 const GrVkBuffer::Resource* resource);
DGrVkVertexBuffer.h16 class GrVkVertexBuffer : public GrBuffer, public GrVkBuffer {
25 GrVkVertexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc,
26 const GrVkBuffer::Resource* resource);
DGrVkIndexBuffer.h16 class GrVkIndexBuffer : public GrBuffer, public GrVkBuffer {
26 GrVkIndexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc,
27 const GrVkBuffer::Resource* resource);
DGrVkBuffer.h21 class GrVkBuffer : public SkNoncopyable {
23 virtual ~GrVkBuffer() { in ~GrVkBuffer()
84 GrVkBuffer(const Desc& desc, const GrVkBuffer::Resource* resource) in GrVkBuffer() function
DGrVkMemory.cpp38 static GrVkGpu::Heap buffer_type_to_heap(GrVkBuffer::Type type) { in buffer_type_to_heap()
47 GR_STATIC_ASSERT(0 == GrVkBuffer::kVertex_Type); in buffer_type_to_heap()
48 GR_STATIC_ASSERT(1 == GrVkBuffer::kIndex_Type); in buffer_type_to_heap()
49 GR_STATIC_ASSERT(2 == GrVkBuffer::kUniform_Type); in buffer_type_to_heap()
50 GR_STATIC_ASSERT(3 == GrVkBuffer::kTexel_Type); in buffer_type_to_heap()
51 GR_STATIC_ASSERT(4 == GrVkBuffer::kCopyRead_Type); in buffer_type_to_heap()
52 GR_STATIC_ASSERT(5 == GrVkBuffer::kCopyWrite_Type); in buffer_type_to_heap()
59 GrVkBuffer::Type type, in AllocAndBindBufferMemory()
130 void GrVkMemory::FreeBufferMemory(const GrVkGpu* gpu, GrVkBuffer::Type type, in FreeBufferMemory()
/external/skqp/src/gpu/vk/
DGrVkBuffer.cpp22 const GrVkBuffer::Resource* GrVkBuffer::Create(const GrVkGpu* gpu, const Desc& desc) { in Create()
73 const GrVkBuffer::Resource* resource = new GrVkBuffer::Resource(buffer, alloc, desc.fType); in Create()
83 void GrVkBuffer::addMemoryBarrier(const GrVkGpu* gpu, in addMemoryBarrier()
105 void GrVkBuffer::Resource::freeGPUData(const GrVkGpu* gpu) const { in freeGPUData()
112 void GrVkBuffer::vkRelease(const GrVkGpu* gpu) { in vkRelease()
123 void GrVkBuffer::vkAbandon() { in vkAbandon()
133 VkAccessFlags buffer_type_to_access_flags(GrVkBuffer::Type type) { in buffer_type_to_access_flags()
135 case GrVkBuffer::kIndex_Type: in buffer_type_to_access_flags()
137 case GrVkBuffer::kVertex_Type: in buffer_type_to_access_flags()
147 void GrVkBuffer::internalMap(GrVkGpu* gpu, size_t size, bool* createdNewBuffer) { in internalMap()
[all …]
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()
38 , GrVkBuffer(desc, bufferResource) { in GrVkTransferBuffer()
DGrVkUniformBuffer.h15 class GrVkUniformBuffer : public GrVkBuffer {
38 class Resource : public GrVkBuffer::Resource {
45 typedef GrVkBuffer::Resource INHERITED;
48 const GrVkBuffer::Resource* createResource(GrVkGpu* gpu,
49 const GrVkBuffer::Desc& descriptor) override;
51 GrVkUniformBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkUniformBuffer()
55 typedef GrVkBuffer INHERITED;
DGrVkVertexBuffer.cpp11 GrVkVertexBuffer::GrVkVertexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkVertexBuffer()
12 const GrVkBuffer::Resource* bufferResource) in GrVkVertexBuffer()
15 , GrVkBuffer(desc, bufferResource) { in GrVkVertexBuffer()
20 GrVkBuffer::Desc desc; in Create()
22 desc.fType = GrVkBuffer::kVertex_Type; in Create()
25 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Create()
DGrVkTexelBuffer.cpp12 GrVkTexelBuffer::GrVkTexelBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkTexelBuffer()
13 const GrVkBuffer::Resource* bufferResource) in GrVkTexelBuffer()
16 , GrVkBuffer(desc, bufferResource) { in GrVkTexelBuffer()
21 GrVkBuffer::Desc desc; in Create()
23 desc.fType = GrVkBuffer::kTexel_Type; in Create()
26 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Create()
DGrVkIndexBuffer.cpp11 GrVkIndexBuffer::GrVkIndexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, in GrVkIndexBuffer()
12 const GrVkBuffer::Resource* bufferResource) in GrVkIndexBuffer()
15 , GrVkBuffer(desc, bufferResource) { in GrVkIndexBuffer()
20 GrVkBuffer::Desc desc; in Create()
22 desc.fType = GrVkBuffer::kIndex_Type; in Create()
25 const GrVkBuffer::Resource* bufferResource = GrVkBuffer::Create(gpu, desc); in Create()
DGrVkTransferBuffer.h16 class GrVkTransferBuffer : public GrBuffer, public GrVkBuffer {
19 static GrVkTransferBuffer* Create(GrVkGpu* gpu, size_t size, GrVkBuffer::Type type);
26 GrVkTransferBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc,
27 const GrVkBuffer::Resource* resource);
DGrVkUniformBuffer.cpp27 GrVkBuffer::Desc desc; in Create()
29 desc.fType = GrVkBuffer::kUniform_Type; in Create()
85 const GrVkBuffer::Resource* GrVkUniformBuffer::createResource(GrVkGpu* gpu, in createResource()
86 const GrVkBuffer::Desc& descriptor) { in createResource()
94 return (const GrVkBuffer::Resource*) vkResource; in createResource()
DGrVkIndexBuffer.h16 class GrVkIndexBuffer : public GrBuffer, public GrVkBuffer {
26 GrVkIndexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc,
27 const GrVkBuffer::Resource* resource);
DGrVkTexelBuffer.h16 class GrVkTexelBuffer : public GrBuffer, public GrVkBuffer {
25 GrVkTexelBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc,
26 const GrVkBuffer::Resource* resource);
DGrVkVertexBuffer.h16 class GrVkVertexBuffer : public GrBuffer, public GrVkBuffer {
25 GrVkVertexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc,
26 const GrVkBuffer::Resource* resource);
DGrVkBuffer.h21 class GrVkBuffer : public SkNoncopyable {
23 virtual ~GrVkBuffer() { in ~GrVkBuffer()
84 GrVkBuffer(const Desc& desc, const GrVkBuffer::Resource* resource) in GrVkBuffer() function

12