1
0
Fork 0
mutter-performance-source/src/compositor
Simon McVittie c2a9ccb7e2 Let the UI layer (via the core) construct the frame mask
This essentially just moves install_corners() from the compositor, through
the core, into the UI layer where it arguably should have been anyway,
leaving behind stub functions which call through the various layers. This
removes the compositor's special knowledge of how rounded corners work,
replacing it with "ask the UI for an alpha mask".

The computation of border widths and heights changes a bit, because the
width and height used in install_corners() are the
meta_window_get_outer_rect() (which includes the visible borders but not
the invisible ones), whereas the more readily-available rectangle is the
MetaFrame.rect (which includes both). Computing the same width and height
as meta_window_get_outer_rect() involves compensating for the invisible
borders, but the UI layer is the authority on those anyway, so it seems
clearer to have it do the calculations from scratch.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=697758
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
2013-04-17 13:35:06 +01:00
..
plugins compositor: don't show stage right away 2013-03-04 16:16:56 -05:00
clutter-utils.c compositor: export actor_is_untransformed function 2013-02-19 18:18:29 -05:00
clutter-utils.h compositor: export actor_is_untransformed function 2013-02-19 18:18:29 -05:00
cogl-utils.c Fix gobs of gtk-doc warnings 2013-03-14 18:02:43 -04:00
cogl-utils.h compositor: Don't use deprecated Cogl-1.0 API 2013-02-19 20:05:33 -05:00
compositor-private.h compositor: Add a new window group for override-redirect windows 2013-02-14 01:25:17 -05:00
compositor.c Add small note to the docs about the actor containers in the compositor 2013-03-18 23:08:24 +01:00
meta-background-actor-private.h compositor: rework how backgrounds are managed 2013-02-19 18:21:00 -05:00
meta-background-actor.c Add a meaningful name and description to all sections/files in the API docs 2013-03-14 18:11:04 -04:00
meta-background-group-private.h compositor: rework how backgrounds are managed 2013-02-19 18:21:00 -05:00
meta-background-group.c background-group: Use a default FixedLayout manager 2013-03-18 14:52:06 -04:00
meta-background.c Don't redefine MetaBackgroundPrivate, fixing a build issue: 2013-03-29 16:59:26 +01:00
meta-module.c Move the installed includes to a subdir 2011-03-07 18:19:53 -05:00
meta-module.h Remove Mutter namespace prefix 2010-10-23 15:48:29 -04:00
meta-plugin-manager.c plugin-manager: Remove a bogus check 2013-01-09 14:06:24 -05:00
meta-plugin-manager.h Add compositor hook to process keybindings selectively 2012-11-17 01:47:05 +01:00
meta-plugin.c Add a meaningful name and description to all sections/files in the API docs 2013-03-14 18:11:04 -04:00
meta-shadow-factory-private.h compositor: Don't use deprecated Cogl-1.0 API 2013-02-19 20:05:33 -05:00
meta-shadow-factory.c Add a meaningful name and description to all sections/files in the API docs 2013-03-14 18:11:04 -04:00
meta-shaped-texture.c Add a meaningful name and description to all sections/files in the API docs 2013-03-14 18:11:04 -04:00
meta-texture-rectangle.c Enable CLUTTER / COGL_ENABLE_EXPERIMENTAL_API globally 2013-02-13 09:48:26 -05:00
meta-texture-rectangle.h meta-texture-rectangle: Use Cogl's API to create a rectangle texture 2012-04-25 14:54:09 +01:00
meta-texture-tower.c compositor: Don't use deprecated Cogl-1.0 API 2013-02-19 20:05:33 -05:00
meta-texture-tower.h compositor: Don't use deprecated Cogl-1.0 API 2013-02-19 20:05:33 -05:00
meta-window-actor-private.h MetaWindowActor: Go back to freezing affecting actor geometry 2013-02-15 21:48:25 -05:00
meta-window-actor.c Let the UI layer (via the core) construct the frame mask 2013-04-17 13:35:06 +01:00
meta-window-group.c Fix up for latest Clutter deprecations 2013-03-03 16:23:32 -05:00
meta-window-group.h Update and fix comments 2013-03-14 17:55:31 -04:00
meta-window-shape.c Make shadows pretty and configurable 2010-11-18 09:47:56 -05:00
meta-window-shape.h Make shadows pretty and configurable 2010-11-18 09:47:56 -05:00
README There can be only one compositor engine 2009-06-30 09:34:03 -04:00
region-utils.c window-actor: Use MetaRegionBuilder when scanning the visible region 2012-05-25 17:31:06 -04:00
region-utils.h window-actor: Use MetaRegionBuilder when scanning the visible region 2012-05-25 17:31:06 -04:00

Intro
=====

Fix me.


Env Vars
========

MUTTER_DISABLE_MIPMAPS - set to disable use of mipmaped windows.