diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-15 11:35:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-15 11:35:30 +0200 |
commit | 6d17d6930e026aa76310767ba7013bb9e9e889b0 (patch) | |
tree | 3209140d0f8f269bf61ca68b5a091894e439d04c /include/vcl | |
parent | 3b48b3cc92c93911f61535d22a2c8731574ee51a (diff) |
Remove OutputDevice::PaintScope
PaintScope was introduced in
commit bfceb557efcd607ef018ae35fc73f8d61a9b9a4e
Author: Michael Meeks <michael.meeks@collabora.com>
Date: Wed Sep 16 09:17:37 2015 +0100
GL paint-flushing guard re-work.
Unfortunately, since we can have 2x SalGraphics' on a
OutputDevice,
and one of these can be a printer - things got very confused
around
which context to glFlush. This de-tangles the various reference-
counts.
and then mostly removed in
commit 33fac4828038bc38ab4a0c4b891d762a5ae73e5e
Author: Noel Grandin <noel@peralex.com>
Date: Thu Dec 24 09:21:23 2015 +0200
loplugin:unnecessaryvirtual
and unwind some apparently now unused VCL OpenGL and
GlyphCachePeer
stuff.
Finish the job, it's not doing anything at all anymore
Change-Id: I1365c2d0652ee92630d0649b2df6e5a7b7e37e73
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/outdev.hxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index 2be52c33bf6b..1811e8b7f4e2 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -566,23 +566,6 @@ public: const Point& rSrcPt, const Size& rSrcSize, bool bWindowInvalidate = false ); - /** - * Instantiate across a paint operation to defer flushing - * to the end. - * - * NB. holding a handle avoids problems with - * the underlying SalGraphics and it's implementation - * changing. - */ -#if HAVE_FEATURE_OPENGL || defined(ANDROID) - class PaintScope { - void *pHandle; - public: - PaintScope(OutputDevice *); - ~PaintScope(); - void flush(); - }; -#endif protected: virtual void CopyDeviceArea( SalTwoRect& aPosAry, bool bWindowInvalidate); |