From: Mikko Rasa Date: Sun, 28 Sep 2014 16:58:08 +0000 (+0300) Subject: Rework ProgramData to do less unnecessary work X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=5ae4b0008b25072b5716f0cb585133315625a661;hp=5ae4b0008b25072b5716f0cb585133315625a661;p=libs%2Fgl.git Rework ProgramData to do less unnecessary work 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. ---