diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-08-31 12:07:31 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-08-31 13:31:19 +0200 |
commit | 012e54bf9f47a4b3085f2933f0dd3a05f919b2a4 (patch) | |
tree | 9a9fe8fcad4d594aeba3f96d24812443952dac76 /Makefile.am | |
parent | 2e860b5b4a0ca4558b1978d8325628fb0081e74f (diff) | |
download | spice-012e54bf9f47a4b3085f2933f0dd3a05f919b2a4.tar.gz spice-012e54bf9f47a4b3085f2933f0dd3a05f919b2a4.tar.xz spice-012e54bf9f47a4b3085f2933f0dd3a05f919b2a4.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.
The fix is to make the src_x/y offset part of the transformation.
This means its automatically transformed by the correct scaling, and
the coordinates passed into pixman are not (typically) over 16bit.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions