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
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
65a21e9
Enable raqote by default
pylbrecht Oct 17, 2019
c8025c9
Don't reuse PathBuilder after calling finish()
pylbrecht Oct 24, 2019
d6f46b5
Apply transformation in Path::contains_point()
pylbrecht Oct 29, 2019
606ad20
Update raqote due to bugfix
pylbrecht Oct 29, 2019
b8b3378
Handle empty paths in PathBuilder::get_current_point()
pylbrecht Oct 31, 2019
2aa16fc
Update raqote
pylbrecht Nov 5, 2019
77a8bc4
Fix conversion of image data slice
pylbrecht Nov 5, 2019
5c6a12a
Create raqote::SolidSource with premultiplied color
pylbrecht Nov 5, 2019
5151309
Update raqote due to bugfix
pylbrecht Nov 7, 2019
55256df
Use tolerance > 0 in Path::contains_point()
pylbrecht Nov 7, 2019
2087281
Update raqote due to bugfix for arc point in path
pylbrecht Nov 9, 2019
bd1e30f
Update raqote
pylbrecht Nov 10, 2019
9f58ae4
Update raqote: linear gradient fix
pylbrecht Nov 15, 2019
d87e5d8
Add check to handle zerosize linear gradients
pylbrecht Nov 16, 2019
16f06f2
Add check for handling equal radial gradients
pylbrecht Nov 16, 2019
a473f50
Respect FilterMode when drawing images
pylbrecht Nov 19, 2019
4d4e68c
Respect direction when drawing arcs
pylbrecht Nov 19, 2019
47ee272
Make fill() draw uncovered pixels as (0,0,0,0) for certain compositio…
pylbrecht Nov 30, 2019
1597b95
Update raqote to have blend modes working on layers
pylbrecht Dec 1, 2019
da9b4c3
Make fill() handle all composition operations
pylbrecht Dec 2, 2019
02e3325
Make arc() use `anticlockwise` argument
pylbrecht Dec 2, 2019
a02daef
Make arc() wrap angles mod 2pi
pylbrecht Dec 2, 2019
04e9523
Use push_layer_with_blend() only when necessary
pylbrecht Dec 3, 2019
1cdcbb2
Handle overlapping gradient stops for linear gradients
pylbrecht Dec 7, 2019
25d036f
Set images' ExtendMode based on available information
pylbrecht Dec 7, 2019
1aecf40
Implement "repeat-x" and "repeat-y" for images
pylbrecht Dec 10, 2019
a50aef6
Add a layer to store Pattern related information
pylbrecht Dec 13, 2019
ada7986
Handle `BlendMode::Clear` in `GenericDrawTarget::fill()`
pylbrecht Dec 14, 2019
9a2370a
Consider empty gradients in `is_zero_size_gradient()`
pylbrecht Dec 14, 2019
b99b92d
Update wpt test expectation for image-smoothing
pylbrecht Dec 14, 2019
7c8c230
Add transform to Pattern::Surface to properly draw images
pylbrecht Dec 14, 2019
e054785
Remove duplication for creating gradient stops
pylbrecht Dec 15, 2019
cdd4dc4
Update wpt test expectations
pylbrecht Dec 17, 2019
4f4c32f
Revert two test expectation updates
pylbrecht Dec 18, 2019
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Update wpt test expectations

  • Loading branch information
pylbrecht committed Dec 17, 2019
commit cdd4dc41b3d5ddfe3442e5078ee7c58c6f19bfeb
@@ -24,3 +24,12 @@
[Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 69,69 should be red.]
expected: FAIL

[Test scenario 10: sx = 0, sy = 0, sw = 50, sh = 50, dx = 0, dy = 0, dw = 200, dh = 200 --- Pixel 20,99 should be black.]
expected: FAIL

[Test scenario 10: sx = 0, sy = 0, sw = 50, sh = 50, dx = 0, dy = 0, dw = 200, dh = 200 --- Pixel 99,20 should be black.]
expected: FAIL

