MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / cgpu_wait_queue_idle

Function cgpu_wait_queue_idle

modules/engine/graphics/src/common/cgpu.c:503–515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

501}
502
503void cgpu_wait_queue_idle(CGPUQueueId queue)
504{
505 SkrCZoneN(zz, "CGPUWaitQueueIdle", 1);
506
507 cgpu_assert(queue != CGPU_NULLPTR && "fatal: call on NULL queue!");
508 cgpu_assert(queue->device != CGPU_NULLPTR && "fatal: call on NULL device!");
509 const CGPUProcWaitQueueIdle wait_queue_idle = queue->device->proc_table_cache->wait_queue_idle;
510 cgpu_assert(wait_queue_idle && "wait_queue_idle Proc Missing!");
511
512 wait_queue_idle(queue);
513
514 SkrCZoneEnd(zz);
515}
516
517float cgpu_queue_get_timestamp_period_ns(CGPUQueueId queue)
518{

Callers 15

main_module_execMethod · 0.85
imgui_create_fontsFunction · 0.85
imguir_destroy_windowFunction · 0.85
imguir_resize_windowFunction · 0.85
destroyMethod · 0.85
updateMethod · 0.85
sync_window_sizeMethod · 0.85
raster_redrawFunction · 0.85
finalizeFunction · 0.85
raster_programFunction · 0.85
finalizeFunction · 0.85
create_sampled_textureFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_allMethod · 0.68