1
0
Fork 0
mutter-performance-source/src/compositor
Rui Matos 1d280d8fa1 window: Inform the compositor when a window effectively changes size
In order for the compositor plugin to be able to animate window size
changes properly we need to let it know of the starting and final
window sizes.

For X clients this can be done synchronously and thus with a single
call into the compositor plugin since it's us (the window manager)
who's in charge of the final window size.

Wayland clients though, have the final say over their window size
since it's determined from the client allocated buffer.

This patch moves the meta_compositor_size_change_window() calls before
move_resize_internal() which lets the compositor plugin know the old
window size and freezes the MetaWindowActor.

Then we get rid of the META_MOVE_RESIZE_DONT_SYNC_COMPOSITOR flag
since it's not needed anymore as the window actor is frozen and that
means we can use meta_compositor_sync_window_geometry() as the point
where we inform the compositor plugin of the final window size.

https://bugzilla.gnome.org/show_bug.cgi?id=770345
2016-11-23 18:37:35 +01:00
..
plugins build: Fix cogl include paths 2016-11-23 18:03:59 +01:00
clutter-utils.c Factor out meta_actor_painting_untransformed() 2014-09-03 13:43:40 -04:00
clutter-utils.h Factor out meta_actor_painting_untransformed() 2014-09-03 13:43:40 -04:00
cogl-utils.c Rewrite background code 2014-09-03 13:43:40 -04:00
cogl-utils.h Rewrite background code 2014-09-03 13:43:40 -04:00
compositor-private.h Use signals instead of onscreen framebuffer frame callbacks 2016-07-20 14:23:48 +08:00
compositor.c window: Inform the compositor when a window effectively changes size 2016-11-23 18:37:35 +01:00
meta-background-actor-private.h cullable: Turn cull_out / reset_culling into a separate interface 2013-11-25 15:21:36 -05:00
meta-background-actor.c MetaBackgroundActor: glsl: do not mix int and float. 2015-03-03 22:09:35 +01:00
meta-background-group.c cullable: Turn cull_out / reset_culling into a separate interface 2013-11-25 15:21:36 -05:00
meta-background-image.c Do not skip CoglError parameters 2016-04-15 17:22:24 +02:00
meta-background-private.h Rewrite background code 2014-09-03 13:43:40 -04:00
meta-background.c Use correct cogl object types 2016-07-20 14:23:48 +08:00
meta-cullable.c cullable: Reset the culling state instead of skipping the traversal 2014-02-05 14:24:08 -05:00
meta-cullable.h Changed obsolete FSF postal address into generic URL. 2014-01-13 11:35:47 -05:00
meta-dnd-actor-private.h compositor: Add MetaDnDActor 2014-10-06 19:39:43 -07:00
meta-dnd-actor.c compositor: Add MetaDnDActor 2014-10-06 19:39:43 -07:00
meta-feedback-actor-private.h compositor: Add MetaFeedbackActor 2014-10-06 19:39:43 -07:00
meta-feedback-actor.c feedback actor: Fix a typo 2015-07-20 17:39:09 -04:00
meta-module.c meta: Add generated meta-version.h 2014-06-05 14:05:16 +02:00
meta-module.h Changed obsolete FSF postal address into generic URL. 2014-01-13 11:35:47 -05:00
meta-plugin-manager.c MetaPlugin: add a size_changed vfunc 2016-11-23 18:37:31 +01:00
meta-plugin-manager.h MetaPlugin: add a size_changed vfunc 2016-11-23 18:37:31 +01:00
meta-plugin.c Implement a generic "size change" mechanism 2015-07-05 23:03:36 -07:00
meta-shadow-factory.c Do not skip CoglError parameters 2016-04-15 17:22:24 +02:00
meta-shaped-texture-private.h MetaShapedTexture: Add support for setting a custom CoglSnippet 2016-11-18 00:00:10 +08:00
meta-shaped-texture.c MetaShapedTexture: Default to y-inverted being true 2016-11-18 09:36:51 +08:00
meta-surface-actor-wayland.c MetaSurfaceActorWayland: Remove API never used externally anymore 2016-11-18 00:00:10 +08:00
meta-surface-actor-wayland.h MetaSurfaceActorWayland: Remove API never used externally anymore 2016-11-18 00:00:10 +08:00
meta-surface-actor-x11.c Use correct cogl object types 2016-07-20 14:23:48 +08:00
meta-surface-actor-x11.h window-actor: Split into two subclasses of MetaSurfaceActor 2014-02-20 14:44:31 -05:00
meta-surface-actor.c surface-actor: Keep track of ignored damage 2016-06-17 21:39:06 +02:00
meta-surface-actor.h surface-actor-x11: Unredirect ARGB32 windows with full opaque regions 2016-03-21 13:44:44 -07:00
meta-sync-ring.c compositor: Handle fences in the frontend X connection 2015-08-13 14:14:46 +02:00
meta-sync-ring.h compositor: Add support for GL_EXT_x11_sync_object 2015-08-07 17:27:42 +02:00
meta-texture-rectangle.c Properly set the number of components on the CoglTextureRectangle 2014-01-13 13:28:38 -05:00
meta-texture-rectangle.h Properly set the number of components on the CoglTextureRectangle 2014-01-13 13:28:38 -05:00
meta-texture-tower.c Use correct cogl object types 2016-07-20 14:23:48 +08:00
meta-texture-tower.h Changed obsolete FSF postal address into generic URL. 2014-01-13 11:35:47 -05:00
meta-window-actor-private.h window-actor: Make sync_visibility() public 2016-09-18 11:01:15 +02:00
meta-window-actor.c MetaWindowActor: Sync thawed state when surface actor is set 2016-09-09 10:00:24 +08:00
meta-window-group.c MetaWindowGroup: Only compensate for transforms when in clone paint 2016-07-20 14:23:48 +08:00
meta-window-group.h cullable: Turn cull_out / reset_culling into a separate interface 2013-11-25 15:21:36 -05:00
meta-window-shape.c Export the shadow factory 2015-07-06 00:14:22 -07:00
README There can be only one compositor engine 2009-06-30 09:34:03 -04:00
region-utils.c wayland: Make the surface actor set its own state 2015-03-03 14:53:15 -05:00
region-utils.h wayland: Make the surface actor set its own state 2015-03-03 14:53:15 -05:00

Intro
=====

Fix me.


Env Vars
========

MUTTER_DISABLE_MIPMAPS - set to disable use of mipmaped windows.