[Test scenario 10: sx = 0, sy = 0, sw = 50, sh = 50, dx = 0, dy = 0, dw = 200, dh = 200 --- Pixel 20,20 should be black.]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.fillRect.shadow.html]
[fillRect draws shadows]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.gradient.radial.cone.behind.html]
[Canvas test: 2d.gradient.radial.cone.behind]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.gradient.radial.cone.beside.html]
[Canvas test: 2d.gradient.radial.cone.beside]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.gradient.radial.cone.shape2.html]
[Canvas test: 2d.gradient.radial.cone.shape2]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.gradient.radial.inside3.html]
[Canvas test: 2d.gradient.radial.inside3]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.gradient.radial.outside2.html]
[Canvas test: 2d.gradient.radial.outside2]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.gradient.radial.touch1.html]
[Canvas test: 2d.gradient.radial.touch1]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.gradient.radial.touch2.html]
[Canvas test: 2d.gradient.radial.touch2]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.gradient.radial.touch3.html]
[Canvas test: 2d.gradient.radial.touch3]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.pattern.animated.gif.html]
[createPattern() of an animated GIF draws the first frame]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.line.cap.closed.html]
[Line caps are not drawn at the corners of an unclosed rectangle]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.line.cap.round.html]
[lineCap 'round' is rendered correctly]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.path.arc.scale.2.html]
[Highly scaled arcs are the right shape]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.path.arc.selfintersect.1.html]
[arc() with lineWidth > 2*radius is drawn sensibly]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.path.arc.selfintersect.2.html]
[arc() with lineWidth > 2*radius is drawn sensibly]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.path.arc.shape.3.html]
[arc() from 0 to -pi/2 does not draw anything in the wrong quadrant]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.path.arc.shape.4.html]
[arc() from 0 to -pi/2 draws stuff in the right quadrant]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.path.arc.twopie.1.html]
[arc() draws nothing when end = start + 2pi-e and anticlockwise]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.path.arc.twopie.3.html]
[arc() draws a full circle when end = start + 2pi+e and anticlockwise]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.path.arcTo.ensuresubpath.2.html]
[If there is no subpath, the first control point is added]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.path.arcTo.scale.html]
[arcTo scales the curve, not just the control points]
expected: FAIL

This file was deleted.

@@ -0,0 +1,4 @@
[2d.path.arcTo.transformation.html]
[arcTo joins up to the last subpath point correctly]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.path.closePath.nextpoint.html]
[Canvas test: 2d.path.closePath.nextpoint]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.path.quadraticCurveTo.ensuresubpath.2.html]
[If there is no subpath, the first control point is added]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.path.rect.end.1.html]
[Canvas test: 2d.path.rect.end.1]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.alpha.2.html]
[Shadow colour alpha components are used]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.alpha.3.html]
[Shadows are affected by globalAlpha]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.alpha.4.html]
[Shadows with alpha components are correctly affected by globalAlpha]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.alpha.5.html]
[Shadows of shapes with alpha components are drawn correctly]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.canvas.alpha.html]
[Shadows are drawn correctly for partially-transparent canvases]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.canvas.basic.html]
[Shadows are drawn for canvases]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.canvas.transparent.2.html]
[Shadows are not drawn for transparent parts of canvases]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.clip.1.html]
[Shadows of clipped shapes are still drawn within the clipping region]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.clip.2.html]
[Shadows are not drawn outside the clipping region]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.clip.3.html]
[Shadows of clipped shapes are still drawn within the clipping region]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.composite.1.html]
[Shadows are drawn using globalCompositeOperation]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.composite.2.html]
[Shadows are drawn using globalCompositeOperation]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.gradient.alpha.html]
[Shadows are drawn correctly for partially-transparent gradient fills]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.gradient.basic.html]
[Shadows are drawn for gradient fills]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.gradient.transparent.2.html]
[Shadows are not drawn for transparent parts of gradient fills]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.image.alpha.html]
[Shadows are drawn correctly for partially-transparent images]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.image.basic.html]
[Shadows are drawn for images]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.image.scale.html]
[Shadows are drawn correctly for scaled images]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.image.transparent.2.html]
[Shadows are not drawn for transparent parts of images]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.offset.negativeX.html]
[Shadows can be offset with negative x]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.offset.negativeY.html]
[Shadows can be offset with negative y]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.offset.positiveX.html]
[Shadows can be offset with positive x]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.offset.positiveY.html]
[Shadows can be offset with positive y]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.outside.html]
[Shadows of shapes outside the visible area can be offset onto the visible area]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.pattern.alpha.html]
[Shadows are drawn correctly for partially-transparent fill patterns]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.pattern.basic.html]
[Shadows are drawn for fill patterns]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.pattern.transparent.2.html]
[Shadows are not drawn for transparent parts of fill patterns]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.transform.1.html]
[Shadows take account of transformations]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.shadow.transform.2.html]
[Shadow offsets are not affected by transformations]
expected: FAIL

@@ -0,0 +1,4 @@
[canvas_shadows_001.htm]
[linear gradient fillRect draws shadow (black rectange)]
expected: FAIL

@@ -0,0 +1,10 @@
[shadowBlur_gaussian_tolerance.1.html]
[shadowBlur Gaussian pixel values for small blur]
expected: FAIL

[shadowBlur Gaussian pixel values for large blur]
expected: FAIL

[shadowBlur Gaussian pixel values for no blur]
expected: FAIL

@@ -0,0 +1,4 @@
[2d.transformation.scale.large.html]
[scale() with large scale factors works]
expected: FAIL

@@ -0,0 +1,2 @@
[transform_a.html]
expected: FAIL
@@ -0,0 +1,2 @@
[overdraw.https.html]
expected: TIMEOUT
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.