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
Commits on Dec 17, 2019
-
pylbrecht committed
Dec 17, 2019 -
Don't reuse PathBuilder after calling finish()
pylbrecht committedDec 17, 2019 -
Apply transformation in Path::contains_point()
pylbrecht committedDec 17, 2019 -
pylbrecht committed
Dec 17, 2019 -
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 committedDec 17, 2019 -
pylbrecht committed
Dec 17, 2019 -
Fix conversion of image data slice
pylbrecht committedDec 17, 2019 -
Create raqote::SolidSource with premultiplied color
SolidSource expects a premultiplied color.
pylbrecht committedDec 17, 2019 -
pylbrecht committed
Dec 17, 2019 -
Use tolerance > 0 in Path::contains_point()
pylbrecht committedDec 17, 2019 -
Update raqote due to bugfix for arc point in path
pylbrecht committedDec 17, 2019 -
pylbrecht committed
Dec 17, 2019 -
Update raqote: linear gradient fix
pylbrecht committedDec 17, 2019 -
Add check to handle zerosize linear gradients
pylbrecht committedDec 17, 2019 -
Add check for handling equal radial gradients
pylbrecht committedDec 17, 2019 -
Respect FilterMode when drawing images
pylbrecht committedDec 17, 2019 -
Respect direction when drawing arcs
pylbrecht committedDec 17, 2019 -
Make fill() draw uncovered pixels as (0,0,0,0) for certain compositio…
…n ops
pylbrecht committedDec 17, 2019 -
Update raqote to have blend modes working on layers
pylbrecht committedDec 17, 2019 -
Make fill() handle all composition operations
pylbrecht committedDec 17, 2019 -
Make arc() use `anticlockwise` argument
pylbrecht committedDec 17, 2019 -
Make arc() wrap angles mod 2pi
pylbrecht committedDec 17, 2019 -
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 committedDec 17, 2019 -
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 committedDec 17, 2019 -
Set images' ExtendMode based on available information
pylbrecht committedDec 17, 2019 -
Implement "repeat-x" and "repeat-y" for images
pylbrecht committedDec 17, 2019 -
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 committedDec 17, 2019 -
Handle `BlendMode::Clear` in `GenericDrawTarget::fill()`
pylbrecht committedDec 17, 2019 -
Consider empty gradients in `is_zero_size_gradient()`
pylbrecht committedDec 17, 2019 -
Update wpt test expectation for image-smoothing
pylbrecht committedDec 17, 2019 -
Add transform to Pattern::Surface to properly draw images
pylbrecht committedDec 17, 2019 -
Remove duplication for creating gradient stops
pylbrecht committedDec 17, 2019 -