]> git.tdb.fi Git - libs/gl.git/commit
Use a scratch binding to modify textures and buffers
authorMikko Rasa <tdb@tdb.fi>
Thu, 16 Sep 2021 18:52:22 +0000 (21:52 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 16 Sep 2021 22:06:54 +0000 (01:06 +0300)
commit7b569bbfcfb65d8d88b47ac42ee1df6a7d27e784
treed62bc923e5cfd3c55cd925e960736dbe5ab6089a
parentbea2bcf1aa353b1dd8d1728931ef0508677bd2c6
Use a scratch binding to modify textures and buffers

This simplifies the code quite a bit.  It's assumed that textures are
not modified during rendering, as that would potentially interfere with
the rendering pipeline state.
15 files changed:
source/core/buffer.cpp
source/core/buffer.h
source/core/pipelinestate.cpp
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/texture2dmultisample.cpp
source/core/texture3d.cpp
source/core/texture3d.h
source/core/texturecube.cpp
source/core/texturecube.h
source/core/vertexsetup.cpp