summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorLouis-Francis Ratté-Boulianne <lfrb@collabora.com>2014-11-12 12:45:36 -0500
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-11-13 07:54:14 +0100
commitf433825259731e6fd0bc666f4d22b2f31dc99fa9 (patch)
treead87450a3cb1d14154d03a89c1ab4d40a922ed5a /include/vcl
parent8fa5a65792dc109791cbfbf5b8674cd9b65159dd (diff)
vcl: Use single-buffer rendering and only flush when necessary
Change-Id: I832dd6f3647fbb423975fa928a5ec32447225e85
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/outdev.hxx4
1 files changed, 3 insertions, 1 deletions
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: