[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xfree-render
Subject:    Re: [Render] New rendering features in W2K
From:       raster () rasterman ! com
Date:       2000-08-07 17:18:07
[Download RAW message or body]

On  6 Aug, Keith Packard scribbled:
->  
->  http://www.microsoft.com/hwdev/video/w2000GDI.htm
->  
->  Highlights:
->  
->  	over/dissolve blts using embeded and constant alpha.  No
->  	separate alpha, no support for non-premultiplied alphas.
->  
->  	Alpha blended text using over (no saturating add beforehand)
->  
->  	Recommendation, but no requirement for gamma corrected blending.
->  
->  	Queries for sub-pixel geometry (R, G, B locations) for ClearType.
->  
->  They also have alpha-blended cursors.  If anyone feels like taking a stab 
->  at a spec for those in X, feel free.  The hard part is getting them right 
->  when the screen supports multiple depths.

oh i know they have them.. seen it.. "that's just dead secksie!" :) the
spec woudl be trivial - provide RGBa 32 bit picture object as a cursor
in a new call - the hard bit is the implimentation (especially in
pseudocolor, or as you noted multidepth). seeing cursors use small
areas of the screen it's possible to go for a slightly more aggressive
implimentation that for multidepth drops the area he cursor is in to
the highest depth available (if theres 8bpp pixels in the box the cursor
lives in they are software-converted to 24bpp) - NB i am talking a
software implimentation. for pseudocolor the cursor will colormap as
best it can dynamically - ie read pixel form sreen - use colormap that
is currently being used to determin rgb value, render cursor using the
colormap given when defintig the curos (ie rgb approximations) then
blast back. yes its pretty simple - but this woudl work in 99% of cases
:) in the other 1% we can fall back to thresholding the alpha :)

-- 
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
The Rasterman (Carsten Haitzler)    raster@rasterman.com     raster@valinux.com
                                    raster@enlightenment.org raster@linux.com
				    raster@zip.com.au

_______________________________________________
Render mailing list
Render@XFree86.Org
http://XFree86.Org/mailman/listinfo/render

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic