summaryrefslogtreecommitdiff
path: root/remotebridges
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-05-25 15:23:22 +0300
committerMichael Meeks <michael.meeks@collabora.com>2016-05-31 20:45:03 +0000
commit0f2d826394fcbb3f9cfbcc818d46dc15f32b5028 (patch)
treeba18fe9a29c1aeaad7f70bacd4e1d36c07e939fd /remotebridges
parenta97f9c5790b4751098b0c3f78a387fbff36582a6 (diff)
tdf#100159: On Windows, compile GL shaders in advance, disable GL on failure
This is a combination of multiple commits in master, adapted for this branch as necessary: Don't claim to be reading a file before trying to open it Avoid redundancy: The same information was logged in readProgramBinary() Use VCL_GL_INFO here Failing to open a cached shader binary is a no reason for a SAL_WARN. It is normal that they don't exist when first trying, that is the very nature of a 'cache'. Move exithelper.h to include. We will want to use EXITHELPER_NORMAL_RESTART in vcl, too. If the shader compilation or loading of an already compiled shader fails, disable OpenGL in the registry and exit with the EXITHELPER_NORMAL_RESTART status. The wrapper process will thus run soffice.bin once more, and this time OpenGL will not be used. Change-Id: I54d92f150975d3fa72d93f3f679b16c90ee38f02 Reviewed-on: https://gerrit.libreoffice.org/25708 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'remotebridges')
0 files changed, 0 insertions, 0 deletions