Changes between Version 1 and Version 2 of FiveYearPlan
- Timestamp:
- Mar 12, 2015, 2:27:12 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FiveYearPlan
v1 v2 13 13 14 14 == Render Tree Refcounting == 15 Goal is to manage repaint complexity by moving to a refcount model. 15 Goal is to manage repaint complexity by moving to a refcount model for the Render Tree. The existing tree of nodes with back-pointers is very difficult to reason about. 16 * Possibly treat render tree as immutable after layout. Use this read-only tree to answer questions about current layout. 16 17 * Downside: 17 1. Potential for re cycles.18 1. Potential for ref cycles. 18 19 1. Slightly larger memory use (additional count) 20 1. Potential cost of copying the trees. 21 * Benefits: 22 1. Allow layout and painting logic to be split, perhaps run on separate threads. 23 1. Allow us to get rid of some back pointers. 24 1. Allow hit testing or other "read only" operations to be done on the read-only tree. 25 1. Allow web code to query geometry and other questions '''without''' triggering layout. 19 26 20 27 == Painting: Display Lists == … … 33 40 * Downstream 34 41 * Incremental 42 43 == Threading == 44 * Text measurement