Commit bcf38ab5 authored by Allan Sandfeld Jensen's avatar Allan Sandfeld Jensen
Browse files

Avoid context-switches when not switching thread contexts


When UI and GPU threads are the same we not need to do async scheduling
or calls between them, and doing so comes at a much higher cost than
in a multithreaded environment.

Change-Id: Icddee1a78d87ce08362882da5740471dfef1224a
Reviewed-by: default avatarJüri Valdmann <juri.valdmann@qt.io>
parent d29125ea
Showing with 6 additions and 0 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment