Index: src/gpu/vk/GrVkGpu.h |
diff --git a/src/gpu/vk/GrVkGpu.h b/src/gpu/vk/GrVkGpu.h |
index 8df6e6cfdccc21622ae17525dc3a024be4f4b90d..eeaacf3d1b08d407cc08277027b37220923d0998 100644 |
--- a/src/gpu/vk/GrVkGpu.h |
+++ b/src/gpu/vk/GrVkGpu.h |
@@ -14,6 +14,7 @@ |
#include "GrGpuFactory.h" |
#include "vk/GrVkBackendContext.h" |
#include "GrVkCaps.h" |
+#include "GrVkCopyManager.h" |
#include "GrVkIndexBuffer.h" |
#include "GrVkMemory.h" |
#include "GrVkResourceProvider.h" |
@@ -59,7 +60,9 @@ public: |
return fPhysDevMemProps; |
} |
- GrVkResourceProvider& resourceProvider() { return fResourceProvider; } |
+ GrVkResourceProvider& resourceProvider() { return fResourceProvider; } |
+ |
+ GrVkPrimaryCommandBuffer* currentCommandBuffer() { return fCurrentCmdBuffer; } |
enum SyncQueue { |
kForce_SyncQueue, |
@@ -262,6 +265,8 @@ private: |
SkAutoTDelete<GrVkHeap> fHeaps[kHeapCount]; |
+ GrVkCopyManager fCopyManager; |
+ |
#ifdef SK_ENABLE_VK_LAYERS |
// For reporting validation layer errors |
VkDebugReportCallbackEXT fCallback; |