blob: 79cdbb21009754459e74ac7cc7f0e8bc6ca3f0be [file] [log] [blame]
Marius Vlade41c1bf2019-07-16 23:11:25 +03001/*
2 * Copyright © 2008-2011 Kristian Høgsberg
3 * Copyright © 2017, 2018 General Electric Company
4 * Copyright © 2012, 2017-2019 Collabora, Ltd.
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining
7 * a copy of this software and associated documentation files (the
8 * "Software"), to deal in the Software without restriction, including
9 * without limitation the rights to use, copy, modify, merge, publish,
10 * distribute, sublicense, and/or sell copies of the Software, and to
11 * permit persons to whom the Software is furnished to do so, subject to
12 * the following conditions:
13 *
14 * The above copyright notice and this permission notice (including the
15 * next paragraph) shall be included in all copies or substantial
16 * portions of the Software.
17 *
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
22 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
23 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
24 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25 * SOFTWARE.
26 */
27
28#ifndef LIBWESTON_BACKEND_INTERNAL_H
29#define LIBWESTON_BACKEND_INTERNAL_H
30
31/* weston_head */
32
33void
34weston_head_init(struct weston_head *head, const char *name);
35
36void
37weston_head_release(struct weston_head *head);
38
39void
40weston_head_set_connection_status(struct weston_head *head, bool connected);
41
42void
43weston_head_set_internal(struct weston_head *head);
44
45void
46weston_head_set_monitor_strings(struct weston_head *head,
47 const char *make,
48 const char *model,
49 const char *serialno);
50void
51weston_head_set_non_desktop(struct weston_head *head, bool non_desktop);
52
53void
54weston_head_set_physical_size(struct weston_head *head,
55 int32_t mm_width, int32_t mm_height);
56
57void
58weston_head_set_subpixel(struct weston_head *head,
59 enum wl_output_subpixel sp);
60
61#endif