diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-12-04 12:14:47 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-12-07 20:46:49 +0100 |
commit | db89f53c31af997b9bf422b0e784afba8d62a42e (patch) | |
tree | da11fedb71f01b6d21a32f95c0a9ccecb43fc265 /vcl/inc/unx | |
parent | 6265cfca9d775198e81166b914f5dcaea58802db (diff) |
remove OpenGL VCL backend code
It is by now practically unmaintained, even bugreports in bugzilla
have been already closed for it. AFAICT this used to be really
used only on Windows, where it's no longer the default.
There's still some OpenGL code left, because there are still two
other places that use OpenGL. One is OpenGL slideshows, which
reuse some of the base OpenGL code (and I've checked they
still work even after this removal). Second one is OpenGL canvas,
which it seems has never been finished or enabled (or so it
most probably should be dumped too).
Change-Id: I7ea5aef77ec252eb8e712d167db591209be84a13
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107290
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'vcl/inc/unx')
-rw-r--r-- | vcl/inc/unx/salgdi.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/vcl/inc/unx/salgdi.h b/vcl/inc/unx/salgdi.h index 166b308c30e8..c93d18319e91 100644 --- a/vcl/inc/unx/salgdi.h +++ b/vcl/inc/unx/salgdi.h @@ -51,8 +51,6 @@ class SalFrame; class X11Pixmap; class X11SalVirtualDevice; class X11SalGraphicsImpl; -class X11OpenGLSalGraphicsImpl; -class X11OpenGLSalVirtualDevice; class X11SkiaSalVirtualDevice; class FreetypeFont; class ImplLayoutArgs; @@ -68,7 +66,6 @@ namespace basegfx { class X11SalGraphics final : public SalGraphics { friend class X11SalGraphicsImpl; - friend class X11OpenGLSalGraphicsImpl; friend class X11CairoTextRender; public: @@ -78,7 +75,6 @@ public: void Init( SalFrame *pFrame, Drawable aDrawable, SalX11Screen nXScreen ); void Init( X11SalVirtualDevice *pVirtualDevice, cairo_surface_t* pPreExistingTarget = nullptr, SalColormap* pColormap = nullptr, bool bDeleteColormap = false ); - void Init( X11OpenGLSalVirtualDevice *pVirtualDevice ); void Init( X11SkiaSalVirtualDevice *pVirtualDevice ); void DeInit(); @@ -317,7 +313,6 @@ private: bool bWindow_ : 1; // is Window bool bVirDev_ : 1; // is VirDev - bool m_bOpenGL : 1; bool m_bSkia : 1; private: |