spice-common/common
Alexander Larsson b0fe22b6ff 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.
2012-03-20 15:25:49 +01:00
..
win Add files i forgot to commit 2012-03-20 15:25:48 +01:00
.gitignore fresh start 2012-03-20 15:25:36 +01:00
canvas_base.c canvas_base jpeg_alpha: supply the correct size to jpeg_decoder 2012-03-20 15:25:48 +01:00
canvas_base.h Fix various misspellings 2012-03-20 15:25:48 +01:00
canvas_utils.c server: Fix alloc_lz_image_surface stride allocations 2012-03-20 15:25:49 +01:00
canvas_utils.h Make each surface its own depth/format 2012-03-20 15:25:42 +01:00
draw.h Fix various misspellings 2012-03-20 15:25:48 +01:00
gdi_canvas.c Fix various misspellings 2012-03-20 15:25:48 +01:00
gdi_canvas.h Move in spice/draw.h from spice-protocol to common/ 2012-03-20 15:25:48 +01:00
gl_canvas.c Fix various misspellings 2012-03-20 15:25:48 +01:00
gl_canvas.h Move in spice/draw.h from spice-protocol to common/ 2012-03-20 15:25:48 +01:00
gl_utils.h Add C version of find_msb() 2012-03-20 15:25:42 +01:00
glc.c Fix spelling errors in comments and strings 2012-03-20 15:25:42 +01:00
glc.c.save fresh start 2012-03-20 15:25:36 +01:00
glc.h Add emacs settings for indent according to spice styleguide 2012-03-20 15:25:37 +01:00
lines.c Use the spice allocator in common/ 2012-03-20 15:25:40 +01:00
lines.h Fix inclusion of common files, no need for common/ part 2012-03-20 15:25:48 +01:00
lz_common.h Lossy compression of RGBA images (on WAN connection) 2012-03-20 15:25:44 +01:00
lz_compress_tmpl.c Fix spelling errors in comments and strings 2012-03-20 15:25:42 +01:00
lz_config.h Use macros from <spice/macros.h> rather than duplicate them 2012-03-20 15:25:40 +01:00
lz_decompress_tmpl.c Fix spelling errors in comments and strings 2012-03-20 15:25:42 +01:00
lz.c Lossy compression of RGBA images (on WAN connection) 2012-03-20 15:25:44 +01:00
lz.h Fix inclusion of common files, no need for common/ part 2012-03-20 15:25:48 +01:00
Makefile.am Make distcheck work 2012-03-20 15:25:48 +01:00
marshaller.c Fix sign warnings from win32 compiler 2012-03-20 15:25:48 +01:00
marshaller.h Fix inclusion of common files, no need for common/ part 2012-03-20 15:25:48 +01:00
mem.c Fix sign warnings from win32 compiler 2012-03-20 15:25:48 +01:00
mem.h Move SpiceChunks to mem.h 2012-03-20 15:25:48 +01:00
messages.h Don't send padding over the network with video data 2012-03-20 15:25:49 +01:00
mutex.h Relicense everything from GPL to LGPL 2.1+ 2012-03-20 15:25:41 +01:00
ogl_ctx.c Relicense everything from GPL to LGPL 2.1+ 2012-03-20 15:25:41 +01:00
ogl_ctx.h Relicense everything from GPL to LGPL 2.1+ 2012-03-20 15:25:41 +01:00
pixman_utils.c Simplify spice_pixman_region32_init_rects with new types 2012-03-20 15:25:48 +01:00
pixman_utils.h Fix inclusion of common files, no need for common/ part 2012-03-20 15:25:48 +01:00
quic_config.h Relicense everything from GPL to LGPL 2.1+ 2012-03-20 15:25:41 +01:00
quic_family_tmpl.c Relicense everything from GPL to LGPL 2.1+ 2012-03-20 15:25:41 +01:00
quic_rgb_tmpl.c Relicense everything from GPL to LGPL 2.1+ 2012-03-20 15:25:41 +01:00
quic_tmpl.c Relicense everything from GPL to LGPL 2.1+ 2012-03-20 15:25:41 +01:00
quic.c Fix spelling errors in comments and strings 2012-03-20 15:25:42 +01:00
quic.h Fix spelling errors in comments and strings 2012-03-20 15:25:42 +01:00
rect.h Fix inclusion of common files, no need for common/ part 2012-03-20 15:25:48 +01:00
region.c Fix warnings breaking win32 build 2012-03-20 15:25:41 +01:00
region.h Fix inclusion of common files, no need for common/ part 2012-03-20 15:25:48 +01:00
ring.h Relicense everything from GPL to LGPL 2.1+ 2012-03-20 15:25:41 +01:00
rop3.c Add support for 16bit rop3 2012-03-20 15:25:41 +01:00
rop3.h Fix inclusion of common files, no need for common/ part 2012-03-20 15:25:48 +01:00
sw_canvas.c canvas: Better coordinate rounding in scaling 2012-03-20 15:25:49 +01:00
sw_canvas.h Stride can be negative, so don't use size_t for it 2012-03-20 15:25:49 +01:00