summaryrefslogtreecommitdiffstats
path: root/LICENSE
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-05-18 17:47:10 +0200
committerwm4 <wm4@nowhere>2016-05-18 17:47:10 +0200
commit0b911792ca93ee91fafb0d13f5c44a8997e0fab6 (patch)
tree6366c22269afe9c6c9f48137fe08e783ab92f17e /LICENSE
parent26b6d7448421b879a3dab2e619d7e5da630966dd (diff)
downloadmpv-0b911792ca93ee91fafb0d13f5c44a8997e0fab6.tar.bz2
mpv-0b911792ca93ee91fafb0d13f5c44a8997e0fab6.tar.xz
vo_opengl: fix/simplify reinitialization on dynamic reconfiguration
With the new hooks mechanism, user shaders and such are actually loaded before rendering starts, instead of being loaded during rendering. This is used to cache them (instead of e.g. reparsing them every frame). The cached state wasn't cleared correctly in some situations. Namely, resizing didn't correctly enable/disable prescale hooks. Reorganize how these reinitializations are handled. Get rid of reinit_rendering(), whose meaning was pretty unclear. Call the required functions to reset or recreate state directly wherever they are needed.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions