[haiku-development] Re: Offscreen and onscreen views
- From: Stephan Assmus <superstippi@xxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Tue, 21 Oct 2008 09:04:45 +0200
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
- References:
- [haiku-development] Offscreen and onscreen views
- From: Stephen Deken
- [haiku-development] Re: Offscreen and onscreen views
- From: Stephan Assmus
- [haiku-development] Re: Offscreen and onscreen views
- From: Zenja Solaja
Other related posts:
- » [haiku-development] Offscreen and onscreen views
- » [haiku-development] Re: Offscreen and onscreen views
- » [haiku-development] Re: Offscreen and onscreen views
- » [haiku-development] Re: Offscreen and onscreen views
- » [haiku-development] Re: Offscreen and onscreen views
- » [haiku-development] Re: Offscreen and onscreen views
- [haiku-development] Offscreen and onscreen views
- From: Stephen Deken
- [haiku-development] Re: Offscreen and onscreen views
- From: Stephan Assmus
- [haiku-development] Re: Offscreen and onscreen views
- From: Zenja Solaja