mutter/src/backends/x11
Jonas Ådahl 566c28bdaf Introduce regional stage rendering
Add support for drawing a stage using multiple framebuffers each making
up one part of the stage. This works by the stage backend
(ClutterStageWindow) providing a list of views which will be for
splitting up the stage in different regions.

A view layout, for now, is a set of rectangles. The stage window (i.e.
stage "backend" will use this information when drawing a frame, using
one framebuffer for each view. The scene graph is adapted to explictly
take a view when painting the stage. It will use this view, its
assigned framebuffer and layout to offset and clip the drawing
accordingly.

This effectively removes any notion of "stage framebuffer", since each
stage now may consist of multiple framebuffers. Therefore, API
involving this has been deprecated and made no-ops; namely
clutter_stage_ensure_context(). Callers are now assumed to either
always use a framebuffer reference explicitly, or push/pop the
framebuffer of a given view where the code has not yet changed to use
the explicit-buffer-using cogl API.

Currently only the nested X11 backend supports this mode fully, and the
per view framebuffers are all offscreen. Upon frame completion, it'll
blit each view's framebuffer onto the onscreen framebuffer before
swapping.

Other backends (X11 CM and native/KMS) are adapted to manage a
full-stage view. The X11 CM backend will continue to use this method,
while the native/KMS backend will be adopted to use multiple view
drawing.

https://bugzilla.gnome.org/show_bug.cgi?id=768976
2016-07-20 14:23:48 +08:00
..
nested Don't duplicate declarations from G_DEFINE_TYPE 2015-09-24 03:01:51 +02:00
meta-backend-x11.c Introduce regional stage rendering 2016-07-20 14:23:48 +08:00
meta-backend-x11.h Make mutter manage its own clutter backends 2016-07-20 14:23:48 +08:00
meta-barrier-x11.c Move out generic math parts out of the native barrier implementation 2016-02-16 19:02:48 +08:00
meta-barrier-x11.h barrier: Fix type cast macros 2015-01-18 13:32:28 -08:00
meta-clutter-backend-x11.c Explicitly create per backend stage windows 2016-07-20 14:23:48 +08:00
meta-clutter-backend-x11.h Make mutter manage its own clutter backends 2016-07-20 14:23:48 +08:00
meta-cursor-renderer-x11.c Support scaling of cursor sprites given what output they are on 2015-09-13 21:26:22 +08:00
meta-cursor-renderer-x11.h x11: Add simple cursor renderer 2014-05-17 13:27:16 -04:00
meta-idle-monitor-xsync.c idle-monitor-xsync: fix crash if watch callback removes different watch 2016-01-11 11:23:39 -05:00
meta-idle-monitor-xsync.h backends: Start on an initial MetaBackend object 2014-04-21 20:25:21 -04:00
meta-input-settings-x11.c backends: Force 2-finger scroll by default if available 2015-12-15 14:38:23 +01:00
meta-input-settings-x11.h backends/x11: Implement X11-specific MetaInputSettings 2015-01-18 13:32:28 -08:00
meta-monitor-manager-xrandr.c backends: Add flags to MetaMonitorMode 2016-05-13 18:44:45 +02:00
meta-monitor-manager-xrandr.h monitor-manager: Expose MetaMonitorManager to introspection 2015-01-30 13:13:49 -05:00
meta-renderer-x11.c Introduce regional stage rendering 2016-07-20 14:23:48 +08:00
meta-renderer-x11.h Introduce MetaRenderer 2016-07-20 14:23:48 +08:00
meta-stage-x11-nested.c Introduce regional stage rendering 2016-07-20 14:23:48 +08:00
meta-stage-x11-nested.h Explicitly create per backend stage windows 2016-07-20 14:23:48 +08:00