Open phistep opened 9 years ago
on systems with low resources this is a bad idea
If you look at common resource usage of shader compilers everything seems like a low-end system.
I'd suggest instead of automatically compiling all shaders to include a button, which performs all necessary precalculations for smooth playback.
When i start up the application for the first time in some while, then no shaders are cached on the gpu. This is a problem in the first run of play. The compilation of big shaders takes some time which causes the video playback to freeze until done. When we start compiling all shaders while the first one is playing there might be a chance we get the shaders done before they are needed the first time.