summaryrefslogtreecommitdiff
path: root/i18nutil
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2016-10-18 23:53:44 +0200
committerTomaž Vajngerl <quikee@gmail.com>2016-10-24 08:35:15 +0000
commit21e8ed8b5f032f63012a7ee84bce64fac218154f (patch)
tree7de6ad976673c2ed28bf801c383436e9cd6e8007 /i18nutil
parent38b895cddcff51b6cfb47c6b3bbb2044a6d7a6dd (diff)
tdf#103395 opencl: don't initialize OpenCL when disabled
If SAL_DISABLE_OPENCL is set we don't want to do any kind of OpenCL initialization. Put an extra guard in fillOpenCLInfo (and similar methods in opencl package) to prevent that. Put the check if OpenCL can be used into one place which checks SAL_DISABLE_OPENCL and UseOpenCL in configuration. Change-Id: Icc216d4299d3a7942843117ab9b9411de8075b11 Reviewed-on: https://gerrit.libreoffice.org/30025 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'i18nutil')
0 files changed, 0 insertions, 0 deletions