[cairo-bugs] [Bug 14093] New: Drawing Error with PIXELFORMAT

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 15 21:47:45 PST 2008


           Summary: Drawing Error with PIXELFORMAT
           Product: cairo
           Version: 1.4.14
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: major
          Priority: high
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: nshi at 163.com
         QAContact: cairo-bugs at cairographics.org

Created an attachment (id=13739)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=13739)
desc.pixelformat = DSPF_RGB16

My Development Eviroment: 
   vmware 6.0.1
   Debian Sarge 3.1a6 with framebuffer support
   Kernel boot parameters is : 
      kernel /boot/bzImage-2.4.27-rtl3.2-rc1 root=/dev/sda1 ro vga=785
   Cairo 1.4.14 compile parameters is: 
      ./configure --enable-xlib=no \
                  --enable-xlib-xrender=no \
                  --enable-directfb=yes \
                  --enable-pdf=no \
   exceed on WindowXP sp2
   DirectFB 1.0.1 (/etc/directfbrc is setting "system=sdl")

   I try to run cairo-snippets with the DirectFB backend.

After several tests, I found that the corrent display of cairo-snippet is
relative with the PIXELFORMAT value of the DIRECTFB. 

according to diffirent PIXELFORMAT value, some result can be displayed
correctly and some can not be displayed properly.

In the attached program, if the 
   "desc.pixelformat = DSPF_RGB16;" 
the result isn't corrent(see "rgb16.png" ), and 
if the "desc.pixelformat = DSPF_RGB32;",the result is corrent(see

The same problem is the same with the framebuffer device.

Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the cairo-bugs mailing list