MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / FrameEnd

Method FrameEnd

Source/Engine/GraphicsDevice/Vulkan/GPUContextVulkan.cpp:791–809  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

789}
790
791void GPUContextVulkan::FrameEnd()
792{
793 const auto cmdBuffer = GetCmdBufferManager()->GetActiveCmdBuffer();
794 if (cmdBuffer && cmdBuffer->IsInsideRenderPass())
795 {
796 EndRenderPass();
797 }
798
799 // Execute any queued layout transitions that weren't already handled by the render pass
800 FlushBarriers();
801
802#if GPU_ENABLE_TRACY
803 if (cmdBuffer)
804 tracy::CollectVkContext(_tracyContext, cmdBuffer->GetHandle());
805#endif
806
807 // Base
808 GPUContext::FrameEnd();
809}
810
811#if GPU_ALLOW_PROFILE_EVENTS
812

Callers 1

DrawMethod · 0.45

Calls 4

CollectVkContextFunction · 0.85
GetActiveCmdBufferMethod · 0.80
IsInsideRenderPassMethod · 0.80
GetHandleMethod · 0.45

Tested by

no test coverage detected