X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbackends%2Fvulkan%2Fdevice_backend.h;h=b4b53717ff3cdc88b8773db1f1faba5badba2bd5;hb=644b81d62660bafa702bfd7acedd3a0039aad993;hp=9c115661b69173e9227cd47225af6026ed392354;hpb=99ca354f18119f82f1adeca100cd665a8f640317;p=libs%2Fgl.git diff --git a/source/backends/vulkan/device_backend.h b/source/backends/vulkan/device_backend.h index 9c115661..b4b53717 100644 --- a/source/backends/vulkan/device_backend.h +++ b/source/backends/vulkan/device_backend.h @@ -7,6 +7,7 @@ #include "handles.h" #include "memoryallocator.h" #include "pipelinecache.h" +#include "synchronizer.h" #include "transferqueue.h" namespace Msp { @@ -25,6 +26,7 @@ protected: RefPtr functions; MemoryAllocator allocator; DestroyQueue destroy_queue; + Synchronizer synchronizer; TransferQueue transfer_queue; PipelineCache pipeline_cache; unsigned n_frames_in_flight = 3; @@ -42,6 +44,7 @@ public: const VulkanFunctions &get_functions() const { return *functions; } MemoryAllocator &get_allocator() { return allocator; } DestroyQueue &get_destroy_queue() { return destroy_queue; } + Synchronizer &get_synchronizer() { return synchronizer; } TransferQueue &get_transfer_queue() { return transfer_queue; } PipelineCache &get_pipeline_cache() { return pipeline_cache; } unsigned get_n_frames_in_flight() const { return n_frames_in_flight; }