mirror of
https://github.com/mpv-player/mpv
synced 2025-02-18 22:06:59 +00:00
vo_opengl: add option for caching shaders on disk
Mostly because of ANGLE (sadly). The implementation became unpleasantly big, but at least it's relatively self-contained. I'm not sure to what degree shaders from different drivers are compatible as in whether a driver would randomly misbehave if it's fed a binary created by another driver. The useless binayFormat parameter won't help it, as they can probably easily clash. As usual, OpenGL is pretty shit here.
This commit is contained in:
parent
e7940ddbf3
commit
759ac6cc93