| 103 | } |
| 104 | |
| 105 | bool Tr2GpuProfiler::IsDataReady() |
| 106 | { |
| 107 | USE_MAIN_THREAD_RENDER_CONTEXT(); |
| 108 | bool result = false; |
| 109 | m_frameFence.IsReached( result, renderContext ).GetResult(); |
| 110 | return result; |
| 111 | } |
| 112 | |
| 113 | BlueScriptValue Tr2GpuProfiler::GetFrameReport() |
| 114 | { |