From f433825259731e6fd0bc666f4d22b2f31dc99fa9 Mon Sep 17 00:00:00 2001 From: Louis-Francis Ratté-Boulianne Date: Wed, 12 Nov 2014 12:45:36 -0500 Subject: vcl: Use single-buffer rendering and only flush when necessary Change-Id: I832dd6f3647fbb423975fa928a5ec32447225e85 --- include/vcl/outdev.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index a59b642c02bf..d80d394e63fe 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -501,7 +501,9 @@ public: const Point& rSrcPt, const Size& rSrcSize, sal_uInt16 nFlags = 0 ); - virtual bool SwapBuffers(); + // Call before and after a paint operation to reduce flushing + virtual void BeginPaint(); + virtual void EndPaint(); protected: -- cgit