Call sysgpu device tick #1289
No reviewers
Labels
No labels
CI
all
basisu
blog
bug
build
contributor-friendly
core
correctness
deferred
dev
direct3d-headers
docs
driver-os-issue
duplicate
dxcompiler
editor
examples
experiment
feature-idea
feedback
flac
freetype
gamemode
gkurve
glfw
gpu
gpu-dawn
harfbuzz
help welcome
in-progress
infrastructure
invalid
libmach
linux-audio-headers
long-term
mach
mach.gfx
mach.math
mach.physics
mach.testing
model3d
needs-triage
object
opengl-headers
opus
os/linux
os/macos
os/wasm
os/windows
package-manager
priority
proposal
proposal-accepted
question
roadmap
slipped
stability
sysaudio
sysgpu
sysjs
validating-fix
vulkan-zig-generated
wayland-headers
website
wontfix
wrench
www
x11-headers
xcode-frameworks
zig-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
hexops/mach!1289
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "call_sysgpu_device_tick"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes: https://github.com/hexops/mach/issues/1288
Related to:
https://github.com/hexops/mach/issues/1232
https://github.com/hexops/mach/issues/1252
https://github.com/hexops/mach/issues/1253
https://github.com/hexops/mach/issues/1259
https://github.com/hexops/mach/issues/1270
https://github.com/hexops/mach/issues/1271
https://github.com/hexops/mach/issues/1275
Changes
error.FailedToConnectToDisplaymessage.@ -611,6 +611,7 @@ fn presentFrame(core: *Mod, entities: *mach.Entities.Mod) !void {if (num_windows > 1) @panic("mach: Core currently only supports a single window");_ = try state.platform.update();mach.sysgpu.Impl.deviceTick(state.device);Rather than putting the tick in every device update, I thought it better to put it somewhere more general.
@ -611,6 +611,7 @@ fn presentFrame(core: *Mod, entities: *mach.Entities.Mod) !void {if (num_windows > 1) @panic("mach: Core currently only supports a single window");_ = try state.platform.update();mach.sysgpu.Impl.deviceTick(state.device);seems reasonable for now