mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 05:12:15 +00:00
16ed7677e0
This adds a --enable-wayland-compositor configure option which will add support for a ClutterWaylandSurface actor which can be used to aid in writing Wayland compositors using Clutter by providing a ClutterActor to represent Wayland client surfaces. Notably this configure option isn't tied into any particular backend since conceptually the compositor support can be used in conjunction with any clutter backend that has corresponding Cogl support. Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
44 lines
1.3 KiB
C
44 lines
1.3 KiB
C
/*
|
|
* Clutter.
|
|
*
|
|
* An OpenGL based 'interactive canvas' library.
|
|
*
|
|
* Copyright (C) 2011 Intel Corporation
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
* Authors:
|
|
* Robert Bragg <robert@linux.intel.com>
|
|
*/
|
|
|
|
/**
|
|
* SECTION:clutter-wayland-compositor
|
|
* @short_description: Wayland compositor specific APIs
|
|
*
|
|
* Clutter provides some Wayland specific APIs to aid in writing
|
|
* Clutter based compositors.
|
|
*
|
|
* The Clutter Wayland compositor API is available since Clutter 1.8
|
|
*/
|
|
|
|
#include <wayland-server.h>
|
|
#include <clutter/wayland/clutter-wayland-surface.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void
|
|
clutter_wayland_set_compositor_display (struct wl_display *display);
|
|
|
|
G_END_DECLS
|