]> git.tdb.fi Git - libs/gl.git/commit
Rewrite state management
authorMikko Rasa <tdb@tdb.fi>
Mon, 16 Aug 2021 16:11:25 +0000 (19:11 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 16 Aug 2021 16:11:35 +0000 (19:11 +0300)
commit9b3bce7ae76ff8c0c81315d2505ea96bf422a318
tree323e749c7468cf98b5b96fae54249bf491c9f6e3
parenta482029babea3210840d8c62e9df9ece4342b2b9
Rewrite state management

Global bindings have been removed from the central classes (and will be
removed from others soon) since those would translate poorly to Vulkan.
Instead a new PipelineState class is used to tie all of the state
together and apply it at once.
35 files changed:
source/core/batch.cpp
source/core/buffer.cpp
source/core/buffer.h
source/core/bufferable.h
source/core/clipping.h
source/core/pipelinestate.cpp [new file with mode: 0644]
source/core/pipelinestate.h [new file with mode: 0644]
source/core/program.cpp
source/core/program.h
source/core/sampler.cpp
source/core/sampler.h
source/core/texture.cpp
source/core/texture.h
source/core/texture1d.cpp
source/core/texture1d.h
source/core/texture2d.cpp
source/core/texture2d.h
source/core/texture3d.cpp
source/core/texture3d.h
source/core/texturecube.cpp
source/core/texturecube.h
source/core/texunit.cpp [deleted file]
source/core/texunit.h [deleted file]
source/core/uniformblock.cpp
source/core/uniformblock.h
source/core/vertexsetup.cpp
source/core/vertexsetup.h
source/core/windingtest.h
source/effects/bloom.cpp
source/effects/environmentmap.cpp
source/render/programdata.cpp
source/render/programdata.h
source/render/renderer.cpp
source/render/renderer.h
source/render/view.cpp