Simon H. wrote:
> By the way: The root of these problems was always, that the PXA display
> controller uses a "transaparency" bit instead of an "alpha" bit, for some
> strange reason. We had to use the 19bit depth with one transparency bit. I
> assume, that you are using the same pixelformat, even if you mentioned
> 18bit. As far as i understand the API, you could use ARGB1666 for a
> 19bit-with-transparency depth and use the SetAlphaRamp function to inverse
> the meaning of the alpha bit:
> http://www.directfb.org/docs/DirectFB_Reference_1_0/IDirectFBSurface_SetAlphaRamp.html
>  
> In theory. It didn't work for us (0.9.24 was the version we used).

The rendering functions don't take care of the alpha ramp. It is meant for minor
adjustments like with a gamma ramp, but it could be used for more if the 
application
is rendering itself.

-- 
Best regards,
   Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to