Closed
Bug 1289637
Opened 8 years ago
Closed 7 months ago
800 instances of "We can't support non-premultiplied alpha for video!: '(aSurfaceFlags & SFE_PREFER_NO_PREMULTIPLY_ALPHA) == 0'" emitted from layout/base/nsLayoutUtils.cpp during linux64 debug testing
Categories
(Core :: Graphics, defect, P4)
Core
Graphics
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: erahm, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [gfx-noted])
> 777 WARNING: We can't support non-premultiplied alpha for video!: '(aSurfaceFlags & SFE_PREFER_NO_PREMULTIPLY_ALPHA) == 0', file layout/base/nsLayoutUtils.cpp, line 7494
This warning [1] shows up in the following test suites:
> 380 - desktop-test-linux64/debug-mochitest-webgl-e10s gl
> 373 - desktop-test-linux64/debug-mochitest-webgl gl
> 12 - desktop-test-linux64/debug-mochitest-gpu gpu
> 12 - desktop-test-linux64/debug-mochitest-gpu-e10s gpu
It shows up in 22 tests. A few of the most prevalent:
> 48 - dom/canvas/test/webgl-conf/generated/test_conformance__textures__video__tex-2d-rgba-rgba-unsigned_byte.html
> 48 - [e10s] dom/canvas/test/webgl-conf/generated/test_conformance__textures__video__tex-2d-rgba-rgba-unsigned_byte.html
> 48 - [e10s] dom/canvas/test/webgl-conf/generated/test_conformance__textures__video__tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html
> 48 - [e10s] dom/canvas/test/webgl-conf/generated/test_conformance__textures__video__tex-2d-rgb-rgb-unsigned_short_5_6_5.html
> 48 - [e10s] dom/canvas/test/webgl-conf/generated/test_conformance__textures__video__tex-2d-rgb-rgb-unsigned_byte.html
> 48 - dom/canvas/test/webgl-conf/generated/test_conformance__textures__video__tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html
> 48 - dom/canvas/test/webgl-conf/generated/test_conformance__textures__video__tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html
> 48 - [e10s] dom/canvas/test/webgl-conf/generated/test_conformance__textures__video__tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html
> 48 - dom/canvas/test/webgl-conf/generated/test_conformance__textures__video__tex-2d-rgb-rgb-unsigned_short_5_6_5.html
> 48 - dom/canvas/test/webgl-conf/generated/test_conformance__extensions__oes-texture-half-float-with-video.html
[1] https://hg.mozilla.org/mozilla-central/annotate/81e206ee8ba7/layout/base/nsLayoutUtils.cpp#l7494
Reporter | ||
Comment 1•8 years ago
|
||
:jgilbert it looks like the uptick in warnings started when landing the latest webgl conformance tests in bug 1277424. The warning is actually on the layout side, but it primarily occurs during webgl tests.
Blocks: webgl-104-ci
Flags: needinfo?(jgilbert)
Reporter | ||
Comment 2•8 years ago
|
||
The full list of tests:
> 48 - dom/canvas/test/webgl-conf/generated/test_conformance__textures__video__tex-2d-rgba-rgba-unsigned_byte.html
> 48 - [e10s] dom/canvas/test/webgl-conf/generated/test_conformance__textures__video__tex-2d-rgba-rgba-unsigned_byte.html
> 48 - [e10s] dom/canvas/test/webgl-conf/generated/test_conformance__textures__video__tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html
> 48 - [e10s] dom/canvas/test/webgl-conf/generated/test_conformance__textures__video__tex-2d-rgb-rgb-unsigned_short_5_6_5.html
> 48 - [e10s] dom/canvas/test/webgl-conf/generated/test_conformance__textures__video__tex-2d-rgb-rgb-unsigned_byte.html
> 48 - dom/canvas/test/webgl-conf/generated/test_conformance__textures__video__tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html
> 48 - dom/canvas/test/webgl-conf/generated/test_conformance__textures__video__tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html
> 48 - [e10s] dom/canvas/test/webgl-conf/generated/test_conformance__textures__video__tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html
> 48 - dom/canvas/test/webgl-conf/generated/test_conformance__textures__video__tex-2d-rgb-rgb-unsigned_short_5_6_5.html
> 48 - dom/canvas/test/webgl-conf/generated/test_conformance__extensions__oes-texture-half-float-with-video.html
> 48 - dom/canvas/test/webgl-conf/generated/test_conformance__extensions__oes-texture-float-with-video.html
> 48 - [e10s] dom/canvas/test/webgl-conf/generated/test_conformance__extensions__oes-texture-float-with-video.html
> 48 - [e10s] dom/canvas/test/webgl-conf/generated/test_conformance__extensions__oes-texture-half-float-with-video.html
> 48 - dom/canvas/test/webgl-conf/generated/test_conformance__textures__video__tex-2d-rgb-rgb-unsigned_byte.html
> 18 - dom/canvas/test/webgl-conf/generated/test_conformance__textures__misc__texture-upload-size.html
> 18 - [e10s] dom/canvas/test/webgl-conf/generated/test_conformance__more__conformance__quickCheckAPI-S_V.html
> 18 - [e10s] dom/canvas/test/webgl-conf/generated/test_conformance__textures__misc__texture-upload-size.html
> 12 - dom/canvas/test/crossorigin/test_video_crossorigin.html
> 12 - [e10s] dom/canvas/test/crossorigin/test_video_crossorigin.html
> 11 - dom/canvas/test/webgl-conf/generated/test_conformance__more__conformance__quickCheckAPI-S_V.html
> 8 - dom/canvas/test/webgl-conf/generated/test_conformance__textures__misc__texture-npot-video.html
> 8 - [e10s] dom/canvas/test/webgl-conf/generated/test_conformance__textures__misc__texture-npot-video.html
Updated•8 years ago
|
Whiteboard: [gfx-noted]
Comment 3•8 years ago
|
||
These should all be spurious, since we're passing the tests.
Callers of this should be vetted and the warning removed. The docs should make it clear that this is a preference from the caller, not a requirement.
Severity: normal → minor
Component: Canvas: WebGL → Graphics
Flags: needinfo?(jgilbert)
Updated•8 years ago
|
Priority: -- → P4
Updated•2 years ago
|
Severity: minor → S4
Comment 4•7 months ago
|
||
I don't see this warning in the top 100 on Linux64 any more.
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•