Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Idea - drawing speed-up



On 6. Dec 2004, at 21:53 Uhr, Sascha Volkenandt wrote:

Am Montag, 6. Dezember 2004 20:28 schrieb Patrick Gleichmann:
Hi,
I wonder if adding a

   #define IS_VISIBLE(COL) (COL & 0xFF000000 > 0)

check would speed up drawing operations (osd.c).
Dunno, since sometimes it maybe necessary and wanted to draw a transparent
pixel to delete a visible one...
Hi,
sounds weird. You use a transparent(!) pixel to delete a visible one? A transparent one shouldn't be drawn ;-)
SetSize(..) (called from most constructors) sets all pixels to 0x00..

regards
patrick

--
Patrick Gleichmann (mailto:patrick@feedface.com)

PGP key > http://www.feedface.com/patrick/pubkey
Homepage > http://www.feedface.com/patrick/





Home | Main Index | Thread Index