diff options
| author | Berke Güzel <wenekar1@gmail.com> | 2026-10-12 15:14:41 +0300 |
|---|---|---|
| committer | Berke Güzel <wenekar1@gmail.com> | 2026-10-12 15:14:41 +0300 |
| commit | 4145406fae437dce2f0af6e078e35566634f2c19 (patch) | |
| tree | 689e3ab0e0033fc47be0b2d590b864692c936dcc /src/common/backend.h | |
| parent | 5d1eaf3beffd3653fc4c26b0557c77026bbd6bfc (diff) | |
perf: unify platform-independent state, branchless queue masking and native handle caching
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; |
