diff options
author | Louis-Francis Ratté-Boulianne <lfrb@collabora.com> | 2014-11-12 12:45:36 -0500 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-11-13 07:54:14 +0100 |
commit | f433825259731e6fd0bc666f4d22b2f31dc99fa9 (patch) | |
tree | ad87450a3cb1d14154d03a89c1ab4d40a922ed5a /vcl/unx/generic/gdi/gdiimpl.hxx | |
parent | Avoid possible memory leaks in case of exceptions (diff) | |
download | core-f433825259731e6fd0bc666f4d22b2f31dc99fa9.tar.gz core-f433825259731e6fd0bc666f4d22b2f31dc99fa9.zip |
vcl: Use single-buffer rendering and only flush when necessary
Change-Id: I832dd6f3647fbb423975fa928a5ec32447225e85
Diffstat (limited to 'vcl/unx/generic/gdi/gdiimpl.hxx')
-rw-r--r-- | vcl/unx/generic/gdi/gdiimpl.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/unx/generic/gdi/gdiimpl.hxx b/vcl/unx/generic/gdi/gdiimpl.hxx index 5b0062c93949..fed9bc6b9a4b 100644 --- a/vcl/unx/generic/gdi/gdiimpl.hxx +++ b/vcl/unx/generic/gdi/gdiimpl.hxx @@ -267,7 +267,8 @@ public: virtual bool drawGradient(const tools::PolyPolygon& rPolygon, const Gradient& rGradient) SAL_OVERRIDE; - virtual bool swapBuffers() SAL_OVERRIDE { return false; } + virtual void beginPaint() SAL_OVERRIDE { } + virtual void endPaint() SAL_OVERRIDE { } public: // implementation of X11GraphicsImpl |