summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-08-30 15:33:36 +0200
committerAlexander Larsson <alexl@redhat.com>2010-08-30 16:56:41 +0200
commite13be77f33609cb3fdae354ce1f2686ae865f9e0 (patch)
tree2520f1160a0d29e3dc56c3b6a13769dd5cc27357 /server
parentb718f59d4617067c589dae020d14bf4327e2fa62 (diff)
downloadspice-e13be77f33609cb3fdae354ce1f2686ae865f9e0.tar.gz
spice-e13be77f33609cb3fdae354ce1f2686ae865f9e0.tar.xz
spice-e13be77f33609cb3fdae354ce1f2686ae865f9e0.zip
Fix scaling with large magnification
When scaling part of an image we need to specify the source coordinates in transformed coordinates. For large magnifications this means we will get pretty large values. Now, if e.g. src_x * transform is larger than 32765, then the coordinate ends up outside the pixman 16bit image size, so the rendering will not work. In order to work around this we generate a "sub-image" of the pixman image such that the src_x/y values we have to specify are zero (or near zero).
Diffstat (limited to 'server')
0 files changed, 0 insertions, 0 deletions