[haiku-bugs] Re: [Haiku] #14940: Support non-rectangular (shaped) windows

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sat, 30 Mar 2019 01:38:18 -0000

#14940: Support non-rectangular (shaped) windows
----------------------------------+--------------------------------
   Reporter:  mmu_man             |      Owner:  looncraz
       Type:  enhancement         |     Status:  assigned
   Priority:  low                 |  Milestone:  Unscheduled
  Component:  Servers/app_server  |    Version:  R1/Development
 Resolution:                      |   Keywords:  clipping, BPicture
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+--------------------------------

Comment (by looncraz):

 Update:

 I think I want to go another route for shaped windows that ties in better
 with compositing without the need to manage an alpha mask, BPicture,
 BShape, or any other object.

 The idea is simply to treat alpha 0 in the canvas buffer as click-through
 (thereby shaping the window).

 This comes at very low cost with client-side rendering and the BCanvas
 idea I have (where BCanvas takes over drawing and belongs to a window,
 view, or bitmap).  I have something of a detailed write-up about it,
 actually, a live document you'll find here:

 https://github.com/looncraz/haiku/blob/compositing/CSR_Worklist_Proposal.txt

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14940#comment:4>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: