]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/opengl/framebuffer_backend.h
Restructure system framebuffer and make WindowView own it
[libs/gl.git] / source / backends / opengl / framebuffer_backend.h
index 84f6eddf2bdfcae760e0bdfbf8997cb6d882b433..090071f7caddb2ab416a576923d7b696c672e390 100644 (file)
@@ -19,11 +19,11 @@ protected:
        OpenGLFramebuffer(bool);
        ~OpenGLFramebuffer();
 
-       static FrameFormat get_system_format();
-       static void get_system_size(unsigned &, unsigned &);
+       void set_system_format(const FrameFormat &);
        static bool is_format_supported(const FrameFormat &);
        static void require_layered();
 
+       void resize_system(unsigned, unsigned);
        void update(unsigned) const;
        void require_complete() const;