Closed floooh closed 4 months ago
Some time measurements for D3D11:
...these are just naively taking the time it takes to call those functions.
The issues on D binding persisted after this cleanup. :disappointed:
@kassane after this PR is merged I'll take care of a couple of other small PRs piling up since then and then I plan to look at the D bindings again.
replace granular getter functions in sokol_app.h withsapp_swapchain sapp_get_swapchain(void)
and this must fail when called outside the frame callback (to enforce correct usage)sg_desc.mtl_use_command_buffer_with_retained_references
, fixes https://github.com/floooh/sokol/issues/981)move(maybe at a later time)backend.cur_pipeline
up into generic statesokol_app.h: sapp_pixelformat, and allow to configure depth-buffer (none, depth-only, depth-stencil)move this into a later updateMerged: