diff options
author | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-05-25 16:40:47 +0100 |
---|---|---|
committer | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-06-25 13:04:29 +0100 |
commit | 56fea375b915bb96012b36012634523b9806040a (patch) | |
tree | 291c2de2f0599b2302a95068bda1b98585fc1b51 /vcl/inc/headless/svpvd.hxx | |
parent | 01bd2bd371051e9dcab0cd15db43a607d5f12b63 (diff) |
Allow passing in external buffers to svp's VirtualDevice.
We also want to be able to set whether or not the buffers
should be painted to top down, so add that parameter
as necessary (default seems to be false, however e.g. gtk
requires this to be true, i.e. needed for tiled rendering).
Change-Id: Id98882e4c7f62508ae5a976c0d8df743460a4ab2
Diffstat (limited to 'vcl/inc/headless/svpvd.hxx')
-rw-r--r-- | vcl/inc/headless/svpvd.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/inc/headless/svpvd.hxx b/vcl/inc/headless/svpvd.hxx index e4d37fcabeb1..f6a9cc5307fe 100644 --- a/vcl/inc/headless/svpvd.hxx +++ b/vcl/inc/headless/svpvd.hxx @@ -45,7 +45,10 @@ public: virtual void ReleaseGraphics( SalGraphics* pGraphics ) SAL_OVERRIDE; virtual bool SetSize( long nNewDX, long nNewDY ) SAL_OVERRIDE; - virtual bool SetSizeUsingBuffer( long nNewDX, long nNewDY, const basebmp::RawMemorySharedArray &pBuffer ) SAL_OVERRIDE; + virtual bool SetSizeUsingBuffer( long nNewDX, long nNewDY, + const basebmp::RawMemorySharedArray &pBuffer, + const bool bTopDown + ) SAL_OVERRIDE; virtual void GetSize( long& rWidth, long& rHeight ) SAL_OVERRIDE; basebmp::BitmapDeviceSharedPtr getBitmapDevice() { return m_aDevice; } |