Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement binning for the texture cache and a couple more improvements. #83
Conversation
* 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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
pcwalton commentedNov 20, 2015
scan time.
an enum.
render targets to be allocated out of the texture cache.
just do as many iterations as we need to satisfy the request.