summaryrefslogtreecommitdiff
path: root/src/launchers.def
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2024-11-13 22:46:44 -0800
committerVito Caputo <vcaputo@pengaru.com>2024-11-13 22:54:31 -0800
commit2ba5bd244dabfc425563cf7615c702c60deda584 (patch)
tree0e52f52ddb04bc0510fe9f04fdcfcd3201eb90ca /src/launchers.def
parentbc29b5fe35e5b9fae05b0ff78fb76d0e0f8e74cd (diff)
charts: fix skipped overlay render in stalls when deferred
The deferred pass only enters draw_chart() once regardless of this_sample_duration, with the idx always 0. So when this_sample_duration > 1 (stalls/repeated samples), the conditional draw_overlay_row() would only get entered in the non-deferred passes in deferred mode, which are short-circuited within draw_overlay_row() because we don't want to do render that stuff in those passes in deferred mode. The fix is trivial; always enter draw_overlay_row() for the deferred pass. This fixes a cosmetic artifact where you'd see stale / missing overlays in the hierarchy rows of output, when sample durations were falling behind schedule enough for this_sample_duration to be greater than 1.
Diffstat (limited to 'src/launchers.def')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved