Lines Matching refs:GrVkBuffer
8 #include "GrVkBuffer.h"
21 const GrVkBuffer::Resource* GrVkBuffer::Create(const GrVkGpu* gpu, const Desc& desc) {
70 const GrVkBuffer::Resource* resource = new GrVkBuffer::Resource(buffer, alloc, desc.fType);
80 void GrVkBuffer::addMemoryBarrier(const GrVkGpu* gpu,
102 void GrVkBuffer::Resource::freeGPUData(const GrVkGpu* gpu) const {
109 void GrVkBuffer::vkRelease(const GrVkGpu* gpu) {
120 void GrVkBuffer::vkAbandon() {
130 VkAccessFlags buffer_type_to_access_flags(GrVkBuffer::Type type) {
132 case GrVkBuffer::kIndex_Type:
134 case GrVkBuffer::kVertex_Type:
144 void GrVkBuffer::internalMap(GrVkGpu* gpu, size_t size, bool* createdNewBuffer) {
184 void GrVkBuffer::internalUnmap(GrVkGpu* gpu, size_t size) {
203 bool GrVkBuffer::vkIsMapped() const {
208 bool GrVkBuffer::vkUpdateData(GrVkGpu* gpu, const void* src, size_t srcSizeInBytes,
226 void GrVkBuffer::validate() const {