Skip to content
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

Remove the per-item complex clipping and masking from the API #1412

Merged
merged 1 commit into from Jun 23, 2017

Commits on Jun 23, 2017

  1. Remove the per-item complex clipping and masking from the API

    This is the first step to getting all masking operations into the
    ClipScrollTree. We don't completely this feature, as it's still sued
    for the extra clips. These will be moved into the ClipScrollTree in a
    later change. This change allows us to fully eliminate the
    DisplayListBuilder::push_clip_region API and push its functionality
    into the define_clip API.
    
    Most of the changes here are:
      1. Changes to the examples, wrench, and reftests to match the new API.
      2. Adapting the "split rectangle clipped by rounded rect"
         optimization to use the ClipScrollTree. This is unfortunately a
         bit more complicated now, but now includes any rounded rect clip
         instead of per-item ones.
    mrobinson committed Jun 23, 2017
You can’t perform that action at this time.