]> git.tdb.fi Git - libs/gl.git/commit
Share shader data between copied RenderPasses
authorMikko Rasa <tdb@tdb.fi>
Thu, 26 Apr 2018 23:43:51 +0000 (02:43 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 26 Apr 2018 23:43:51 +0000 (02:43 +0300)
commitd713e5391dc5d85759c7aab36f6df7a85c3d8eff
treee7e960c9b67bbee6274aaa18965b063337a288b2
parent72a13418cc19e750abf3f8d8a52aea5e1abe4983
Share shader data between copied RenderPasses

Applications that use the Text class hevily were ending up with multiple
copies of the same ProgramData, each with their own uniform buffers.

An even better solution would be to have Text objects share the technique,
but I don't have any good ideas for implementing that.
source/renderpass.cpp
source/renderpass.h