]> git.tdb.fi Git - libs/gl.git/commitdiff
Rework ProgramData to do less unnecessary work
authorMikko Rasa <tdb@tdb.fi>
Sun, 28 Sep 2014 16:58:08 +0000 (19:58 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 29 Sep 2014 15:10:02 +0000 (18:10 +0300)
Changes are now tracked per-uniform, allowing more updates to be skipped.
The buffers used in a program are cached, making the no-changes case
faster.

Additionally, Program now creates a UniformBlockInfo struct for the
default uniform.  The program-wide uniform layout hash has been repurposed
to cover the entire program.


No differences found