diff options
author | Mike Krus <mike.krus@kdab.com> | 2020-02-14 18:01:04 +0000 |
---|---|---|
committer | Mike Krus <mike.krus@kdab.com> | 2020-02-17 13:00:54 +0000 |
commit | 584c99957de16390b27f1a9ece1a37b4714e08c7 (patch) | |
tree | 46e28dd28959a8c63b946bfd8af9ed5203fba786 /src/core/qscheduler.cpp | |
parent | 97befcc17ceb75912a9270925850954a8a3dc31a (diff) |
Make sure RenderViewCommandUpdaterJobs only run when necessary
There's a large amount of those and they don't seem to have much to
do, so only actually schedule them when necessary.
Also reset the job instance counter to zero after each frame, helps
counting how many they are in the graph dumps.
Change-Id: I9bbc30f8277ed4204a4150eddd68b36396965281
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/core/qscheduler.cpp')
0 files changed, 0 insertions, 0 deletions