summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2019-10-22 11:48:08 +0200
committerLuboš Luňák <l.lunak@collabora.com>2019-11-27 09:55:10 +0100
commit99bff8cf8f199cd5899134f12b499ce4ee9a4e82 (patch)
treef4c346d85d531aad00cc1667c871fdc69b6a70b4 /vcl/source
parentfb6a2d3afb67481565c666c10eee0a875808d803 (diff)
add GUI and configuration options for Skia
Pretty much a copy&paste of OpenGL. There are no settings for choosing which backend Skia should use, as the plan is that simply the "best" one will be selected. Change-Id: I44fa876ab85de98de482a6ed9f814024334686ce
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/svapp.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 3dcfc82ec00a..4b97754bebbe 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -49,6 +49,7 @@
#if HAVE_FEATURE_OPENGL
#include <vcl/opengl/OpenGLWrapper.hxx>
#endif
+#include <vcl/skia/SkiaHelper.hxx>
#include <salinst.hxx>
#include <salframe.hxx>
@@ -1147,12 +1148,14 @@ OUString Application::GetHWOSConfInfo()
aDetails.append( "; " );
aDetails.append( VclResId(SV_APP_UIRENDER) );
-// TODO SKIA
#if HAVE_FEATURE_OPENGL
if ( OpenGLWrapper::isVCLOpenGLEnabled() )
aDetails.append( VclResId(SV_APP_GL) );
else
#endif
+ if ( SkiaHelper::isVCLSkiaEnabled() )
+ aDetails.append( VclResId(SV_APP_SKIA) );
+ else
aDetails.append( VclResId(SV_APP_DEFAULT) );
aDetails.append( "; " );