Bug 264665

Summary: [GStreamer] http/wpt/webcodecs/videoFrame-webglCanvasImageSource.html fails
Product: WebKit Reporter: Philippe Normand <philn>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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>