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

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
    Configuration menu
    Copy the full SHA
    a1df0ac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fed5642 View commit details
    Browse the repository at this point in the history
  3. 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
    Configuration menu
    Copy the full SHA
    1f03603 View commit details
    Browse the repository at this point in the history