webgl display-p3 display for windows+dcomp
Categories
(Core :: Graphics: CanvasWebGL, enhancement, P1)
Tracking
()
People
(Reporter: jgilbert, Assigned: jgilbert)
References
(Blocks 1 open bug)
Details
Crash Data
Attachments
(11 files, 2 obsolete files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
Comment 5•2 years ago
|
||
Backed out for causing build bustages on GLBlitHelper.cpp
Backout link
Push with failureshttps://treeherder.mozilla.org/jobs?repo=autoland&resultStatus=usercancel%2Cretry%2Ctestfailed%2Cbusted%2Cexception%2Crunnable&revision=71d40a0a3c9cd9386ad322ff90c17157a89a344a&selectedTaskRun=Qc1EzKOFTMqhKx8BlU5Gag.0
Link to failure log
Failure line :
/builds/worker/checkouts/gecko/gfx/gl/GLBlitHelper.cpp:948:28: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
Comment 7•2 years ago
|
||
Backed out for causing bustages on Colorspaces.h
Backout link
Push with failures
Link to failure log
Failure line :
builds/worker/checkouts/gecko/gfx/gl/Colorspaces.h:559:21: error: implicit instantiation of undefined template 'std::vector<mozilla::color::avec<float, 3>>
Comment 9•2 years ago
|
||
Backed out 3 changesets (bug 1771374) for causing build bustage in gfx/gl/gtest/TestColorspaces.cpp
Backout link: https://hg.mozilla.org/integration/autoland/rev/7e8894db5004187674dbf015dc880059acca586e
Comment 10•2 years ago
•
|
||
[drive-by comment after noticing Kelsey's mention the backout in #developers]
(In reply to Sandor Molnar from comment #9)
Note that "Failure log #2" is a different error from "Failure log #1"; i.e. #2 is not about TestColorspaces.cpp. It's for OffscreenCanvasDisplayHelper.cpp failing a static assertion about "PlainOldDataSerializer can only be used with trivially copyable types!"
And there's also FailureLog #3 for another distinct issue in that push, on Linux "Bp-hybrid":
gfx/gl/GLBlitHelper.cpp:133:19: error: unused variable 'kFragSample_OnePlane_YUV_via_GBR' [-Werror,-Wunused-const-variable]
(It looks like that's only used in platform-specific ifdeff'ed code, so the declaration/definition probably needs an ifdef to match.)
Updated•2 years ago
|
Assignee | ||
Comment 11•2 years ago
|
||
Use IsTriviallyCopyable_IgnoreMoveable for deciding to auto-serialize-via-memcpy.
Assignee | ||
Comment 12•2 years ago
|
||
Maybe
isn't is_trivially_copyable, and std::optional isn't either on
the old libstdc++ we use from gcc7 still.
I'm working on more robust approach to serialization but that's beyond
the scope of this bug.
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Comment 13•2 years ago
|
||
Comment 14•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ef52a6c462b6
https://hg.mozilla.org/mozilla-central/rev/8b39f60971e4
https://hg.mozilla.org/mozilla-central/rev/9f5cf953fcc8
https://hg.mozilla.org/mozilla-central/rev/9c65411d1843
Comment 15•2 years ago
|
||
Backed out from central per request: https://hg.mozilla.org/mozilla-central/rev/0f67ddd33ffffed755ca5cf2df495e9bb57a649d
Comment 16•2 years ago
|
||
This also caused crashes with the signature [@ mozilla::wr::DCSurfaceSwapChain::CallVideoProcessorBlt]
, e.g. bp-4f8c1a28-04ec-4ae0-a317-db2340220714
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 17•2 years ago
|
||
Assignee | ||
Comment 18•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Comment 19•2 years ago
|
||
This should reduce the fuzzy()ness we need to annotate.
Assignee | ||
Comment 20•2 years ago
|
||
We need to pad e.g. nv12 4:2:0 formats in order to have integer-sized
chroma planes.
But also to avoid needing laser-focused testing for this case, just
unconditionally pad odd-sizes to even numbers.
- Test handling of odd-number-sized surfaces.
Assignee | ||
Comment 21•2 years ago
|
||
Assignee | ||
Comment 22•2 years ago
|
||
Comment 23•2 years ago
|
||
Comment 24•2 years ago
|
||
Backed out for causing mochitest-webgl failures.
Failure log for gl1c jobs
Failure log for gl2c jobs
[task 2022-08-02T00:33:55.059Z] 00:33:55 INFO - TEST-START | dom/canvas/test/webgl-conf/generated/test_conformance__textures__misc__copy-tex-image-2d-formats.html
[task 2022-08-02T00:33:55.140Z] 00:33:55 INFO - GECKO(1359) | [Parent 1359, Main Thread] WARNING: NS_ENSURE_TRUE(she && she->mInfo->mSharedState.Get()) failed: file /builds/worker/checkouts/gecko/docshell/shistory/SessionHistoryEntry.cpp:1127
[task 2022-08-02T00:33:55.211Z] 00:33:55 INFO - GECKO(1359) | JavaScript warning: http://mochi.test:8888/tests/dom/canvas/test/webgl-conf/checkout/conformance/textures/misc/copy-tex-image-2d-formats.html, line 140: WebGL warning: copyTexImage: Copying to a LUMINANCE, ALPHA, or LUMINANCE_ALPHA is deprecated, and has severely reduced performance on some platforms.
[task 2022-08-02T00:33:55.228Z] 00:33:55 INFO - TEST-INFO | started process screencapture
[task 2022-08-02T00:33:55.357Z] 00:33:55 INFO - TEST-INFO | screencapture: exit 0
[task 2022-08-02T00:33:55.357Z] 00:33:55 INFO - Buffered messages logged at 00:33:55
[task 2022-08-02T00:33:55.358Z] 00:33:55 INFO - TEST-PASS | dom/canvas/test/webgl-conf/generated/test_conformance__textures__misc__copy-tex-image-2d-formats.html | A valid string reason is expected
[task 2022-08-02T00:33:55.358Z] 00:33:55 INFO - TEST-PASS | dom/canvas/test/webgl-conf/generated/test_conformance__textures__misc__copy-tex-image-2d-formats.html | Reason cannot be empty
[task 2022-08-02T00:33:55.359Z] 00:33:55 INFO - TEST-PASS | dom/canvas/test/webgl-conf/generated/test_conformance__textures__misc__copy-tex-image-2d-formats.html | getError was expected value: NO_ERROR : During Initialization
[task 2022-08-02T00:33:55.359Z] 00:33:55 INFO - TEST-PASS | dom/canvas/test/webgl-conf/generated/test_conformance__textures__misc__copy-tex-image-2d-formats.html | getError was expected value: NO_ERROR : should be able to copyTexImage2D ALPHA from RGBA
[task 2022-08-02T00:33:55.359Z] 00:33:55 INFO - Buffered messages finished
[task 2022-08-02T00:33:55.361Z] 00:33:55 INFO - TEST-UNEXPECTED-FAIL | dom/canvas/test/webgl-conf/generated/test_conformance__textures__misc__copy-tex-image-2d-formats.html | should be 0,0,0,127
[task 2022-08-02T00:33:55.361Z] 00:33:55 INFO - at (0, 0) expected: 0,0,0,127 was 0,0,0,0
[task 2022-08-02T00:33:55.361Z] 00:33:55 INFO - SimpleTest.ok@SimpleTest/SimpleTest.js:414:16
[task 2022-08-02T00:33:55.361Z] 00:33:55 INFO - reportResults@dom/canvas/test/webgl-conf/mochi-single.html?checkout/conformance/textures/misc/copy-tex-image-2d-formats.html:22:14
[task 2022-08-02T00:33:55.361Z] 00:33:55 INFO - reportTestResultsToHarness@dom/canvas/test/webgl-conf/checkout/js/js-test-pre.js:104:36
[task 2022-08-02T00:33:55.361Z] 00:33:55 INFO - testFailed@dom/canvas/test/webgl-conf/checkout/js/js-test-pre.js:239:31
[task 2022-08-02T00:33:55.361Z] 00:33:55 INFO - checkCanvasRect/<@dom/canvas/test/webgl-conf/checkout/js/webgl-test-utils.js:1332:19
[task 2022-08-02T00:33:55.361Z] 00:33:55 INFO - checkCanvasRectColor@dom/canvas/test/webgl-conf/checkout/js/webgl-test-utils.js:1285:20
[task 2022-08-02T00:33:55.362Z] 00:33:55 INFO - checkCanvasRect@dom/canvas/test/webgl-conf/checkout/js/webgl-test-utils.js:1320:23
[task 2022-08-02T00:33:55.362Z] 00:33:55 INFO - checkCanvas@dom/canvas/test/webgl-conf/checkout/js/webgl-test-utils.js:1351:18
[task 2022-08-02T00:33:55.362Z] 00:33:55 INFO - testCopyTexImage2D@dom/canvas/test/webgl-conf/checkout/conformance/textures/misc/copy-tex-image-2d-formats.html:165:7
[task 2022-08-02T00:33:55.362Z] 00:33:55 INFO - testFormats@dom/canvas/test/webgl-conf/checkout/conformance/textures/misc/copy-tex-image-2d-formats.html:110:23
[task 2022-08-02T00:33:55.362Z] 00:33:55 INFO - @dom/canvas/test/webgl-conf/checkout/conformance/textures/misc/copy-tex-image-2d-formats.html:68:12
[task 2022-08-02T00:33:55.362Z] 00:33:55 INFO - TEST-PASS | dom/canvas/test/webgl-conf/generated/test_conformance__textures__misc__copy-tex-image-2d-formats.html | getError was expected value: NO_ERROR : should be no errors
[task 2022-08-02T00:33:55.363Z] 00:33:55 INFO - GECKO(1359) | JavaScript warning: http://mochi.test:8888/tests/dom/canvas/test/webgl-conf/checkout/conformance/textures/misc/copy-tex-image-2d-formats.html, line 140: WebGL warning: copyTexImage: Copying to a LUMINANCE, ALPHA, or LUMINANCE_ALPHA is deprecated, and has severely reduced performance on some platforms.
[task 2022-08-02T00:33:55.364Z] 00:33:55 INFO - TEST-PASS | dom/canvas/test/webgl-conf/generated/test_conformance__textures__misc__copy-tex-image-2d-formats.html | getError was expected value: NO_ERROR : should be able to copyTexImage2D LUMINANCE from RGBA
[task 2022-08-02T00:33:55.364Z] 00:33:55 INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-08-02T00:33:55.366Z] 00:33:55 INFO - TEST-UNEXPECTED-FAIL | dom/canvas/test/webgl-conf/generated/test_conformance__textures__misc__copy-tex-image-2d-formats.html | should be 64,64,64,255
[task 2022-08-02T00:33:55.366Z] 00:33:55 INFO - at (0, 0) expected: 64,64,64,255 was 0,0,0,255
[task 2022-08-02T00:33:55.366Z] 00:33:55 INFO - SimpleTest.ok@SimpleTest/SimpleTest.js:414:16
[task 2022-08-02T00:33:55.366Z] 00:33:55 INFO - reportResults@dom/canvas/test/webgl-conf/mochi-single.html?checkout/conformance/textures/misc/copy-tex-image-2d-formats.html:22:14
[task 2022-08-02T00:33:55.366Z] 00:33:55 INFO - reportTestResultsToHarness@dom/canvas/test/webgl-conf/checkout/js/js-test-pre.js:104:36
[task 2022-08-02T00:33:55.366Z] 00:33:55 INFO - testFailed@dom/canvas/test/webgl-conf/checkout/js/js-test-pre.js:239:31
[task 2022-08-02T00:33:55.366Z] 00:33:55 INFO - checkCanvasRect/<@dom/canvas/test/webgl-conf/checkout/js/webgl-test-utils.js:1332:19
[task 2022-08-02T00:33:55.366Z] 00:33:55 INFO - checkCanvasRectColor@dom/canvas/test/webgl-conf/checkout/js/webgl-test-utils.js:1285:20
[task 2022-08-02T00:33:55.367Z] 00:33:55 INFO - checkCanvasRect@dom/canvas/test/webgl-conf/checkout/js/webgl-test-utils.js:1320:23
[task 2022-08-02T00:33:55.367Z] 00:33:55 INFO - checkCanvas@dom/canvas/test/webgl-conf/checkout/js/webgl-test-utils.js:1351:18
[task 2022-08-02T00:33:55.367Z] 00:33:55 INFO - testCopyTexImage2D@dom/canvas/test/webgl-conf/checkout/conformance/textures/misc/copy-tex-image-2d-formats.html:165:7
[task 2022-08-02T00:33:55.367Z] 00:33:55 INFO - testFormats@dom/canvas/test/webgl-conf/checkout/conformance/textures/misc/copy-tex-image-2d-formats.html:110:23
[task 2022-08-02T00:33:55.367Z] 00:33:55 INFO - @dom/canvas/test/webgl-conf/checkout/conformance/textures/misc/copy-tex-image-2d-formats.html:68:12
[task 2022-08-02T00:33:55.368Z] 00:33:55 INFO - TEST-PASS | dom/canvas/test/webgl-conf/generated/test_conformance__textures__misc__copy-tex-image-2d-formats.html | getError was expected value: NO_ERROR : should be no errors
<...>
Updated•2 years ago
|
Assignee | ||
Comment 25•2 years ago
|
||
- Don't unconditionally clamp-to-alpha, since some callers use blit as a raw copy.
- Remove unused premultAlpha branch+uniform, replace with available but unused mixin.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 26•2 years ago
|
||
Comment 27•2 years ago
|
||
There are some r+ patches which didn't land and no activity in this bug for 2 weeks.
:jgilbert, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Description
•