Drawing Error with PIXELFORMAT
Submitted by Shining
Assigned to cairo-bugs mailing list
Description
Created attachment 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
--enable-svg=no
exceed on WindowXP sp2
DirectFB 1.0.1 (/etc/directfbrc is setting "system=sdl")
MyTaret: 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 "rgb32.png").
The same problem is the same with the framebuffer device.
Attachment 13739, "desc.pixelformat = DSPF_RGB16":
Version: 1.4.14