We should use: http://www.geeks3d.com/20100727/opengl-4-1-allows-the-use-of-binary-shaders/ glGetProgramBinary and glProgramBinary and its friends to serialize pre-compiled shaders - to avoid having to pay the cost of re-compiling them on startup each time. We should presumably re-use the cache directory (and/or code) that we do the same thing for openCL for in this regard; I forget if we use a hash of the program string to do that or ... anyhow =) shouldn't be too difficult I hope.
Of course, this is just an optimization - if glew doesn't find the symbols, that's fine too.
Marco Cecchetti committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=d8f78d624b779244f5953fd32960c4f487e320d3 tdf#93814: Added support for caching shader program binaries. It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Marco Cecchetti committed a patch related to this issue. It has been pushed to "libreoffice-5-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=697917f7152b4ab5d95eadeac52d615403ea1737&h=libreoffice-5-0 tdf#93814: Added support for caching shader program binaries. It will be available in 5.0.3. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Marco Cecchetti committed a patch related to this issue. It has been pushed to "libreoffice-5-0-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=9861e8c174bb950a3b7d2af1f17dcfcb430e4055&h=libreoffice-5-0-2 tdf#93814: Added support for caching shader program binaries. It will be available in 5.0.2. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.