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

Function cgpu_queue_present

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

Source from the content-addressed store, hash-verified

486}
487
488void cgpu_queue_present(CGPUQueueId queue, const struct CGPUQueuePresentDescriptor* desc)
489{
490 SkrCZoneN(zz, "CGPUPresent", 1);
491
492 cgpu_assert(desc != CGPU_NULLPTR && "fatal: call on NULL desc!");
493 cgpu_assert(queue != CGPU_NULLPTR && "fatal: call on NULL queue!");
494 cgpu_assert(queue->device != CGPU_NULLPTR && "fatal: call on NULL device!");
495 const CGPUProcQueuePresent fn_queue_present = queue->device->proc_table_cache->queue_present;
496 cgpu_assert(fn_queue_present && "queue_present Proc Missing!");
497
498 fn_queue_present(queue, desc);
499
500 SkrCZoneEnd(zz);
501}
502
503void cgpu_wait_queue_idle(CGPUQueueId queue)
504{

Callers 15

main_module_execMethod · 0.85
presentMethod · 0.85
raster_redrawFunction · 0.85
raster_redrawFunction · 0.85
raster_redrawFunction · 0.85
raster_redrawFunction · 0.85
raster_redrawFunction · 0.85
receiver_mainFunction · 0.85
provider_mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected