On 10/6/05, Rodrigo Vaz <[EMAIL PROTECTED]> wrote: > Hi Mike and everyone else.... > > I'm pleasure to know that we have a new port of gdk-directfb backend and I > start tests with my application, but after re-compile everything (including > gtk+-2.8.3, cairo, and directfb) my first impression is that almost things > is working fine except some cairo functions that handle alpha channel like > paint_with_alpha for example, I will play around the cairodfb patch to see > if I can get a clue but if you have some clue in mind or something that can > help me with this alpha channel handling I will appreciate and if I get some > clue of course I will post a patch, looking briefly on the cairo-directfb > patch I saw that cairo_directfb_surface_create pass DFB_UNSUPORTED as format > paramenter instead of DFSB_ARGB but anyway I will take a closer look and > make some tests. > Hmm its supposed to got too use a temp ARGB buffer if the base surface type is not supported by cairo. You would have to send me a code snippet of where you think the problem is for me to understand the problem.
> my tests using paint_with_alpha show me a blue rectangle (i'm using > cairo_rectangle for sure) i.e. the function don't handle the alpha channel > and if I use cairo_paint instead it works without the opacity but draw my > rectangle with the right colors . > > Thanks in advance and thanks for this new gdk-directfb, good work ! :) > I think the case is your running and RGB surface and for some reason cairo is not doing the alpha channel right. I've actually not tested this case. I can see there being problems here. Can you send me the sample code ? I'm pretty sure I did not set the alpha right when setting the color for the rectangle fill. I either need to set up the fill right or return that I don't support that style. Mike > Rodrigo Vaz > _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
