2021-04-10 11:32:02 -04:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2019 Red Hat, Inc.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of the
|
|
|
|
* License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program 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
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2023-07-21 09:37:20 -04:00
|
|
|
#pragma once
|
2021-04-10 11:32:02 -04:00
|
|
|
|
|
|
|
#include "wayland/meta-wayland.h"
|
|
|
|
|
|
|
|
#define META_TYPE_WAYLAND_TEST_DRIVER (meta_wayland_test_driver_get_type ())
|
|
|
|
G_DECLARE_FINAL_TYPE (MetaWaylandTestDriver, meta_wayland_test_driver,
|
|
|
|
META, WAYLAND_TEST_DRIVER,
|
|
|
|
GObject)
|
|
|
|
|
|
|
|
MetaWaylandTestDriver * meta_wayland_test_driver_new (MetaWaylandCompositor *compositor);
|
|
|
|
|
2021-09-07 04:32:53 -04:00
|
|
|
void meta_wayland_test_driver_emit_sync_event (MetaWaylandTestDriver *test_driver,
|
|
|
|
uint32_t serial);
|
|
|
|
|
2022-05-13 15:56:50 -04:00
|
|
|
void meta_wayland_test_driver_set_property (MetaWaylandTestDriver *test_driver,
|
|
|
|
const char *name,
|
|
|
|
const char *value);
|
|
|
|
|
2022-09-14 17:12:00 -04:00
|
|
|
void meta_wayland_test_driver_wait_for_sync_point (MetaWaylandTestDriver *test_driver,
|
|
|
|
unsigned int sync_point);
|