diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-02-07 16:17:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-02-07 16:41:51 +0000 |
commit | 555e1ff4cc84682ea73f9976f8e3c6f1d0f22590 (patch) | |
tree | c6e071aaf02b08ec2db90407a3ede837959d4ce8 /vcl/headless/svpframe.cxx | |
parent | f9d0f55b2eefc1107d238774a00f7062a1e0d5c8 (diff) |
bubble the original gtk surface type through rendering
this may make scrolling a tad faster
Change-Id: I0c2cc9df85932e25dbfed88727d3b83d299671c7
Diffstat (limited to 'vcl/headless/svpframe.cxx')
-rw-r--r-- | vcl/headless/svpframe.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/headless/svpframe.cxx b/vcl/headless/svpframe.cxx index 0ce76cf119d1..962cea02a69f 100644 --- a/vcl/headless/svpframe.cxx +++ b/vcl/headless/svpframe.cxx @@ -150,7 +150,7 @@ SalGraphics* SvpSalFrame::AcquireGraphics() { SvpSalGraphics* pGraphics = new SvpSalGraphics(); #ifndef IOS - pGraphics->setSurface( m_pSurface ); + pGraphics->setSurface(m_pSurface, B2IVector(maGeometry.nWidth, maGeometry.nHeight)); #endif m_aGraphics.push_back( pGraphics ); return pGraphics; @@ -281,7 +281,7 @@ void SvpSalFrame::SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_u for( std::list< SvpSalGraphics* >::iterator it = m_aGraphics.begin(); it != m_aGraphics.end(); ++it ) { - (*it)->setSurface(m_pSurface); + (*it)->setSurface(m_pSurface, aFrameSize); } } if( m_bVisible ) |