wayland: Add foreign surface support to stage

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
This commit is contained in:
Chris Cummins
2013-05-02 17:46:49 +01:00
committed by Rob Bradford
parent a5e44d3934
commit b6d2232150
5 changed files with 53 additions and 0 deletions

View File

@ -1435,6 +1435,7 @@ clutter_glx_texture_pixmap_get_type
clutter_wayland_input_device_get_wl_seat
clutter_wayland_stage_get_wl_shell_surface
clutter_wayland_stage_get_wl_surface
clutter_wayland_stage_set_wl_surface
clutter_wayland_set_display
clutter_wayland_disable_event_retrieval
</SECTION>