X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbackends%2Fvulkan%2Ftexture2d_backend.h;h=139f8bef417bf03509425127f11668c3f0bbd8f9;hb=225dbd7ba2dde73bb28e54e03ae960e88e708f57;hp=d4b7db1d934cbcdd44a33f504857cf452857715c;hpb=eddb5cfd959eaa202ee6f95cd2049349ec920829;p=libs%2Fgl.git diff --git a/source/backends/vulkan/texture2d_backend.h b/source/backends/vulkan/texture2d_backend.h index d4b7db1d..139f8bef 100644 --- a/source/backends/vulkan/texture2d_backend.h +++ b/source/backends/vulkan/texture2d_backend.h @@ -9,6 +9,17 @@ namespace GL { class VulkanTexture2D: public Texture { protected: + class AsyncTransfer: public NonCopyable + { + protected: + AsyncTransfer() = default; + AsyncTransfer(AsyncTransfer &&) { } + AsyncTransfer &operator=(AsyncTransfer &&) { return *this; } + + void *allocate(); + void finalize(); + }; + VulkanTexture2D(); virtual void fill_image_info(void *) const; @@ -16,7 +27,6 @@ protected: virtual void fill_mipmap_blit(unsigned, void *); public: - virtual Resource::AsyncLoader *load(IO::Seekable &, const Resources * = 0); virtual std::size_t get_data_size() const; virtual void unload(); };