|
Roadmap |
Site sponsored by
IGEL
|
||
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [directfb-dev] Antialiased fonts with inverted alpha channel
Hi, Due to Andreas's excellent work I am now playing with the CLE266 driver and getting great results. A feature of the hardware (and driver) is a video overlay which can be made to alpha blend with the primary surface. The alpha channel is attached to the primary surface (in my case RGB) and it works fine. The only catch is that the sense is reversed - i.e. 255 means transparent (the primary surface pixel does not show over the video) and 0 means opaque (it does show). I have found the font drawing code, but I wondered if there is an easy existing way of telling directfb that the alpha channel is inverted? Failing that nothing appears, or if you alter the alpha value, the antialiasing looks wierd. If not I will hack the code I suppose - any pointers? Thanks, Simon -- Bluewater Systems Ltd - ARM Technology Specialists Simon Glass Bluewater Systems Ltd Phone: +64 3 3779127 (Aus 1 800 148 751) Level 17, 119 Armagh St Fax: +64 3 3779135 PO Box 13889 Email: sglass@bluewatersys.com Christchurch Web: http://www.bluewatersys.com New Zealand -- Info: To unsubscribe send a mail to ecartis@directfb.org with "unsubscribe directfb-dev" as subject.
|
|
| directfb.org |
|
Development |
|
Old Archives |