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

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 03 Mar 2019 07:03:27 -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):

 Replying to [comment:2 jackburton]:

Can't we reuse the alphamask already implemented in the App server? I
 see that dano had a Clipwindowtopicture method, se could implement that,
 too.

 On the app_server side the existing AlphaMask will be adapted to serve the
 purpose, yes.  We also need to use the mask to handle pointer pass through
 and draw clipping.  Once that's done, the last step is to order the window
 drawing - then you can even have some transparency without full
 compositing, though that's not my goal.

 Clipping to picture just renders a bitmap from the picture, IIRC, so we're
 cutting out the middle man, but the method could be added very easily.

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

Other related posts: