]> git.tdb.fi Git - libs/gl.git/commit
Restructure system framebuffer and make WindowView own it
authorMikko Rasa <tdb@tdb.fi>
Tue, 9 Nov 2021 23:50:19 +0000 (01:50 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 10 Nov 2021 01:18:24 +0000 (03:18 +0200)
commitb9e720f36185c6fe4d39a1056ecb88dec0ce950d
tree3cf0f05a8218d489926dbabd87bae150e3f0b532
parent4080571d24c1734a9188ee7fac38cf3180325adf
Restructure system framebuffer and make WindowView own it

This works very differently on Vulkan, so the system framebuffer can't
be exposed from the Framebuffer class.
source/backends/opengl/framebuffer_backend.cpp
source/backends/opengl/framebuffer_backend.h
source/backends/opengl/systemframebuffer.cpp [new file with mode: 0644]
source/backends/opengl/systemframebuffer.h [new file with mode: 0644]
source/backends/opengl/windowview_backend.cpp [new file with mode: 0644]
source/backends/opengl/windowview_backend.h [new file with mode: 0644]
source/core/framebuffer.cpp
source/core/framebuffer.h
source/render/windowview.cpp
source/render/windowview.h