aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/build_commands.py
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-12-09 17:01:05 -0800
committerGitHub <noreply@github.com>2016-12-09 17:01:05 -0800
commitb9a8ccd775c3192e3810a1730b1d0bc2b5c9dfb6 (patch)
tree79682f7a68d6be5649642f3a45b7fddf981822ae /python/servo/build_commands.py
parent4cb3404c09d0b6a5a19a2c842d2e8809fae31e87 (diff)
parent80460cc5498c3c6e2f95ecaf9f4c0e14c8c62428 (diff)
downloadservo-b9a8ccd775c3192e3810a1730b1d0bc2b5c9dfb6.tar.gz
servo-b9a8ccd775c3192e3810a1730b1d0bc2b5c9dfb6.zip
Auto merge of #14436 - bholley:granular_restyle, r=emilio
Make restyle tracking more granular The primary idea of this patch is to ditch the rigid enum of Previous/Current styles, and replace it with a series of indicators for the various types of work that needs to be performed (expanding snapshots, rematching, recascading, and damage processing). This loses us a little bit of sanity checking (since the up-to-date-ness of our style is no longer baked into the type system), but gives us a lot more flexibility that we'll need going forward (especially when we separate matching from cascading). We also eliminate get_styling_mode in favor of a method on the traversal. This patch does a few other things as ridealongs: * Temporarily eliminates the handling for transfering ownership of styles to the frame. We'll need this again at some point, but for now it's causing too much complexity for a half-implemented feature. * Ditches TRestyleDamage, which is no longer necessary post-crate-merge, and is a constant source of compilation failures from either needing to be imported or being unnecessarily imported (which varies between gecko and servo). * Expands Snapshots for the traversal root, which was missing before. * Fixes up the skip_root stuff to avoid visiting the skipped root. * Unifies parallel traversal and avoids spawning for a single work item. * Adds an explicit pre_traverse step do any pre-processing and determine whether we need to traverse at all. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14436) <!-- Reviewable:end -->
Diffstat (limited to 'python/servo/build_commands.py')
0 files changed, 0 insertions, 0 deletions