wayland: Add foreign surface support to stage

Desktop / GNOME / Clutter - Chris Cummins [intel.com] - 23 July 2013 12:27 UTC

This adds support for optionally a providing a foreign Wayland surface to a ClutterStage before it is first show. Setting a foreign surface prevents Cogl from allocating a surface and shell surface for the stage automatically.

v2: add CLUTTER_AVAILABLE_IN_1_16 annotation and API reference docs (review from Emmanuele Bassi)
v3: set a boolean to indicate that this stage is using a foreign surface (Rob Bradford)

https://bugzilla.gnome.org/show_bug.cgi?id=699578

d390a44 wayland: Add foreign surface support to stage
clutter/clutter.symbols | 1 +
clutter/wayland/clutter-stage-wayland.c | 47 +++++++++++++++++++++++++++
clutter/wayland/clutter-stage-wayland.h | 1 +
clutter/wayland/clutter-wayland.h | 3 ++
doc/reference/clutter/clutter2-sections.txt | 1 +
5 files changed, 53 insertions(+)

Upstream: git.gnome.org


  • Share