]> git.tdb.fi Git - libs/gl.git/commit
Use Tag to identify uniforms in Program and ProgramData
authorMikko Rasa <tdb@tdb.fi>
Sat, 10 Apr 2021 12:04:26 +0000 (15:04 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 10 Apr 2021 14:37:57 +0000 (17:37 +0300)
commitfa2b4c8a93ebad2497cacfdeaa9a2c20be486520
treeb3e1dc49c578fac000e7fc9603742c4f72e598aa
parent20622e74de6753c5e4460a112c11ee913707e8e8
Use Tag to identify uniforms in Program and ProgramData

Setting uniforms is a common operation and this should be faster than
using strings.
12 files changed:
source/core/program.cpp
source/core/program.h
source/core/tag.cpp [new file with mode: 0644]
source/core/tag.h [new file with mode: 0644]
source/materials/renderpass.cpp
source/materials/renderpass.h
source/materials/technique.cpp
source/render/programdata.cpp
source/render/programdata.h
source/render/tag.cpp [deleted file]
source/render/tag.h [deleted file]
source/render/text.cpp