mirror of
https://github.com/servo/servo.git
synced 2025-08-08 23:15:33 +01:00
canvas: Use snapshot in canvas backends (#37863)
This removes assumption about pixel format from backend abstraction to actual backend implementation. This is important for vello. Testing: WPT tests --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
8df5e1e74d
commit
e1a891ea96
10 changed files with 174 additions and 292 deletions
|
@ -1,76 +1,34 @@
|
|||
[canvas-display-p3-pattern-image.html]
|
||||
[sRGB-FF0000FF.png, Context srgb, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-FF0000FF.png, Context srgb, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-FF0000FF.png, Context display-p3, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-FF0000FF.png, Context display-p3, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-FF0000CC.png, Context srgb, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-FF0000CC.png, Context srgb, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-FF0000CC.png, Context display-p3, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-FF0000CC.png, Context display-p3, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-BB0000FF.png, Context srgb, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-BB0000FF.png, Context srgb, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-BB0000FF.png, Context display-p3, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-BB0000FF.png, Context display-p3, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-BB0000CC.png, Context srgb, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-BB0000CC.png, Context srgb, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-BB0000CC.png, Context display-p3, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-BB0000CC.png, Context display-p3, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-FF0000FF.png, Context srgb, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-FF0000FF.png, Context srgb, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-FF0000FF.png, Context display-p3, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-FF0000FF.png, Context display-p3, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-FF0000CC.png, Context srgb, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-FF0000CC.png, Context srgb, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-FF0000CC.png, Context display-p3, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-FF0000CC.png, Context display-p3, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-BB0000FF.png, Context srgb, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -80,9 +38,6 @@
|
|||
[Display-P3-BB0000FF.png, Context display-p3, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-BB0000FF.png, Context display-p3, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-BB0000CC.png, Context srgb, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -92,12 +47,6 @@
|
|||
[Display-P3-BB0000CC.png, Context display-p3, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-BB0000CC.png, Context display-p3, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[Adobe-RGB-FF0000FF.png, Context srgb, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[Adobe-RGB-FF0000FF.png, Context srgb, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -107,9 +56,6 @@
|
|||
[Adobe-RGB-FF0000FF.png, Context display-p3, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[Adobe-RGB-FF0000CC.png, Context srgb, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[Adobe-RGB-FF0000CC.png, Context srgb, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -167,78 +113,36 @@
|
|||
[Generic-CMYK-BE000000.jpg, Context display-p3, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-FFFF00000000FFFF.png, Context srgb, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-FFFF00000000FFFF.png, Context srgb, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-FFFF00000000FFFF.png, Context display-p3, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-FFFF00000000FFFF.png, Context display-p3, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-FFFF00000000CCCC.png, Context srgb, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-FFFF00000000CCCC.png, Context srgb, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-FFFF00000000CCCC.png, Context display-p3, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-FFFF00000000CCCC.png, Context display-p3, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-BBBC00000000FFFF.png, Context srgb, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-BBBC00000000FFFF.png, Context srgb, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-BBBC00000000FFFF.png, Context display-p3, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-BBBC00000000FFFF.png, Context display-p3, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-BBBC00000000CCCC.png, Context srgb, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-BBBC00000000CCCC.png, Context srgb, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-BBBC00000000CCCC.png, Context display-p3, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[sRGB-BBBC00000000CCCC.png, Context display-p3, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-FFFF00000000FFFF.png, Context srgb, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-FFFF00000000FFFF.png, Context srgb, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-FFFF00000000FFFF.png, Context display-p3, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-FFFF00000000FFFF.png, Context display-p3, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-FFFF00000000CCCC.png, Context srgb, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-FFFF00000000CCCC.png, Context srgb, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-FFFF00000000CCCC.png, Context display-p3, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-FFFF00000000CCCC.png, Context display-p3, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-BBBC00000000FFFF.png, Context srgb, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -248,9 +152,6 @@
|
|||
[Display-P3-BBBC00000000FFFF.png, Context display-p3, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-BBBC00000000FFFF.png, Context display-p3, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-BBBC00000000CCCC.png, Context srgb, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -260,12 +161,6 @@
|
|||
[Display-P3-BBBC00000000CCCC.png, Context display-p3, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[Display-P3-BBBC00000000CCCC.png, Context display-p3, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[Adobe-RGB-FFFF00000000FFFF.png, Context srgb, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[Adobe-RGB-FFFF00000000FFFF.png, Context srgb, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -275,9 +170,6 @@
|
|||
[Adobe-RGB-FFFF00000000FFFF.png, Context display-p3, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
[Adobe-RGB-FFFF00000000CCCC.png, Context srgb, ImageData srgb]
|
||||
expected: FAIL
|
||||
|
||||
[Adobe-RGB-FFFF00000000CCCC.png, Context srgb, ImageData display-p3]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue