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

Method ReleaseResources

trinity/Tr2ProfileTimer.cpp:34–41  ·  view source on GitHub ↗

-------------------------------------------------------------

Source from the content-addressed store, hash-verified

32
33// -------------------------------------------------------------
34void Tr2ProfileTimer::ReleaseResources( TriStorage s )
35{
36 if( m_gpuTimer.GetMemoryClass() & s )
37 {
38 m_gpuTimer = Tr2GpuTimerAL();
39 }
40 m_gpuTimer = Tr2GpuTimerAL();
41}
42
43// -------------------------------------------------------------
44bool Tr2ProfileTimer::OnPrepareResources()

Callers

nothing calls this directly

Calls 2

Tr2GpuTimerALClass · 0.50
GetMemoryClassMethod · 0.45

Tested by

no test coverage detected