[haiku-commits] Re: BRANCH looncraz-github.shapedwindow [39cdc595616a] src/servers/app src/kits/interface headers

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 08 Apr 2015 13:26:22 +0200

On 08/04/2015 09:31, looncraz-github.shapedwindow wrote:

added 1 changeset to branch 'refs/remotes/looncraz-github/shapedwindow'
old head: 0000000000000000000000000000000000000000
new head: 39cdc595616a58ef86aee511041850492f6eb9f3
overview: https://github.com/looncraz/haiku/compare/39cdc595616a

----------------------------------------------------------------------------

39cdc595616a: Window Shaping

Now capable of clipping a window to a BRegion for shaping.

Seems to work perfectly, but complex shapes result in far too
many rects in BRegion which hurts performance.

Simple shapes, however, perform quite well.

I will be experimenting also with the BeOS R5.1-style ClipToPicture
in addition to a custom SparceRegion designed to minimize the number
of rects in the region.

(My code generates 250 or so rects, BRegion makes it >1100!!)


I've got a candidate for you, a skin-shaping plugin for CL-Amp, if I can
dig the source code. :D

François.



Other related posts: