From 1ab3e5a123109704789c2768e11a4f9af515821d Mon Sep 17 00:00:00 2001 From: Berke Güzel Date: Wed, 14 Oct 2026 13:13:52 +0300 Subject: Redefine public and rendering APIs with explicit contracts --- src/common/backend.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/common/backend.h') diff --git a/src/common/backend.h b/src/common/backend.h index 6eefbb3..246a9bc 100644 --- a/src/common/backend.h +++ b/src/common/backend.h @@ -25,9 +25,14 @@ struct yasl_private_display { }; struct yasl_surface { + struct yasl_vulkan_binding *vulkan; unsigned creation_flags; enum yasl_private_presenter presenter; struct yasl_surface *parent; + uint32_t *cpu_pixels; + int cpu_width, cpu_height; + uint64_t cpu_token; + bool cpu_acquired; uint32_t *committed_pixels; int committed_width, committed_height; /* Window values last reported through public WINDOW events. */ -- cgit v1.2.3