Bug 264665 - [GStreamer] http/wpt/webcodecs/videoFrame-webglCanvasImageSource.html fails
Summary: [GStreamer] http/wpt/webcodecs/videoFrame-webglCanvasImageSource.html fails
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-11 04:46 PST by Philippe Normand
Modified: 2024-01-16 13:43 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2023-11-11 04:46:01 PST
Seems too specific to Apple's WebGL?

--- /home/buildbot/worker/GTK-Linux-64-bit-Release-Tests/build/layout-test-results/http/wpt/webcodecs/videoFrame-webglCanvasImageSource-expected.txt
+++ /home/buildbot/worker/GTK-Linux-64-bit-Release-Tests/build/layout-test-results/http/wpt/webcodecs/videoFrame-webglCanvasImageSource-actual.txt
@@ -1,8 +1,8 @@
 
-PASS VideoFrame from canvas snapshots drawing at call time, context: webgl offscreen: true, premultipliedAlpha: true
-PASS VideoFrame from canvas snapshots drawing at call time, context: webgl offscreen: true, premultipliedAlpha: false
-PASS VideoFrame from canvas snapshots drawing at call time, context: 2d offscreen: true
-FAIL VideoFrame from canvas snapshots drawing at call time, context: webgl offscreen: false, premultipliedAlpha: true assert_equals: expected 8388736 but got 4194432
-PASS VideoFrame from canvas snapshots drawing at call time, context: webgl offscreen: false, premultipliedAlpha: false
-PASS VideoFrame from canvas snapshots drawing at call time, context: 2d offscreen: false
+FAIL VideoFrame from canvas snapshots drawing at call time, context: webgl offscreen: true, premultipliedAlpha: true assert_equals: expected 8388736 but got 8192128
+FAIL VideoFrame from canvas snapshots drawing at call time, context: webgl offscreen: true, premultipliedAlpha: false assert_equals: expected 8388736 but got 8192128
+FAIL VideoFrame from canvas snapshots drawing at call time, context: 2d offscreen: true assert_equals: expected 8388736 but got 8192128
+FAIL VideoFrame from canvas snapshots drawing at call time, context: webgl offscreen: false, premultipliedAlpha: true assert_equals: expected 4278190335 but got 65535
+FAIL VideoFrame from canvas snapshots drawing at call time, context: webgl offscreen: false, premultipliedAlpha: false assert_equals: expected 4278190335 but got 65535
+FAIL VideoFrame from canvas snapshots drawing at call time, context: 2d offscreen: false assert_equals: expected 8388736 but got 8192128
Comment 1 Philippe Normand 2023-11-11 06:44:45 PST
Adding Kimmo in CC.

Could the test allow some tolerance/epsilon margin when checking pixels?
Comment 2 Radar WebKit Bug Importer 2024-01-16 13:43:38 PST
<rdar://problem/121074645>