X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fbackends%2Fvulkan%2Ftransferqueue.h;h=e78137fc4067701fc9a2168ffc6f5e673392e0cd;hp=592bb69e1303458870842391c2d1ad41ba44049f;hb=7d221b1fd6194e59bc0783740a2a17ac71fa4da5;hpb=a9e3cf282bd9c5c43e767552b73068e7a56765e2 diff --git a/source/backends/vulkan/transferqueue.h b/source/backends/vulkan/transferqueue.h index 592bb69e..e78137fc 100644 --- a/source/backends/vulkan/transferqueue.h +++ b/source/backends/vulkan/transferqueue.h @@ -22,6 +22,8 @@ private: std::size_t size = 0; std::size_t used = 0; void *mapped_address = 0; + unsigned async_count = 0; + unsigned last_frame = 0; StagingBuffer(Device &, std::size_t); StagingBuffer(StagingBuffer &&); @@ -46,6 +48,7 @@ private: std::vector transfers; std::vector async_transfers; std::map next_orders; + unsigned current_frame = 0; public: TransferQueue(Device &);