Index: src/gpu/vk/GrVkUniformBuffer.h |
diff --git a/src/gpu/vk/GrVkUniformBuffer.h b/src/gpu/vk/GrVkUniformBuffer.h |
deleted file mode 100644 |
index 0eae47b30b9ebe46eec37ec80deeffc5c1dfb83d..0000000000000000000000000000000000000000 |
--- a/src/gpu/vk/GrVkUniformBuffer.h |
+++ /dev/null |
@@ -1,45 +0,0 @@ |
-/* |
-* Copyright 2015 Google Inc. |
-* |
-* Use of this source code is governed by a BSD-style license that can be |
-* found in the LICENSE file. |
-*/ |
- |
-#ifndef GrVkUniformBuffer_DEFINED |
-#define GrVkUniformBuffer_DEFINED |
- |
-#include "GrVkBuffer.h" |
-#include "vk/GrVkInterface.h" |
- |
-class GrVkGpu; |
- |
-class GrVkUniformBuffer : public GrVkBuffer { |
- |
-public: |
- static GrVkUniformBuffer* Create(GrVkGpu* gpu, size_t size, bool dynamic); |
- |
- void* map(const GrVkGpu* gpu) { |
- return this->vkMap(gpu); |
- } |
- void unmap(const GrVkGpu* gpu) { |
- this->vkUnmap(gpu); |
- } |
- bool updateData(const GrVkGpu* gpu, const void* src, size_t srcSizeInBytes) { |
- return this->vkUpdateData(gpu, src, srcSizeInBytes); |
- } |
- void release(const GrVkGpu* gpu) { |
- this->vkRelease(gpu); |
- } |
- void abandon() { |
- this->vkAbandon(); |
- } |
- |
-private: |
- GrVkUniformBuffer(const GrVkBuffer::Desc& desc, const GrVkBuffer::Resource* resource) |
- : INHERITED(desc, resource) { |
- }; |
- |
- typedef GrVkBuffer INHERITED; |
-}; |
- |
-#endif |