diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-11-23 08:43:04 +0100 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-12-05 14:39:37 +0100 |
commit | a6dc9f3fd18ad69aa041662628f4f923ab3a82f8 (patch) | |
tree | 4c70b5b29c28a70157bdbad3a7163b38a094240e /vcl/inc/svdata.hxx | |
parent | 329db5d412cc0d5e0f97cb939b94259679396ead (diff) |
Add interface for software-only bitmap rendering
When SAL_USE_VCLPLUGIN=svp is used, LO is expected to render
output only to bitmaps, without real GUI windows. This adds an
enabler and a getter function to the Application class, so one
can query this information easy as (Enable|Is)BitmapRendering.
This can be used by all VCL plugins, which can't fall back to
the Cairo based SVP plugin, primary OSX and Win.
A working implementation should allow to run all test via SSH.
All window-requiring tests already have to set this requirement
using gb_CppunitTest_use_vcl_non_headless(_with_windows)? and
should be moved to a different make target, or we need some test
harness to handle this correctly, before VCL fails the test.
Change-Id: I4bd4c81122a6686b090fdd93256d4712ac5f05dd
Reviewed-on: https://gerrit.libreoffice.org/64051
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl/inc/svdata.hxx')
-rw-r--r-- | vcl/inc/svdata.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/svdata.hxx b/vcl/inc/svdata.hxx index 21ca3567b56a..b83607f75c44 100644 --- a/vcl/inc/svdata.hxx +++ b/vcl/inc/svdata.hxx @@ -154,6 +154,7 @@ struct ImplSVAppData bool mbAppQuit = false; // is Application::Quit() called bool mbSettingsInit = false; // true: Settings are initialized DialogCancelMode meDialogCancel = DialogCancelMode::Off; // true: All Dialog::Execute() calls will be terminated immediately with return false + bool mbRenderToBitmaps = false; // set via svp / headless plugin /** Controls whether showing any IME status window is toggled on or off. |