| 88 | } |
| 89 | |
| 90 | void Tr2GpuProfiler::End( Tr2RenderContextAL& renderContext ) |
| 91 | { |
| 92 | if( m_capturing ) |
| 93 | { |
| 94 | auto& last = m_zones[m_stack.back()]; |
| 95 | m_stack.pop_back(); |
| 96 | CR( last.query.End( renderContext ) ); |
| 97 | last.timer.End( renderContext ); |
| 98 | |
| 99 | Zone capture; |
| 100 | capture.type = Zone::REGION_END; |
| 101 | m_zones.push_back( capture ); |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | bool Tr2GpuProfiler::IsDataReady() |
| 106 | { |
no outgoing calls
no test coverage detected