[haiku-development] Re: Offscreen and onscreen views

Zenja Solaja wrote:
> Ever played with the BView function SetViewColor(B_TRANSPARENT_COLOR) ?
>  BeOS had this for ages ...

On BeOS and Haiku, it just means that the app_server will not paint the 
background like it usually does. Painting the background on the app_server 
can help avoid "smearing" effects. For example when you move a window, if 
the app_server erases the background of the exposed views, parts of the 
moved window are not visible at the old location for as long as they are 
visible if the client draws the background. Anyways, 
SetViewColor(B_TRANSPARENT_COLOR) does not have much to do with alpha 
compositing. The whole model is based on clipping, not compositing. To 
change it is certainly a post-R1 thing and will require careful design and 
many considerations as well as a lot of looking around how the other guys 
do things, because others may already have thought of and enabled use-cases 
that oneself may have forgotten.

Best regards,
-Stephan

Other related posts: