WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 211484
[WebGL2] webgl/2.0.0/conformance[2]/textures/image_bitmap* failures
https://bugs.webkit.org/show_bug.cgi?id=211484
Summary
[WebGL2] webgl/2.0.0/conformance[2]/textures/image_bitmap* failures
Kenneth Russell
Reported
2020-05-05 20:02:40 PDT
There are several failures in each test underneath webgl/2.0.0/conformance2/textures/image_bitmap_from_canvas/ . Initial triage indicates the failures might be caused by WebKit not respecting the premultiplyAlpha option to createImageBitmap, but it's not clear. To reduce the size of subsequent texture-related rebaselines, these tests are being skipped for the time being. The failures will need to be investigated before the WebGL 2.0 conformance suite can be passed.
Attachments
Patch
(1003.27 KB, patch)
2020-08-02 15:11 PDT
,
Kenneth Russell
no flags
Details
Formatted Diff
Diff
Patch
(1004.66 KB, patch)
2020-08-02 15:41 PDT
,
Kenneth Russell
no flags
Details
Formatted Diff
Diff
Patch
(1004.72 KB, patch)
2020-08-03 09:18 PDT
,
Kenneth Russell
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Kenneth Russell
Comment 1
2020-07-30 11:00:50 PDT
The image_bitmap_from_blob, image_bitmap_from_image and image_bitmap_from_video tests are all failing for the same reason - WebKit doesn't yet implement the imageOrientation or premultiplyAlpha ImageBitmapOptions:
https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html
This is core functionality and is a blocker for conformance - raising to P1, and assigning to dino@ per recent discussion on Slack. Affected test directories: webgl/2.0.0/conformance[2]/textures/image_bitmap_from_blob/* webgl/2.0.0/conformance[2]/textures/image_bitmap_from_image/* webgl/2.0.0/conformance[2]/textures/image_bitmap_from_video/*
Kenneth Russell
Comment 2
2020-07-30 13:25:50 PDT
After further discussion with dino@, taking this bug; will attempt a fix.
Kenneth Russell
Comment 3
2020-08-02 15:11:30 PDT
Created
attachment 405813
[details]
Patch
Kenneth Russell
Comment 4
2020-08-02 15:41:05 PDT
Created
attachment 405814
[details]
Patch
Kenneth Russell
Comment 5
2020-08-03 09:07:24 PDT
The attached patch implements ImageBitmapOptions' ImageOrientation="flipY" and PremultiplyAlpha="premultiply" options, and makes several dozen tests under: webgl/2.0.0/conformance[2]/textures/image_bitmap_from_blob/ webgl/2.0.0/conformance[2]/textures/image_bitmap_from_canvas/ webgl/2.0.0/conformance[2]/textures/image_bitmap_from_image/ webgl/2.0.0/conformance[2]/textures/image_bitmap_from_video/ The bulk of the patch is the rebaseline; the code changes are relatively small.
Kenneth Russell
Comment 6
2020-08-03 09:18:02 PDT
Created
attachment 405835
[details]
Patch
EWS
Comment 7
2020-08-03 11:19:11 PDT
Committed
r265208
: <
https://trac.webkit.org/changeset/265208
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 405835
[details]
.
Radar WebKit Bug Importer
Comment 8
2020-08-03 13:38:26 PDT
<
rdar://problem/66489332
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug