summaryrefslogtreecommitdiff
path: root/src/common/backend.h
diff options
context:
space:
mode:
authorBerke Güzel <wenekar1@gmail.com>2026-10-14 13:13:52 +0300
committerBerke Güzel <wenekar1@gmail.com>2026-10-14 13:13:52 +0300
commit1ab3e5a123109704789c2768e11a4f9af515821d (patch)
tree31ee03e58093a58100c6eb58681d5d29648a5ddd /src/common/backend.h
parentd86fa6215d40caa7852dbbd6a8cf4aa8e89dd879 (diff)
Redefine public and rendering APIs with explicit contracts
Diffstat (limited to 'src/common/backend.h')
-rw-r--r--src/common/backend.h5
1 files changed, 5 insertions, 0 deletions
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. */