Carsten Haitzler (The Rasterman) wrote:

>On Sat, 20 Oct 2001 14:09:50 +0800 Maxim Koshelev <[EMAIL PROTECTED]> babbled
>profusely:
>
>>As programmer I do not see any problems with realisation of alpha 
>>channel for a windows.
>>We need only one routine  which will add 'alpha mask' to window (like 
>>shape mask but
>>it not change shape even if alpha = 0). To avoid stupid limits let's 
>>allocate 32bit int for value
>>
>
>that is silly. 8bits (0-255) is really all you need. any more is sheer overkill.
>personally i'd allow for deeper pixmap masks - but i woudlnt impliment support
>for them simply because its a massive waste of memory, bandwidth etc. for no
>gain. no decently available hardware supports more than 8bits for alpha value -
>and implmenting an optminised software alpha blender for > 8bits is a pain and
>basically will be pretty slow. dont make apps have to provide 32bits for alpha.
>thats a LOt of data to generate and pump over to the server.. that then has to
>munge it down. not to mention 8bits fits much nicer in packign it in with rgb
>triplets.
>
You can change it inside X to 8bit int. I talk only about 'system call' 
for application developers for FUTURE.
Remember Carmak's dreams about 64 bit color...

>
>
>
>



_______________________________________________
Render mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/render

Reply via email to