summaryrefslogtreecommitdiff
path: root/vcl/Executable_vcldemo.mk
AgeCommit message (Collapse)AuthorFilesLines
2023-09-23Use less epoxy external headers dependencyGabor Kelemen1-6/+0
Change-Id: If5d4e5a65a0fcea6bd67cdba48742f6aaec0811d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156556 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
2022-03-28Drop support for OpenGL denylist on X11Stephan Bergmann1-0/+1
...which appears to have become even less relevant with db89f53c31af997b9bf422b0e784afba8d62a42e "remove OpenGL VCL backend code". And the vcl/unx/glxtest.cxx machinery that it is based on is (a) known to cause issues like <https://gitlab.freedesktop.org/mesa/mesa/-/issues/3957> "LibreOffice's OpenGL version detection code hangs when running inside a flatpak container with a different mesa version", and (b) is one of the two reasons why an soffice that uses Wayland nevertheless also requires Xwayland during startup (the other reason being oosplash). So getting rid of the glxtest machinery is beneficial. The remaining two potential uses of OpenGL on X11/Wayland are the obscure css.rendering.SpriteCanvas.OGL service implementation (about which db89f53c31af997b9bf422b0e784afba8d62a42e states that "it seems has never been finished or enabled (or so it most probably should be dumped too)") and some slideshow transitions. About the latter, Caolán stated on IRC: "I think we grew this set of stuff to check for dodgy opengl primarily for the case where vcl used opengl for ordinary UI optimizations; but I think that use is gone now so I wonder does it make sense to just drop all of that entirely; for just slide transitions we apparently survived fine without the denylist for ages". (And in any case there is still the WatchdogThread support with OpenGLZone::hardDisable in VCLExceptionSignal_impl, vcl/source/app/svmain.cxx, should any OpenGL code run into problems.) (The removal of gb_LinkTarget_use_glxtest from gb_LinkTarget_use_vclmain, which indirectly brought in gb_LinkTarget_use_libraries,*,vcl, revealed that an explicit use of vcl was missing from various Executables etc., which thus had to be added now.) Change-Id: Ifa5220fd09910a4459ca546d9655e479a2e38f1e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131943 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-01-21tdf#146478 vcl: vcldemo and other vcl examples segfault on closeChris Sherlock1-2/+4
We need to call on framework's shutdown to cleanup after ourselves properly. This has only become apparent after commit 6e35794ca where we assert if we try to dispose to process's component context before we shutdown the app properly. During this we also noticed that we got a warning: warn:i18nlangtag:1855739:1855739:i18nlangtag/source/isolang/mslangid.cxx:105: MsLangId::getConfiguredSystemLanguage() - not configured yet So I have fixed this by configuring the system language at init. Change-Id: I3cb73b1dad84f1097696c15e5c845d97fa58befa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127796 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
2021-11-15Remove unused header path: vcl workben makefilesHossein1-5/+0
Removed boost and other unused header paths from vcl workbench makefiles. Change-Id: Ie8a3abdf599c397a8a75c251a4e530d34e5bb806 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125175 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-05-26gbuild: Handle glxtest + vclmain usage via macrosJan-Marek Glogowski1-16/+2
Use a macro to do the same checks for all Executable with glxtest or vclmain usage. Both are static libraries, so every user has the same dependencies. Introduces: * gb_Executable_use_vclmain * gb_Executable_use_glxtest Change-Id: Ib80b4e7c6f5078d47ad8f1ec5708a7174415f705 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116145 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-05-20move ComboBox to toolkit-only headersCaolán McNamara1-0/+4
Change-Id: If5f0ab1fba8fa7302b7c0e8d2b25761ab64c97e1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94143 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2019-04-25Cut down on -pthread/-lpthread proliferationStephan Bergmann1-1/+0
Building against libstdc++ effectively always requires -pthread anyway (as various standard C++ headers require it, see the comment added to solenv/gbuild/platform/unxgcc.mk), so many explicit uses of -pthread/-lpthread can be removed. Doing a (partial) test build on Linux with Clang -stdlib=libc++ suggests that libc++ indeed doesn't need -pthread as libstdc++ does. The remaining uses of -pthread/-lpthread are mostly in configure.ac for the various BSDs (which somebody else might want to clean up now), and related to external projects. I tried to be careful to remove -pthread/-lpthread from makefiles only when C++ object files are involved (so -pthread will now be included on the link command line by default). Change-Id: I936e082839cb9a434bd273ce5a1f187a4245dfa1 Reviewed-on: https://gerrit.libreoffice.org/71291 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-08-27rename ENABLE_HEADLESS option to DISABLE_GUINoel Grandin1-1/+1
since it has nothing to do with the headless command line option, so use the name it has in the configure.ac file Change-Id: Ibf0615ed02695d6e48a797f5632e4f417c010c70 Reviewed-on: https://gerrit.libreoffice.org/59611 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-05-11Fold CommonSalLayout into GenericSalLayoutKhaled Hosny1-0/+1
Now the crazy constructors of CommonSalLayout are gone, we can merge the two and drop one level of indirection. Change-Id: I166e4ed2c9d22c1ce75246d486f7526c4928f652 Reviewed-on: https://gerrit.libreoffice.org/54077 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-12-13change from glew to epoxyCaolán McNamara1-1/+1
because that works under wayland out of the box and gtk3 uses it already Change-Id: Iefaac31e325534a81a5389f752804af917c1baef Reviewed-on: https://gerrit.libreoffice.org/31213 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-08-03Reduce ENABLE_OPENGL / ENABLE_HEADLESS confusionTor Lillqvist1-1/+1
ENABLE_OPENGL means whether to enable the OpenGL slideshow transition code. It does not mean whether to enable use of OpenGL in general. So rename it to ENABLE_OPENGL_TRANSITIONS while at it. ENABLE_HEADLESS means whether to disable use of X11 and OpenGL on X11 (and Wayland) platforms, I think, meaning Linux and maybe Solaris and the BSDs. Maybe it should be renamed to DISABLE_X11_AND_OPENGL. Change-Id: Ibb30f51646b1bcc477fe691a3fa38c7a1e3944ae
2016-03-25fix headless buildOliver Specht1-1/+5
disables OpenGL and glew usage, lets --without-gui do what --without-x did before and disables X related test Change-Id: I680b47c9962a0d43c8ece593db0b82e347ceebdb Reviewed-on: https://gerrit.libreoffice.org/23474 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-11-12Bin mesa_headers completelyTor Lillqvist1-1/+0
We don't need them in a MSVC or OS X compilation either. Change-Id: I00181fe0a047df09bbdfcce34c07eb2ebc45a2da
2015-11-12Avoid mesa_headers on X11, also link with -lGL only where necesssaryTor Lillqvist1-2/+1
The GLEW headers are enough, and what we actually use in these places. In addition to handling GL extension things in its dynamic fashion, GLEW headers also have declarations for standard, non-extension, OpenGL API, including xgl and wgl ones. Most likely we don't need mesa_headers on Windows or OS X either, and can drop them completely. Change-Id: Ic0d8d6238c862f8fe4a74e99e95344dcbf540980
2015-10-20Add DLOPEN_LIBS to configure for some cases where -ldl is neededRichard PALO1-3/+2
use std::sqrt in vcldemo.cxx Change-Id: I24d8ba15ee267d0cad3b063df9b7cfd8d284f4ee Reviewed-on: https://gerrit.libreoffice.org/18591 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-08-31tdf#93772 - handle framebuffer unbinding on GL context switch.Michael Meeks1-1/+6
Also start gl tests in vcldemo: $ SAL_FORCEGL=1 vcldemo --gltests Change-Id: I8f0022770d57cd60c830659e3f7fcc0721320a10 Reviewed-on: https://gerrit.libreoffice.org/18132 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-03-19There are no include files in solenv/incTor Lillqvist1-1/+0
Change-Id: I69f20c3632c0bee7a3189aaa5a96bd9fff2da222
2015-03-02Remove references to unused GLUStephan Bergmann1-1/+0
(after removing the one remaining use of gluErrorString in a SAL_WARN call) Change-Id: Ib94e346d73e508e69c07deafdc690e3ae0e23d4e
2015-01-06vcldemo: add threading mode.Michael Meeks1-3/+4
Change-Id: I6ad5524c518a79cac7ec343398242515ef0bbb5f
2014-11-21make glxtest available in salmainMarkus Mohrhard1-0/+15
Change-Id: Ic8bc3f2d5d96506590d35138089ead2eac984314
2014-11-12vcldemo: render AA polylines and line-caps behind top-left pane.Michael Meeks1-0/+1
Change-Id: If04738469e94069876d035f160d542c04ae8ffa5
2014-11-10vcldemo: kill all the legacy cruft.Michael Meeks1-0/+4
Change-Id: I60d7d30ff20a01e375d9851afd8bd8ce12835752
2014-10-06Don't unintentionally unload the tk libraryTor Lillqvist1-1/+0
Fixes the root cause for the crashes in vcldemo and ui-previewer that indirectly were fixed by 0b7631bccb2a47ab71a0c1edbabe8a5892ff5f9c and f5cfed29b05184894ec6ad2d14f73bff0b5a2783. Those two commits are now reverted. Change-Id: If5dac37f032d2b74c977562c339e9799bbc4454c
2014-10-04vcl: Fix vcldemo linkage - was missing tkMatthew J. Francis1-0/+1
Change-Id: I74d395c0fdcbdb5117584af329e6a023414d46af Reviewed-on: https://gerrit.libreoffice.org/11806 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-05-18vcl: missing demo filesChris Sherlock1-0/+39
Change-Id: If269ee28c80210186699a2f2de85db8c914b28f1