Opened 5 years ago

Last modified 5 years ago

#15888 new enhancement

Remove view background color adopting where possible

Reported by: X512 Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/Interface Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is hrev54051.

Setting background color of parent view in AttachedToWindow is often used because BeOS don't support transparent views. With hrev53713, hrev54051 transparent views support was introduced in Haiku and this workaround is no longer needed. For making transparent view, its need to set B_TRANSPARENT_BACKGROUND view flag and set view color to B_TRANSPARENT_COLOR.

Change History (1)

comment:1 by X512, 5 years ago

Note that using transparent views don't have efficiency issues, it is even more efficient because clipping is simplified and more sequential memory access is used. Views are not rendered in parallel because there are only 1 thread per window.

Note: See TracTickets for help on using tickets.