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

Implement binning for the texture cache and a couple more improvements. #83

Merged
merged 1 commit into from Nov 20, 2015

Conversation

@pcwalton
Copy link
Collaborator

pcwalton commented Nov 20, 2015

  • Sort texture cache items into bins in order to minimize the free list
    scan time.
  • Improve the texture cache API by switching the "alternate" Boolean to
    an enum.
  • Store texture sizes in cache items. This will be useful when we switch
    render targets to be allocated out of the texture cache.
  • When coalescing rects, don't eagerly iterate to a fixed point. Instead
    just do as many iterations as we need to satisfy the request.
* Sort texture cache items into bins in order to minimize the free list
  scan time.

* Improve the texture cache API by switching the "alternate" Boolean to
  an enum.

* Store texture sizes in cache items. This will be useful when we switch
  render targets to be allocated out of the texture cache.

* When coalescing rects, don't eagerly iterate to a fixed point. Instead
  just do as many iterations as we need to satisfy the request.
glennw added a commit that referenced this pull request Nov 20, 2015
Implement binning for the texture cache and a couple more improvements.
@glennw glennw merged commit 064d8b3 into servo:master Nov 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.