-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Cache bounding box calculations #1196
Labels
Milestone
Comments
maxkfranz
added a commit
that referenced
this issue
Dec 15, 2015
Seems to be working OK |
TODO The cache needs to be invalidated in the core level rather than the renderer. Otherwise, headless instances can get invalid values. |
TODO the bounding box needs to take into account the overlay |
Takes into account overlay in texture cache changes The BB cache is invalidated on headless instances automatically now |
maxkfranz
added a commit
that referenced
this issue
Feb 9, 2016
…/ invalidation (needs border of caches fixed)
maxkfranz
added a commit
that referenced
this issue
Feb 19, 2016
- improve bb calc perf for default case ele.boundingBox() as used by renderer -- speeds up texture caching - improve bb calc perf re. general overhead for collection creation and rendered style recalc - batch redraw requests from dequeuing texture requests (increases time available for calcs) - tweaks to texture params - dequeue textures before redraw => get some of them in current frame - request redraw when queueing only if not already before draw - animations should only invalidate caches if style is updated (or node pos for edges) refs #593 #1196
1 task
maxkfranz
added a commit
that referenced
this issue
Apr 28, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bounding boxes are frequently used in layouts, rendering, etc.
They are expensive, so it would be nice to cache them.
The text was updated successfully, but these errors were encountered: