> >>> I have built GTK with all the patches on this page: > >>> https://wiki.mozilla.org/Mobile/DFBPorting#DirectFB > >>> > >>> I then run gtk-demo with DirectFB 1.2. It all looks to have worked > >>> rather well except I have a black screen (better than the crash I had > >>> before :-)) > >>> > >>> If I use fbdump to dump the framebuffer I get the gtk-demo program. > >>> However the key here is that the Alpha byte is 0 which means that my > >>> alpha aware hardware has made it all see through. > >>> > >>> I was wondering if there was an issue with alpha and the patches above > >>> or with DirectFB 1.2 or similar. > >>> > >>> Please find attached a PNG of the screenshot (alpha ignored) > >> > >> At least the background color should not have zero alpha. > >> > >> Is this with hardware acceleration? > >> > >> Could this be RGB32, but your hardware is set to use the alpha? > > > > I have run both with and without HW Acceleration and I get the same > > problem. > > I always set the pixelformat to be ARGB (/etc/directfbrc) and the > > depth=32. > > The interesting this is the 'brown colour' on the background. > > Please only set pixelformat to ARGB. Setting depth to 32 afterwards > will override the pixelformat with RGB32. > > -- > Best regards, > Denis Oliver Kropp
That solved my alpha problem which is cool, the bg color still seems to be a milk chocolate light brown color instead of blue. Am investigating.... Many thanks though Daniel Laird _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev