mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-21 09:09:58 -04:00
Triforce v0.5.0
In-game mods (GameBanana browser, search and installs, with the Mask Salesman), code-patch and cheat mods, the devs' test18 to test45 work (full performance overlay, frame pacing on, steady frame rate, save export and import, bug capture, new options rows, Setup's Mods page and Add to Steam), occlusion queries and new defaults, Auto resolution that scales, replay helper threads and robust buffers off by default, the options in sections.
This commit is contained in:
@@ -15,6 +15,9 @@ void jobs_push(std::function<void()> fn, bool urgent = false, const std::atomic<
|
||||
void jobs_push_serial(std::function<void()> fn);
|
||||
/// Waits until flag is set by a job (which calls jobs_notify after setting it)
|
||||
void jobs_wait(const std::atomic<bool>& flag);
|
||||
/// (Triforce) Waits at most ms for flag (vk_draw.cpp, pipe_wait.h: a wait from a frame's budget). Its job, still queued, goes
|
||||
/// to the front for the next worker, and is not run on the waiting thread: a compile could outlast any bound. True: it is set
|
||||
bool jobs_wait_for(const std::atomic<bool>& flag, int ms);
|
||||
void jobs_notify();
|
||||
int jobs_pending();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user