| 1 | /* GStreamer Wayland Library |
| 2 | * |
| 3 | * Copyright (C) 2025 Collabora Ltd. |
| 4 | * |
| 5 | * This library is free software; you can redistribute it and/or |
| 6 | * modify it under the terms of the GNU Library General Public |
| 7 | * License as published by the Free Software Foundation; either |
| 8 | * version 2 of the License, or (at your option) any later version. |
| 9 | * |
| 10 | * This library is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | * Library General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU Library General Public |
| 16 | * License along with this library; if not, write to the Free |
| 17 | * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 | * Boston, MA 02110-1301 USA. |
| 19 | */ |
| 20 | |
| 21 | #pragma once |
| 22 | |
| 23 | #include <gst/wayland/wayland.h> |
| 24 | |
| 25 | G_BEGIN_DECLS |
| 26 | |
| 27 | /* <private> */ |
| 28 | GstWlOutput *gst_wl_output_new (struct wl_output *output, guint32 id); |
| 29 | |
| 30 | void gst_wl_output_set_name (GstWlOutput * self, const gchar *name); |
| 31 | |
| 32 | void gst_wl_output_set_description (GstWlOutput * self, const gchar *description); |
| 33 | |
| 34 | void gst_wl_output_set_scale (GstWlOutput * self, gint scale_factor); |
| 35 | |
| 36 | void gst_wl_output_set_geometry (GstWlOutput * self, gint x,gint y, |
| 37 | gint physical_width, gint physical_height, |
| 38 | enum wl_output_subpixel subpixel, |
| 39 | const gchar * make, const gchar * model, |
| 40 | enum wl_output_transform transform); |
| 41 | |
| 42 | void gst_wl_output_set_mode (GstWlOutput * self, guint flags, gint width, |
| 43 | gint height, gint refresh); |
| 44 | |
| 45 | G_END_DECLS |