]> git.tdb.fi Git - libs/gl.git/commit
Create a Device class to hold the graphics context
authorMikko Rasa <tdb@tdb.fi>
Tue, 9 Nov 2021 10:37:15 +0000 (12:37 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 9 Nov 2021 10:37:15 +0000 (12:37 +0200)
commitf0414f06fc2463e9765c9492dce60e0468dceb3c
tree9900f35b8ab10d9847b9fb1ae6fbbe57e9a1e2e6
parentac4218f733b4c8f09b64e72164bd4321a4c1abd2
Create a Device class to hold the graphics context

This is necessary to make the selected backend transparent to
applications, and also because Vulkan needs access to the VkDevice.
demos/desertpillars/source/desertpillars.cpp
demos/desertpillars/source/desertpillars.h
source/backends/opengl/device_backend.cpp [new file with mode: 0644]
source/backends/opengl/device_backend.h [new file with mode: 0644]
source/core/device.cpp [new file with mode: 0644]
source/core/device.h [new file with mode: 0644]
source/render/windowview.cpp
source/render/windowview.h
tools/viewer.cpp