aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/driver.rs
Commit message (Collapse)AuthorAgeFilesLines
* style: Lazily tweak the traversal root to account for sibling invalidations.Emilio Cobos Álvarez2017-09-261-3/+3
| | | | | | | Bug: 1403078 Reviewed-by: heycam MozReview-Commit-ID: Ij3nMOKu5FO Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
* style: Avoid unnecessarily using Borrow.Emilio Cobos Álvarez2017-09-041-2/+1
|
* style: Avoid dropping the other threads' TLS contexts too early.Emilio Cobos Álvarez2017-09-041-1/+1
| | | | | | | | | | | | | | | | When collecting style statistics, we have this path that moves the TLS contexts to be dropped before the local context. Since destroying the TLS context runs the sequential task queue, that means that sequential tasks would be executed sooner than usual, before we drop the main thread TLS context. Since we have that reuse of the main thread context's bloom filter, and some tasks end up creating one (Servo_StyleSet_GetBaseComputedValuesForElement, I'm looking at you), we may borrow the bloom filter before we're done with it on the traversal code path. This was hitting on YouTube, when DUMP_STYLE_STATISTICS was used.
* Eliminate the sequential/traversal parallel distinction in favor of a ↵Bobby Holley2017-08-251-0/+132
unified adaptive driver. MozReview-Commit-ID: ADVTNJntzmp