diff options
Diffstat (limited to 'src/common/backend.h')
| -rw-r--r-- | src/common/backend.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/backend.h b/src/common/backend.h index 6ab7248..e1d29c5 100644 --- a/src/common/backend.h +++ b/src/common/backend.h @@ -9,13 +9,20 @@ struct yasl_backend_ops; struct yasl_display { const struct yasl_backend_ops *ops; + void *native_handle; struct yasl_display_cbs callbacks; struct yasl_loop *loop; }; struct yasl_surface { struct yasl_display *display; + void *native_handle; + struct yasl_vector2i size; + uint32_t scale_120; + uint32_t state; + uint32_t bg_color; struct yasl_surface_cbs callbacks; + void *ud; uint64_t frame_generation; yasl_timer_id *timers; int timer_count; |
