summaryrefslogtreecommitdiff
path: root/vcl/inc/opengl
diff options
context:
space:
mode:
authorLouis-Francis Ratté-Boulianne <lfrb@collabora.com>2014-11-03 22:51:15 -0500
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-11-10 07:58:57 +0100
commitd8d9948b61819d302254014e04f14353a06a4c7a (patch)
treeaa12cb836623b9956fe0f223860636cbe86a471f /vcl/inc/opengl
parent037a6a4a3874256a18bbe06a4db9ec2b324e4da9 (diff)
vcl: Allow SalBitmap implementation to do scaling
Change-Id: If4431fb276c9c2629acbc95aeff2ef7c4a683d86
Diffstat (limited to 'vcl/inc/opengl')
-rw-r--r--vcl/inc/opengl/salbmp.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/inc/opengl/salbmp.hxx b/vcl/inc/opengl/salbmp.hxx
index 5661e565b733..74c0fda4e9cb 100644
--- a/vcl/inc/opengl/salbmp.hxx
+++ b/vcl/inc/opengl/salbmp.hxx
@@ -44,6 +44,8 @@ private:
sal_uInt16 mnBytesPerRow;
int mnWidth;
int mnHeight;
+ int mnTexWidth;
+ int mnTexHeight;
public:
OpenGLSalBitmap();
@@ -70,6 +72,8 @@ public:
bool GetSystemData( BitmapSystemData& rData ) SAL_OVERRIDE;
+ bool Scale( const double& rScaleX, const double& rScaleY, sal_uInt32 nScaleFlag ) SAL_OVERRIDE;
+
public:
bool Create( OpenGLContext& rContext, long nX, long nY, long nWidth, long nHeight );