summaryrefslogtreecommitdiff
path: root/svgio/source/svgreader
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2016-02-11 15:57:27 +0100
committerMichael Meeks <michael.meeks@collabora.com>2016-02-11 17:08:44 +0000
commit54e3ea8a86a309990f5edf78948bfe18dd2de96b (patch)
treeb4663566575cfe7b36bbb57ebc47cb5cb711432f /svgio/source/svgreader
parent2f048d891d2a3799e5d11bca90978849726a9ffb (diff)
tdf#97715 fix inv. scale calculation in DrawTransformedTexture
When image was rotated towards 90 degree the ixscale and iyscale went towards infinity. That caused problems in fragment shader areaScaleFastFragmentShader. The problem was with calculation of destination width and height which didn't take rotation into account correctly. This commit takes this calculation from WinSalGraphicsImpl::drawTransformedBitmap. Change-Id: I30f14a1ecda21ef167e58eda8e2fcef00bdfa2b7 Reviewed-on: https://gerrit.libreoffice.org/22289 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'svgio/source/svgreader')
0 files changed, 0 insertions, 0 deletions