Home | History | Annotate | Download | only in vk

Lines Matching refs:GrVkGpu

14 class GrVkGpu;
34 void addMemoryBarrier(const GrVkGpu* gpu,
72 void freeGPUData(GrVkGpu* gpu) const override;
74 void onRecycle(GrVkGpu* gpu) const override { this->unref(gpu); }
80 static const Resource* Create(const GrVkGpu* gpu,
87 void* vkMap(GrVkGpu* gpu) {
91 void vkUnmap(GrVkGpu* gpu) { this->internalUnmap(gpu, this->size()); }
95 bool vkUpdateData(GrVkGpu* gpu, const void* src, size_t srcSizeInBytes,
99 void vkRelease(const GrVkGpu* gpu);
102 virtual const Resource* createResource(GrVkGpu* gpu,
107 void internalMap(GrVkGpu* gpu, size_t size, bool* createdNewBuffer = nullptr);
108 void internalUnmap(GrVkGpu* gpu, size_t size);
109 void copyCpuDataToGpuBuffer(GrVkGpu* gpu, const void* srcData, size_t size);