summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-09-11 18:44:29 +0100
committerTomaž Vajngerl <quikee@gmail.com>2015-09-12 17:35:22 +0000
commit0cfd6e73c8d3b12414fa6154ab8d7dc975d9a9c4 (patch)
tree6b09e9eedd4b0864f6bd13c46f5967c8b6865705 /framework
parent1a78f0965d854f461a7a55ae93842ac06446e41d (diff)
Advertise GL rendering in frame titles in dbgutil mode.
Change-Id: I1883d137eb65a030c58e1e4ec11df3e63800339b Reviewed-on: https://gerrit.libreoffice.org/18512 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'framework')
-rw-r--r--framework/source/fwe/helper/titlehelper.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/source/fwe/helper/titlehelper.cxx b/framework/source/fwe/helper/titlehelper.cxx
index 8b01a4c80803..33c378ec23a2 100644
--- a/framework/source/fwe/helper/titlehelper.cxx
+++ b/framework/source/fwe/helper/titlehelper.cxx
@@ -36,6 +36,7 @@
#include <rtl/ustrbuf.hxx>
#include <osl/mutex.hxx>
#include <tools/urlobj.hxx>
+#include <vcl/opengl/OpenGLWrapper.hxx>
namespace framework{
@@ -565,6 +566,8 @@ void TitleHelper::impl_appendDebugVersion (OUStringBuffer& sTitle)
OUString sVersion = ::utl::Bootstrap::getBuildIdData(sDefault);
sTitle.append(" [");
sTitle.append(sVersion);
+ if (OpenGLWrapper::isVCLOpenGLEnabled())
+ sTitle.append("-GL");
sTitle.append("]");
}
#else