From: Romain D. <do...@ir...> - 2001-07-13 14:10:34
|
Hello, Here's a third draft of a possible interface for overlay support in fbdev. I added a stride parameter suggested by Gerd Knorr, and a way to specify a color or alpha key for overlay clipping/ blending. If someone is interested, I have a small app that use the interface to put a JPG as video overlay on the console. I have a question on the subject of alpha: how is fbcon and the driver supposed to deal with the alpha channel ? Is the _clear function supposed to clear the alpha channel or to left it alone ? What about the _putc, do they set the alpha at a specific value (foreground and background), or should they left the alpha alone ? Same question for invert, too :-) All this in case an app want to put some alpha to clip an overlay... TIA -- DOLBEAU Romain | l'histoire est entierement vraie, puisque ENS Cachan / Ker Lann | je l'ai imaginee d'un bout a l'autre do...@ir... | -- Boris Vian |