Lines Matching refs:GrVkGpu
15 class GrVkGpu;
35 void addMemoryBarrier(const GrVkGpu* gpu,
73 void freeGPUData(const GrVkGpu* gpu) const override;
75 void onRecycle(GrVkGpu* gpu) const override { this->unref(gpu); }
81 static const Resource* Create(const GrVkGpu* gpu,
88 void* vkMap(GrVkGpu* gpu) {
92 void vkUnmap(GrVkGpu* gpu) { this->internalUnmap(gpu, this->size()); }
96 bool vkUpdateData(GrVkGpu* gpu, const void* src, size_t srcSizeInBytes,
100 void vkRelease(const GrVkGpu* gpu);
103 virtual const Resource* createResource(GrVkGpu* gpu,
108 void internalMap(GrVkGpu* gpu, size_t size, bool* createdNewBuffer = nullptr);
109 void internalUnmap(GrVkGpu* gpu, size_t size);