Core: add .present_frame event replacing swapbuffers call
Note that on e.g. web platform, swapbuffers is not an explicit call. We also need a signal that the frame has been submitted and finished, and this is it. Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
431e0dbbe1
commit
656b0202f2
9 changed files with 79 additions and 38 deletions
|
|
@ -342,6 +342,7 @@ pub fn Modules(comptime modules: anytype) type {
|
|||
options: DispatchOptions,
|
||||
injectable: anytype,
|
||||
) !void {
|
||||
@setEvalBranchQuota(10000);
|
||||
// TODO: optimize to reduce send contention
|
||||
// TODO: parallel / multi-threaded dispatch
|
||||
// TODO: PGO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue