Olivier Goffart
f495235b74
Android todo example: cleanup console output and remove warning
2024-01-05 16:11:28 +01:00
Simon Hausmann
f5bf6e5dc0
Skia: Clean up pre present notify callback API
...
Move this back out of render() again and make it stateful in the renderer. Reduces the amount of book-keeping required and it's always the same callback anyway.
2024-01-04 10:35:09 +01:00
Simon Hausmann
3069e8e503
Add support for frame throttling on Wayland
...
Use winit's pre_present_notify() API to allow for the compositor to throttle rendering.
Fixes #4200
cc #1695
2024-01-04 09:21:53 +01:00
Olivier Goffart
c4a91982db
Janitor: fix docs links
2024-01-03 16:29:03 +01:00
Jocelyn Turcotte
82916bc2ec
Implement KeyEvent.repeat
...
Now that winit was upgraded do 0.29 we can use its KeyEvent::repeat field.
Also feed Qt's QKeyEvent::isAutoRepeat() in the Qt backend.
2023-11-29 09:31:31 +01:00
Olivier Goffart
f03507ee6a
Fix CI build: intra links don't work on non-android in the android backend
2023-11-02 17:53:57 +01:00
Olivier Goffart
45d6cd1f7f
Android: add readme for the backend ( #3836 )
...
To serve as docs while the backend is still internal
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
2023-11-02 17:17:06 +01:00
Olivier Goffart
5f36eaca9a
Android: handle InputEvent::TextEvent
2023-11-02 12:16:40 +01:00
Olivier Goffart
51dbd441b0
android-activity backend: Don't use the public slint crate
2023-10-31 16:22:11 +01:00
Olivier Goffart
d63ff9c4c6
WIP: introduce an android-activity backend
2023-10-31 16:22:11 +01:00