-
Notifications
You must be signed in to change notification settings - Fork 136
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!
daf0817
to
786f41b
Compare
216a7ef
to
d3eef30
Compare
Use my branch of `wgpu`
Also start sketching out the frame pacing library
Save some more thoughts Continue sketch of pacing
More writings/logic
Some initial resizing logic
Continued resource management
Get the past presentation timing information Merge branch 'achoreographer' into android-pacing
Start sketching the fully choreographed version. Allow negative timestamp
d3eef30
to
f232e0f
Compare
Also some more reasoning about frame duration changing
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