-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Experiments on frame pacing in Android #674
base: main
Are you sure you want to change the base?
Conversation
ddf272c
to
bbb7172
Compare
@@ -701,6 +770,8 @@ fn run( | |||
let debug = vello::DebugLayers::none(); | |||
|
|||
let mut app = VelloApp { | |||
present_id: 0, | |||
google_display_timing_ext_devices: vec![None; renderers.len()], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should keep the same order as the declaration and put them in the opposite order under renderers
?
vello_pacing/src/lib.rs
Outdated
std::thread::spawn(|| self.run()); | ||
} | ||
|
||
/// Run a rendering task until presentation. Useful on macOS for resizing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mads has been doing new work on macOS with respect to resizing!
sdl2 doesn't build (trivially) on Android, so just prefer to not make it build by default We emulate an optional package using cargo features.
Also start sketching out the frame pacing library
daf0817
to
786f41b
Compare
This is PR has two things:
with_winit
of hal: cargo feature to allow usingVK_GOOGLE_display_timing
unsafely gfx-rs/wgpu#6149See #gpu > Latency Investigation