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

Enable raqote as 2D canvas rendering backend by default #24470

Merged
merged 34 commits into from Dec 18, 2019

Commits on Dec 17, 2019

  1. Enable raqote by default

    pylbrecht committed Dec 17, 2019
  2. Update raqote due to bugfix

    pylbrecht committed Dec 17, 2019
  3. Handle empty paths in PathBuilder::get_current_point()

    The case of calling get_current_point() on empty paths has not been
    handled and caused panics.
    pylbrecht committed Dec 17, 2019
  4. Update raqote

    pylbrecht committed Dec 17, 2019
  5. Create raqote::SolidSource with premultiplied color

    SolidSource expects a premultiplied color.
    pylbrecht committed Dec 17, 2019
  6. Update raqote due to bugfix

    pylbrecht committed Dec 17, 2019
  7. Update raqote

    pylbrecht committed Dec 17, 2019
  8. Use push_layer_with_blend() only when necessary

    push_layer_with_blend() comes at a performance cost, so we only use it
    on blend modes that require it.
    pylbrecht committed Dec 17, 2019
  9. Handle overlapping gradient stops for linear gradients

    From `addColorStop(offset, color)`s spec:
    If multiple stops are added at the same offset on a gradient, they must
    be placed in the order added, with the first one closest to the start of
    the gradient, and each subsequent one infinitesimally further along
    towards the end point (in effect causing all but the first and last stop
    added at each point to be ignored)
    
    https://www.w3.org/html/test/results/2dcontext/annotated-spec/canvas.html#testrefs.2d.gradient.interpolate.overlapu
    pylbrecht committed Dec 17, 2019
  10. Add a layer to store Pattern related information

    Some information of `canvas_data::Pattern` was lost by
    converting it to `raqote::Source` due to the fact that Raqote
    did not store this information (e.g. linear gradient's start/end
    points). We introduce another layer to keep this information for later
    use (like in `is_zero_size_gradient()`).
    pylbrecht committed Dec 17, 2019
  11. Update wpt test expectations

    pylbrecht committed Dec 17, 2019

Commits on Dec 18, 2019

  1. Revert two test expectation updates

    pylbrecht committed Dec 18, 2019
You can’t perform that action at this time.