Bug 6951 - drawing glitches with non-integer source surfaces
Summary: drawing glitches with non-integer source surfaces
Alias: None
Product: cairo
Classification: Unclassified
Component: xlib backend (show other bugs)
Version: 1.1.7
Hardware: Other Linux (All)
: high normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
Depends on:
Reported: 2006-05-17 19:24 UTC by Benjamin Otte
Modified: 2006-07-10 12:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

test program to show glitches (1.54 KB, text/plain)
2006-05-17 19:25 UTC, Benjamin Otte

Description Benjamin Otte 2006-05-17 19:24:14 UTC
When running the attached test program and resizing the window to cause redraws,
the topmost row and the leftmost column of the painted image sometimes have
drawing glitches. This happens only when cairo_set_source_surface sets
non-integer x and y coordinates. And it happens both when using image surfaces
and when using Xlib surfaces as source.

The machine I'm running this on is Debian with cairo cvs and:
ibook:~# Xorg -version

X Window System Version 6.9.0 (Debian 6.9.0.dfsg.1-5 20060321124109 buildd@malo)
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: Linux 2.4.25 ppc [ELF]
Current Operating System: Linux ibook.otte 2.6.11-powerpc #1 Fri May 13 15:47:19
CEST 2005 ppc
Build Date: 21 March 2006
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.11-powerpc (sven@pegasos2) (version gcc 3.3.6
(Debian 1:3.3.6-4)) #1 Fri May 13 15:47:19 CEST 2005
Comment 1 Benjamin Otte 2006-05-17 19:25:21 UTC
Created attachment 5654 [details]
test program to show glitches
Comment 2 Benjamin Otte 2006-06-29 03:33:29 UTC
FWIW, this does not happen anymore for me with a recent X.
Comment 3 Carl Worth 2006-07-10 12:44:45 UTC
If changing the X server made the problem go away, let's conclude that this
wasn't a cairo bug.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.