From: Mikko Rasa Date: Mon, 13 Sep 2021 21:17:12 +0000 (+0300) Subject: Simplify pipeline state management X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=3e38e8a7bfffb0b6d622b849b402f4f04a7536c4;hp=3e38e8a7bfffb0b6d622b849b402f4f04a7536c4;p=libs%2Fgl.git Simplify pipeline state management Instead of unbinding things immediately, defer it to when the state is cleared. This results in less binding calls overall. The only reason to unbind anything is to allow those objects to be destroyed, and that shouldn't happen in the middle of rendering anyway. ---