spice/common
Alexander Larsson 012e54bf9f 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.
2010-08-31 13:31:19 +02:00
..
win Add files i forgot to commit 2010-07-09 11:57:09 +02:00
.gitignore fresh start 2009-10-14 15:06:41 +02:00
canvas_base.c canvas_base jpeg_alpha: supply the correct size to jpeg_decoder 2010-07-15 11:50:28 +03:00
canvas_base.h Fix various misspellings 2010-07-08 18:26:37 +02:00
canvas_utils.c server: Fix alloc_lz_image_surface stride allocations 2010-08-26 09:38:36 +02:00
canvas_utils.h Make each surface its own depth/format 2010-04-23 16:41:42 +02:00
draw.h Fix various misspellings 2010-07-08 18:26:37 +02:00
gdi_canvas.c Fix various misspellings 2010-07-08 18:26:37 +02:00
gdi_canvas.h Move in spice/draw.h from spice-protocol to common/ 2010-07-08 13:56:01 +02:00
gl_canvas.c Fix various misspellings 2010-07-08 18:26:37 +02:00
gl_canvas.h Move in spice/draw.h from spice-protocol to common/ 2010-07-08 13:56:01 +02:00
gl_utils.h Add C version of find_msb() 2010-05-03 11:36:59 +02:00
glc.c Fix spelling errors in comments and strings 2010-05-21 10:51:28 +02:00
glc.c.save fresh start 2009-10-14 15:06:41 +02:00
glc.h Add emacs settings for indent according to spice styleguide 2010-02-23 11:52:30 +01:00
lines.c Use the spice allocator in common/ 2010-03-11 12:14:08 +01:00
lines.h Fix inclusion of common files, no need for common/ part 2010-07-08 15:44:15 +02:00
lz_common.h Lossy compression of RGBA images (on WAN connection) 2010-06-21 15:18:26 +02:00
lz_compress_tmpl.c Fix spelling errors in comments and strings 2010-05-21 10:51:28 +02:00
lz_config.h Use macros from <spice/macros.h> rather than duplicate them 2010-03-09 11:10:00 +01:00
lz_decompress_tmpl.c Fix spelling errors in comments and strings 2010-05-21 10:51:28 +02:00
lz.c Lossy compression of RGBA images (on WAN connection) 2010-06-21 15:18:26 +02:00
lz.h Fix inclusion of common files, no need for common/ part 2010-07-08 15:44:15 +02:00
Makefile.am Make distcheck work 2010-07-08 20:20:35 +02:00
marshaller.c Fix sign warnings from win32 compiler 2010-07-08 15:44:39 +02:00
marshaller.h Fix inclusion of common files, no need for common/ part 2010-07-08 15:44:15 +02:00
mem.c Fix sign warnings from win32 compiler 2010-07-08 15:44:39 +02:00
mem.h Move SpiceChunks to mem.h 2010-07-08 14:17:24 +02:00
messages.h Don't send padding over the network with video data 2010-07-20 11:33:57 +02:00
mutex.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
ogl_ctx.c Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
ogl_ctx.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
pixman_utils.c Simplify spice_pixman_region32_init_rects with new types 2010-07-08 14:46:04 +02:00
pixman_utils.h Fix inclusion of common files, no need for common/ part 2010-07-08 15:44:15 +02:00
quic_config.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
quic_family_tmpl.c Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
quic_rgb_tmpl.c Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
quic_tmpl.c Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
quic.c Fix spelling errors in comments and strings 2010-05-21 10:51:28 +02:00
quic.h Fix spelling errors in comments and strings 2010-05-21 10:51:28 +02:00
rect.h Fix inclusion of common files, no need for common/ part 2010-07-08 15:44:15 +02:00
region.c Fix warnings breaking win32 build 2010-04-23 16:36:31 +02:00
region.h Fix inclusion of common files, no need for common/ part 2010-07-08 15:44:15 +02:00
ring.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
rop3.c Add support for 16bit rop3 2010-04-23 16:36:31 +02:00
rop3.h Fix inclusion of common files, no need for common/ part 2010-07-08 15:44:15 +02:00
sw_canvas.c Fix scaling with large magnification 2010-08-31 13:31:19 +02:00
sw_canvas.h Stride can be negative, so don't use size_t for it 2010-08-18 16:33:20 +02:00