From a6dc9f3fd18ad69aa041662628f4f923ab3a82f8 Mon Sep 17 00:00:00 2001 From: Jan-Marek Glogowski Date: Fri, 23 Nov 2018 08:43:04 +0100 Subject: 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 --- vcl/inc/svdata.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'vcl/inc/svdata.hxx') 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. -- cgit