summaryrefslogtreecommitdiff
path: root/src/compositor/region-utils.c
Commit message (Collapse)AuthorAgeFilesLines
* WIPwip/nielsdg/uncrustify-testNiels De Graef2018-11-191-23/+33
|
* Clean up include macros messJonas Ådahl2018-11-061-1/+3
| | | | | | The order and way include macros were structured was chaotic, with no real common thread between files. Try to tidy up the mess with some common scheme, to make things look less messy.
* region-utils: Add API to scale an integer region with a doubleJonas Ådahl2018-10-041-0/+45
| | | | | | | The added API lets the caller decide whether to shrink or grow the rectangles if there are rounding issues. Related: https://gitlab.gnome.org/GNOME/mutter/issues/300
* wayland: Make the surface actor set its own stateJonas Ådahl2015-03-031-0/+29
| | | | | | | | | | Since the surface actor knows more about how it draws itself, instead of pushing texture state (buffer and scale), input region and opaque region from MetaWaylandSurface after having transformed into what the surface actor expects, make the surface actor set its own state given what state the Wayland surface is in. https://bugzilla.gnome.org/show_bug.cgi?id=744933
* Remove trailing whitespaceJasper St. Pierre2014-05-021-2/+2
|
* Changed obsolete FSF postal address into generic URL.Andika Triwidada2014-01-121-3/+1
| | | | Fix https://bugzilla.gnome.org/show_bug.cgi?id=721517 #2
* window-actor: Use MetaRegionBuilder when scanning the visible regionJasper St. Pierre2012-05-251-22/+5
| | | | This gives a pretty solid performance improvement when resizing windows.
* region-utils.c: Squash a memory leakColin Walters2011-05-111-6/+0
| | | | | | "chunk" was an allocated but unused variable. https://bugzilla.gnome.org/show_bug.cgi?id=649504
* MetaRegionIterator: avoid reading off end of rectangles arrayOwen W. Taylor2010-12-061-1/+1
| | | | | | | Fix an off-by-one error in the check for "can we peek ahead to the next rectangle". https://bugzilla.gnome.org/show_bug.cgi?id=636491
* Make shadows pretty and configurableOwen W. Taylor2010-11-181-0/+336
The current shadow code just uses a single fixed texture (the Gaussian blur of a rectangle with a fixed blur radius) for drawing all window shadows. This patch adds the ability * Implement efficient blurring of arbitrary regions by approximating a Gaussian blur with multiple box blurs. * Detect when multiple windows can use the same shadow texture by converting their shape into a size-invariant MetaWindowShape. * Add properties shadow-radius, shadow-x-offset, shadow-y-offset, shadow-opacity to allow the shadow for a window to be configured. * Add meta_window_actor_paint() and draw the shadow directly from there rather than using a child actor. * Remove TidyTextureFrame, which is no longer used https://bugzilla.gnome.org/show_bug.cgi?id=592382