This is an automated email from the git hooks/post-receive script.
git pushed a commit to reference refs/pull/206/head
in repository enlightenment.
View the commit online.
commit e37981df05e9869056652413e6157984522e03ec
Author: Cedric BAIL <[email protected]>
AuthorDate: Tue Nov 24 18:48:32 2026 -0600
e_comp_wl - add wp_presentation
A video player keeps the picture in step with the sound by knowing when
each frame reached the screen. Firefox and Chromium use wp_presentation
for that, and fall back to guessing from frame callbacks when it is
missing, as it is with E.
E reports a frame as presented when the render that drew it is done, in
the post_render of the client's frame, right after frame callbacks are
answered. The time is read from CLOCK_MONOTONIC at that moment, the
clock advertised with clock_id. E has no vblank or hardware completion
to report, so refresh, seq and flags are 0, which the protocol defines
as unknown. sync_output names the output of the window's zone.
Every feedback ends with exactly one event, or the client waits on it
forever. Content replaced by a newer commit before a render drew it is
discarded, as is content whose surface goes away first. A client can
commit after a render and before its post_render runs: the content that
was drawn is then presented at once, and the new content waits for the
next render. No test reaches that window: a client cannot time a commit
into it.
Only Wayland code is touched.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
src/bin/e_comp_wl.c | 24 ++++
src/bin/e_comp_wl.h | 16 +++
src/bin/e_comp_wl_extensions.c | 115 +++++++++++++++++
src/bin/generated/meson.build | 1 +
src/tests/wayland/globals.expected | 1 +
src/tests/wayland/meson.build | 2 +
src/tests/wayland/test_presentation_time.c | 198 +++++++++++++++++++++++++++++
7 files changed, 357 insertions(+)
diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 40b27d833..9e78a0503 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -246,6 +246,20 @@ _e_comp_wl_mouse_in(E_Client *ec, Evas_Event_Mouse_In *ev)
}
}
+/* The client's content was drawn, unless it was committed after that
+ * render, in which case the next one draws it. */
+static void
+_e_comp_wl_evas_cb_post_render(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
+{
+ E_Client *ec = data;
+
+ if (e_object_is_del(E_OBJECT(ec))) return;
+ if (ec->comp_data->presentation_late)
+ ec->comp_data->presentation_late = EINA_FALSE;
+ else
+ e_comp_wl_presentation_feedback_present(ec);
+}
+
static void
_e_comp_wl_evas_cb_mouse_in(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info)
{
@@ -1224,6 +1238,9 @@ _e_comp_wl_client_evas_init(E_Client *ec)
EVAS_CALLBACK_PRIORITY_AFTER,
_e_comp_wl_evas_cb_hide, ec);
+ evas_object_smart_callback_add(ec->frame, "post_render",
+ _e_comp_wl_evas_cb_post_render, ec);
+
/* setup input callbacks */
evas_object_smart_callback_add(ec->frame, "mouse_in",
(Evas_Smart_Cb)_e_comp_wl_cb_ssd_mouse_in, ec);
@@ -1505,6 +1522,7 @@ _e_comp_wl_surface_state_finish(E_Comp_Wl_Surface_State *state)
state->frames = NULL;
EINA_LIST_FREE(free_list, cb)
wl_resource_destroy(cb);
+ e_comp_wl_presentation_feedback_discard(&state->presentation_feedbacks);
EINA_LIST_FREE(state->damages, dmg)
eina_rectangle_free(dmg);
@@ -1842,6 +1860,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
ec->comp_data->frames = eina_list_merge(ec->comp_data->frames,
state->frames);
state->frames = NULL;
+ e_comp_wl_presentation_feedback_commit(ec, &state->presentation_feedbacks);
/* put state damages into surface */
if ((!e_comp->nocomp) && (ec->frame))
@@ -2518,6 +2537,10 @@ _e_comp_wl_subsurface_commit_to_cache(E_Client *ec)
sdata->cached.frames = eina_list_merge(sdata->cached.frames,
cdata->pending.frames);
cdata->pending.frames = NULL;
+ sdata->cached.presentation_feedbacks =
+ eina_list_merge(sdata->cached.presentation_feedbacks,
+ cdata->pending.presentation_feedbacks);
+ cdata->pending.presentation_feedbacks = NULL;
sdata->cached.has_data = EINA_TRUE;
}
@@ -3011,6 +3034,7 @@ _e_comp_wl_client_cb_del(void *data EINA_UNUSED, E_Client *ec)
ec->comp_data->frames = NULL;
EINA_LIST_FREE(free_list, cb)
wl_resource_destroy(cb);
+ e_comp_wl_presentation_feedback_discard(&ec->comp_data->presentation_feedbacks);
if (ec->comp_data->surface)
wl_resource_set_user_data(ec->comp_data->surface, NULL);
diff --git a/src/bin/e_comp_wl.h b/src/bin/e_comp_wl.h
index ad152e8a9..ea39955f0 100644
--- a/src/bin/e_comp_wl.h
+++ b/src/bin/e_comp_wl.h
@@ -81,6 +81,7 @@ struct _E_Comp_Wl_Surface_State
E_Comp_Wl_Buffer *buffer;
struct wl_listener buffer_destroy_listener;
Eina_List *damages, *frames;
+ Eina_List *presentation_feedbacks;
Eina_Tiler *input, *opaque;
Eina_Bool new_attach E_BITFIELD;
Eina_Bool has_data E_BITFIELD;
@@ -166,6 +167,10 @@ typedef struct E_Comp_Wl_Extension_Data
{
struct wl_global *global;
} zwp_idle_inhibit_manager_v1;
+ struct
+ {
+ struct wl_global *global;
+ } wp_presentation;
} E_Comp_Wl_Extension_Data;
struct _E_Comp_Wl_Data
@@ -366,6 +371,11 @@ struct _E_Comp_Wl_Client_Data
E_Comp_Wl_Surface_State pending;
Eina_List *frames;
+ /* wp_presentation_feedback of the committed content, which is waiting
+ * for a render. Set late when content was committed after a render
+ * whose post_render has not run yet. */
+ Eina_List *presentation_feedbacks;
+ Eina_Bool presentation_late E_BITFIELD;
Eina_List *constraints;
struct
@@ -474,6 +484,12 @@ E_API Eina_Bool e_comp_wl_grab_client_mouse_move(const Ecore_Event_Mouse_Move *e
E_API Eina_Bool e_comp_wl_grab_client_mouse_button(const Ecore_Event_Mouse_Button *ev);
EINTERN void e_comp_wl_extension_xdg_output_update(E_Comp_Wl_Output *output);
+/* Each wp_presentation_feedback ends with exactly one of presented or
+ * discarded. These take the list, leave it empty and destroy the
+ * resources. */
+EINTERN void e_comp_wl_presentation_feedback_present(E_Client *ec);
+EINTERN void e_comp_wl_presentation_feedback_discard(Eina_List **feedbacks);
+EINTERN void e_comp_wl_presentation_feedback_commit(E_Client *ec, Eina_List **feedbacks);
EINTERN Eina_Bool e_comp_wl_extension_idle_inhibited(void);
E_API void e_comp_wl_extension_relative_motion_event(uint64_t time_usec, double dx, double dy, double dx_unaccel, double dy_unaccel);
E_API void e_comp_wl_extension_pointer_constraints_commit(E_Client *ec);
diff --git a/src/bin/e_comp_wl_extensions.c b/src/bin/e_comp_wl_extensions.c
index 3d67d99ad..21d1d299b 100644
--- a/src/bin/e_comp_wl_extensions.c
+++ b/src/bin/e_comp_wl_extensions.c
@@ -11,6 +11,7 @@
#include "xdg-output-unstable-v1-server-protocol.h"
#include "xdg-activation-v1-server-protocol.h"
#include "idle-inhibit-unstable-v1-server-protocol.h"
+#include "presentation-time-server-protocol.h"
/* mutter uses 32, seems reasonable */
#define HANDLE_LEN 32
@@ -1471,6 +1472,116 @@ static const struct zwp_idle_inhibit_manager_v1_interface _e_zwp_idle_inhibit_ma
_e_zwp_idle_inhibit_manager_v1_cb_create_inhibitor,
};
+static void
+_e_wp_presentation_feedback_cb_resource_destroy(struct wl_resource *resource)
+{
+ E_Client *ec = wl_resource_get_user_data(resource);
+ E_Comp_Wl_Client_Data *cd;
+
+ if (e_object_is_del(E_OBJECT(ec))) return;
+ cd = ec->comp_data;
+ cd->presentation_feedbacks = eina_list_remove(cd->presentation_feedbacks, resource);
+ cd->pending.presentation_feedbacks =
+ eina_list_remove(cd->pending.presentation_feedbacks, resource);
+ if (cd->sub.data)
+ cd->sub.data->cached.presentation_feedbacks =
+ eina_list_remove(cd->sub.data->cached.presentation_feedbacks, resource);
+}
+
+/* The time is read from the clock named at bind, when the render that
+ * drew the content is done. E has no vblank or hardware completion to
+ * report, so refresh, seq and flags are 0, which the protocol defines as
+ * unknown. */
+EINTERN void
+e_comp_wl_presentation_feedback_present(E_Client *ec)
+{
+ E_Comp_Wl_Output *output = NULL;
+ struct wl_resource *res, *output_res;
+ struct timespec ts;
+ Eina_List *feedbacks, *l;
+ uint64_t sec;
+
+ feedbacks = ec->comp_data->presentation_feedbacks;
+ if (!feedbacks) return;
+ ec->comp_data->presentation_feedbacks = NULL;
+
+ if (ec->zone) output = ec->zone->output;
+ clock_gettime(CLOCK_MONOTONIC, &ts);
+ sec = ts.tv_sec;
+ EINA_LIST_FREE(feedbacks, res)
+ {
+ if (output)
+ EINA_LIST_FOREACH(output->resources, l, output_res)
+ if (wl_resource_get_client(output_res) == wl_resource_get_client(res))
+ wp_presentation_feedback_send_sync_output(res, output_res);
+ wp_presentation_feedback_send_presented(res, sec >> 32, sec & 0xffffffff,
+ ts.tv_nsec, 0, 0, 0, 0);
+ wl_resource_destroy(res);
+ }
+}
+
+EINTERN void
+e_comp_wl_presentation_feedback_discard(Eina_List **feedbacks)
+{
+ struct wl_resource *res;
+ Eina_List *list = *feedbacks;
+
+ *feedbacks = NULL;
+ EINA_LIST_FREE(list, res)
+ {
+ wp_presentation_feedback_send_discarded(res);
+ wl_resource_destroy(res);
+ }
+}
+
+/* New content replaces the committed content. If that was drawn by a
+ * render whose post_render has not run yet, it was presented; otherwise
+ * it never reached the screen. */
+EINTERN void
+e_comp_wl_presentation_feedback_commit(E_Client *ec, Eina_List **feedbacks)
+{
+ E_Comp_Wl_Client_Data *cd = ec->comp_data;
+
+ if ((ec->on_post_updates) && (!cd->presentation_late))
+ e_comp_wl_presentation_feedback_present(ec);
+ else
+ e_comp_wl_presentation_feedback_discard(&cd->presentation_feedbacks);
+ if (ec->on_post_updates) cd->presentation_late = EINA_TRUE;
+ cd->presentation_feedbacks = *feedbacks;
+ *feedbacks = NULL;
+}
+
+static void
+_e_wp_presentation_cb_destroy(struct wl_client *client EINA_UNUSED, struct wl_resource *resource)
+{
+ wl_resource_destroy(resource);
+}
+
+static void
+_e_wp_presentation_cb_feedback(struct wl_client *client, struct wl_resource *resource, struct wl_resource *surface, uint32_t id)
+{
+ E_Client *ec = wl_resource_get_user_data(surface);
+ struct wl_resource *res;
+
+ res = wl_resource_create(client, &wp_presentation_feedback_interface,
+ wl_resource_get_version(resource), id);
+ if (!res)
+ {
+ wl_resource_post_no_memory(resource);
+ return;
+ }
+ wl_resource_set_implementation(res, NULL, ec,
+ _e_wp_presentation_feedback_cb_resource_destroy);
+ ec->comp_data->pending.presentation_feedbacks =
+ eina_list_append(ec->comp_data->pending.presentation_feedbacks, res);
+}
+
+static const struct wp_presentation_interface _e_wp_presentation_interface =
+{
+ _e_wp_presentation_cb_destroy,
+ _e_wp_presentation_cb_feedback,
+};
+
#define GLOBAL_BIND_CB(NAME, IFACE, ...) \
static void \
_e_comp_wl_##NAME##_cb_bind(struct wl_client *client, void *data EINA_UNUSED, uint32_t version, uint32_t id) \
@@ -1498,6 +1609,9 @@ GLOBAL_BIND_CB(zwp_pointer_constraints_v1, zwp_pointer_constraints_v1_interface)
GLOBAL_BIND_CB(zxdg_output_manager_v1, zxdg_output_manager_v1_interface)
GLOBAL_BIND_CB(xdg_activation_v1, xdg_activation_v1_interface)
GLOBAL_BIND_CB(zwp_idle_inhibit_manager_v1, zwp_idle_inhibit_manager_v1_interface)
+GLOBAL_BIND_CB(wp_presentation, wp_presentation_interface,
+ wp_presentation_send_clock_id(res, CLOCK_MONOTONIC);
+)
GLOBAL_BIND_CB(action_route, action_route_interface,
e_binding_key_list_cb = _action_route_key_list_cb;
key_bindings = eina_hash_string_superfast_new(NULL);
@@ -1601,6 +1715,7 @@ e_comp_wl_extensions_init(void)
GLOBAL_CREATE_OR_RETURN(zxdg_output_manager_v1, zxdg_output_manager_v1_interface, 3);
GLOBAL_CREATE_OR_RETURN(xdg_activation_v1, xdg_activation_v1_interface, 1);
GLOBAL_CREATE_OR_RETURN(zwp_idle_inhibit_manager_v1, zwp_idle_inhibit_manager_v1_interface, 1);
+ GLOBAL_CREATE_OR_RETURN(wp_presentation, wp_presentation_interface, 1);
ecore_event_handler_add(ECORE_WL2_EVENT_SYNC_DONE, _dmabuf_add, NULL);
diff --git a/src/bin/generated/meson.build b/src/bin/generated/meson.build
index f2ac4ae48..161b3d2a4 100644
--- a/src/bin/generated/meson.build
+++ b/src/bin/generated/meson.build
@@ -9,6 +9,7 @@ protos = [
'@0@/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml'.format(dir_wayland_protocols),
'@0@/unstable/xdg-output/xdg-output-unstable-v1.xml'.format(dir_wayland_protocols),
'@0@/staging/xdg-activation/xdg-activation-v1.xml'.format(dir_wayland_protocols),
+ '@0@/stable/presentation-time/presentation-time.xml'.format(dir_wayland_protocols),
'@0@/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml'.format(dir_wayland_protocols),
'@0@/unstable/primary-selection/primary-selection-unstable-v1.xml'.format(dir_wayland_protocols),
]
diff --git a/src/tests/wayland/globals.expected b/src/tests/wayland/globals.expected
index 72588e6fc..c9aab5609 100644
--- a/src/tests/wayland/globals.expected
+++ b/src/tests/wayland/globals.expected
@@ -7,6 +7,7 @@ wl_seat 8
wl_shell 1
wl_shm >=1
wl_subcompositor 1
+wp_presentation 1
xdg_activation_v1 1
xdg_wm_base 6
zwp_e_session_recovery 1
diff --git a/src/tests/wayland/meson.build b/src/tests/wayland/meson.build
index 867f6dff5..7a860e484 100644
--- a/src/tests/wayland/meson.build
+++ b/src/tests/wayland/meson.build
@@ -31,6 +31,7 @@ foreach p: [
'@0@/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml'.format(dir_wayland_protocols),
'@0@/unstable/xdg-output/xdg-output-unstable-v1.xml'.format(dir_wayland_protocols),
'@0@/staging/xdg-activation/xdg-activation-v1.xml'.format(dir_wayland_protocols),
+ '@0@/stable/presentation-time/presentation-time.xml'.format(dir_wayland_protocols),
'@0@/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml'.format(dir_wayland_protocols),
'@0@/unstable/primary-selection/primary-selection-unstable-v1.xml'.format(dir_wayland_protocols),
]
@@ -58,6 +59,7 @@ wl_protocol_tests = [
['no-dialogs', 'test_no_dialogs.c'],
['xdg-foreign', 'test_xdg_foreign.c'],
['xdg-foreign-v2', 'test_xdg_foreign_v2.c'],
+ ['presentation-time', 'test_presentation_time.c'],
['seat-capabilities', 'test_seat_capabilities.c'],
['dialog-focus', 'test_dialog_focus.c'],
['buffer-release', 'test_buffer_release.c'],
diff --git a/src/tests/wayland/test_presentation_time.c b/src/tests/wayland/test_presentation_time.c
new file mode 100644
index 000000000..81c8ad60e
--- /dev/null
+++ b/src/tests/wayland/test_presentation_time.c
@@ -0,0 +1,198 @@
+/* wp_presentation: every feedback ends once, presented with a time in the
+ * advertised clock and the output it was shown on, or discarded when its
+ * content never reached the screen. */
+#include <stdio.h>
+#include <string.h>
+#include <time.h>
+
+#include "e_wl_testkit.h"
+#include "presentation-time-client-protocol.h"
+
+#define PROG "test-presentation-time"
+#define APP_ID "e.test.presentation"
+#define W 200
+#define H 150
+#define SLACK_NS 1000000000ll
+
+typedef struct
+{
+ int presented, discarded, synced;
+ struct wl_output *sync_output;
+ int64_t committed, received, reported;
+} Feedback;
+
+static Tk *tk;
+static clockid_t presentation_clock;
+static int clock_ids;
+
+static int64_t
+_now(void)
+{
+ struct timespec ts;
+
+ if (clock_gettime(presentation_clock, &ts))
+ tk_fail(tk, "clock %d named by clock_id cannot be read", (int)presentation_clock);
+ return ((int64_t)ts.tv_sec * 1000000000ll) + ts.tv_nsec;
+}
+
+static void
+_clock_id(void *d __attribute__((unused)), struct wp_presentation *p __attribute__((unused)),
+ uint32_t clk_id)
+{
+ presentation_clock = clk_id;
+ clock_ids++;
+}
+
+static const struct wp_presentation_listener _presentation_listener = { _clock_id };
+
+static void
+_sync_output(void *data, struct wp_presentation_feedback *f __attribute__((unused)),
+ struct wl_output *output)
+{
+ Feedback *fb = data;
+
+ if (fb->presented) tk_fail(tk, "sync_output after presented");
+ fb->sync_output = output;
+ fb->synced++;
+}
+
+static void
+_presented(void *data, struct wp_presentation_feedback *f __attribute__((unused)),
+ uint32_t sec_hi, uint32_t sec_lo, uint32_t nsec,
+ uint32_t refresh __attribute__((unused)), uint32_t seq_hi __attribute__((unused)),
+ uint32_t seq_lo __attribute__((unused)), uint32_t flags __attribute__((unused)))
+{
+ Feedback *fb = data;
+ uint64_t sec = ((uint64_t)sec_hi << 32) | sec_lo;
+
+ if (nsec > 999999999) tk_fail(tk, "tv_nsec %u out of range", nsec);
+ fb->presented++;
+ fb->received = _now();
+ fb->reported = ((int64_t)sec * 1000000000ll) + nsec;
+}
+
+static void
+_discarded(void *data, struct wp_presentation_feedback *f __attribute__((unused)))
+{
+ Feedback *fb = data;
+
+ fb->discarded++;
+}
+
+static const struct wp_presentation_feedback_listener _feedback_listener =
+{
+ _sync_output,
+ _presented,
+ _discarded
+};
+
+/* The feedback is for the content of the next commit. */
+static void
+_feedback(struct wp_presentation *pres, struct wl_surface *surface, Feedback *fb)
+{
+ struct wp_presentation_feedback *obj;
+
+ memset(fb, 0, sizeof(*fb));
+ fb->committed = _now();
+ obj = wp_presentation_feedback(pres, surface);
+ wp_presentation_feedback_add_listener(obj, &_feedback_listener, fb);
+}
+
+static void
+_commit(struct wp_presentation *pres, Tk_Toplevel *top, Feedback *fb)
+{
+ _feedback(pres, tk_toplevel_surface(top), fb);
+ tk_surface_paint(tk, tk_toplevel_surface(top), W, H);
+}
+
+static void
+_wait(Feedback *fb, const char *what)
+{
+ struct timespec step = { 0, 10000000 };
+ int i;
+
+ for (i = 0; i < TK_WAIT_SECONDS * 100; i++)
+ {
+ tk_sync(tk);
+ if (fb->presented || fb->discarded) break;
+ nanosleep(&step, NULL);
+ }
+ tk_sync(tk);
+ if ((fb->presented + fb->discarded) != 1)
+ tk_fail(tk, "%s: presented %d, discarded %d", what, fb->presented, fb->discarded);
+}
+
+static void
+_expect_presented(Feedback *fb, struct wl_output *output, const char *what)
+{
+ _wait(fb, what);
+ if (!fb->presented) tk_fail(tk, "%s: discarded", what);
+ if ((fb->synced != 1) || (fb->sync_output != output))
+ tk_fail(tk, "%s: %d sync_output, not for the bound output", what, fb->synced);
+ if ((fb->reported < fb->committed - SLACK_NS) || (fb->reported > fb->received + SLACK_NS))
+ tk_fail(tk, "%s: presented at %lld, outside %lld..%lld", what,
+ (long long)fb->reported, (long long)fb->committed, (long long)fb->received);
+}
+
+int
+main(void)
+{
+ struct wp_presentation *pres;
+ struct wl_subcompositor *subcomp;
+ struct wl_subsurface *subsurface;
+ struct wl_surface *sub;
+ struct wl_output *output;
+ Tk_Toplevel *top;
+ Feedback fb, first, second;
+ int i;
+
+ tk = tk_connect(PROG);
+ pres = tk_bind(tk, &wp_presentation_interface, 1);
+ output = tk_bind(tk, &wl_output_interface, 1);
+ subcomp = tk_bind(tk, &wl_subcompositor_interface, 1);
+ if ((!pres) || (!output) || (!subcomp)) tk_fail(tk, "missing global");
+ wp_presentation_add_listener(pres, &_presentation_listener, NULL);
+ tk_sync(tk);
+ if (clock_ids != 1) tk_fail(tk, "%d clock_id events", clock_ids);
+ top = tk_toplevel_new(tk, APP_ID, APP_ID, W, H);
+
+ for (i = 0; i < 4; i++)
+ {
+ _commit(pres, top, &fb);
+ _expect_presented(&fb, output, "a lone commit");
+ }
+
+ /* Replaced before any render could draw it. */
+ _commit(pres, top, &first);
+ _commit(pres, top, &second);
+ _wait(&first, "the replaced commit");
+ if (!first.discarded) tk_fail(tk, "content replaced before a render was presented");
+ _expect_presented(&second, output, "the commit that replaced it");
+
+ /* A synchronized subsurface's content is drawn once its parent commits. */
+ sub = tk_surface_new(tk);
+ subsurface = wl_subcompositor_get_subsurface(subcomp, sub, tk_toplevel_surface(top));
+ wl_subsurface_set_position(subsurface, 10, 10);
+ _feedback(pres, sub, &fb);
+ tk_surface_paint(tk, sub, 40, 40);
+ tk_surface_paint(tk, tk_toplevel_surface(top), W, H);
+ _wait(&fb, "a synchronized subsurface");
+ if (!fb.presented) tk_fail(tk, "content of a synchronized subsurface was discarded");
+
+ /* Asked for, then the surface goes without committing. */
+ _feedback(pres, sub, &fb);
+ wl_subsurface_destroy(subsurface);
+ wl_surface_destroy(sub);
+ _wait(&fb, "a feedback on a surface destroyed before its commit");
+ if (!fb.discarded) tk_fail(tk, "a feedback that was never committed was presented");
+
+ /* The surface goes before its content is drawn. */
+ _commit(pres, top, &fb);
+ tk_toplevel_del(top);
+ _wait(&fb, "a commit on a destroyed surface");
+ if (!fb.discarded) tk_fail(tk, "content of a destroyed surface was presented");
+
+ tk_disconnect(tk);
+ printf(PROG ": ok\n");
+ return 0;
+}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.