summaryrefslogtreecommitdiff
path: root/src/common/backend.h
diff options
context:
space:
mode:
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. */