spice/common
Alexander Larsson 9ac9099842 canvas: Better coordinate rounding in scaling
When scaling in pixman you give the source coordinates in transformed
space rather than in the source coordinates. This is a bit problematic
when both source and destination coordinates are at integer positions, but
the scaling factor is not an exact 16.16 fixed point value. We used
to calculate the transformed source based on the floating point
transformation, which gave the wrong answer sometimes. Now we do the
calculations based on the fixed point transform that we give pixman.

However, even with this patch I can still sometimes see issues related
to this, although they are less bad.
2010-08-27 16:33:35 +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 canvas: Better coordinate rounding in scaling 2010-08-27 16:33:35 +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