Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a low priority scene builder thread. #2989

Merged
merged 3 commits into from Sep 5, 2018
Merged

Commits on Sep 5, 2018

  1. Add a low priority scene builder thread.

    The low priority scene builder is an additional thread that can be used to perform some work before forwarding the transaction to the "normal" scene builder thread.
    This lets us choose to rasterize very expensive content blobs without blocking the scene builder allowing updates of the UI disply list.
    Since all low priority scenes request get forwarded to the regular scene builder as well, any operation that affects both threads (such as flushes or shutting down) can simply be sent to the low priority thread.
    nical committed Sep 5, 2018
  2. Make low priority transaction support optional.

    This avoids the cost of an extra thread per renderer when we don't need it.
    If support is disabled for a given renderer, low and high preirity transactions go to the same queue.
    nical committed Sep 5, 2018
You can’t perform that action at this time.