MCPcopy Create free account
hub / github.com/carbonengine/trinity / EndFrame

Method EndFrame

trinity/Tr2GpuProfiler.cpp:54–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void Tr2GpuProfiler::EndFrame()
55{
56 if( m_capturing )
57 {
58 USE_MAIN_THREAD_RENDER_CONTEXT();
59 CR( m_frameFence.Create( renderContext ) );
60 CR( m_frameFence.PutFence( renderContext ) );
61
62 while( !m_stack.empty() )
63 {
64 End( renderContext );
65 }
66 m_capturing = false;
67 }
68}
69
70void Tr2GpuProfiler::Begin( IRoot* owner, const char* label, Tr2RenderContextAL& context )
71{

Callers

nothing calls this directly

Calls 3

emptyMethod · 0.80
CreateMethod · 0.45
PutFenceMethod · 0.45

Tested by

no test coverage detected