]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/vulkan/texture_backend.h
Store the number of mipmap levels in the Texture base class
[libs/gl.git] / source / backends / vulkan / texture_backend.h
index 9d0435000f45578c8815bd428869e98b9cc056d8..0907fea058000fe849167ae1b36d385dff479dbc 100644 (file)
@@ -30,11 +30,12 @@ protected:
        virtual void fill_image_info(void *) const = 0;
        void require_swizzle() { }
 
-       virtual void generate_mipmap() = 0;
-       void generate_mipmap_levels(unsigned);
+       void stage_pixels(void *, const void *, size_t);
+
+       void generate_mipmap();
        virtual void fill_mipmap_blit(unsigned, void *) = 0;
 
-       void change_layout(unsigned, int, unsigned, bool) const;
+       void change_layout(int, unsigned, bool) const;
 
        void set_debug_name(const std::string &);
        void set_vulkan_object_names() const;