Il giorno lun, 25/02/2008 alle 00.50 +0100, Denis Oliver Kropp ha scritto: > Claudio Ciccani wrote: > > Il giorno dom, 24/02/2008 alle 21.41 +0100, [EMAIL PROTECTED] ha > > scritto: > >> New commits: > >> http://git.directfb.org/?p=ports/cairodfb.git;a=commit;h=12695427007196f0b51f4b2f9f3114db4138e76f > >> commit 12695427007196f0b51f4b2f9f3114db4138e76f > >> Author: Claudio Ciccani <[EMAIL PROTECTED]> > >> Date: Sun Feb 24 21:42:37 2008 +0100 > >> > >> Experimental version of the backend based on the new DirectFB features. > >> > >> This also definitively implements antialiased composite_trapezoids() > >> by using FillTriangle() and an accumulation buffer. > >> > >> cairo/cairo-directfb-surface.c | 769 +++++++++------ > >> cairo/cairo-directfb.h | 70 ++ > >> cairo/cairo-directfb.patch | 2151 > >> +++++++++++++++++----------------------- > >> 3 files changed, 1418 insertions(+), 1572 deletions(-) > >> > > > > And is also very fast!! > > The cairo-spacewar demo runs at about 90fps, against the 60fps of the > > old backend (testing hardware is a Radeon 9250). > > Great! > > I should test it on SH7722, but it does not support SRCALPHASAT
I was just wondering if it is really unsupported or only unimplemented... In the cairo backend I could implement a different method that uses DSPD_ADD. Need to do some tests, however. > and allows anti-aliased edges with and without blending. I see that the driver enables blending internally when antialiasing is enabled. Do you check for the alpha value of the color in this case? > Both make sense. You don't > need blending if you draw something onto a black background. > Yeah, but what does it happen when the background is not black? -- Claudio Ciccani [EMAIL PROTECTED] [EMAIL PROTECTED] http://directfb.org _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev