The reftest here currently fails on Android for what appears to be an
unrelated reason: reftest-analyzer shows that in the *reference* case,
all but the last line of text is completely missing.
I'm not sure what's failing there (but it fails similarly without this
patch, anyhow); we should investigate that as a separate bug.
Differential Revision: https://phabricator.services.mozilla.com/D219024
The reftest here currently fails on Android for what appears to be an
unrelated reason: reftest-analyzer shows that in the *reference* case,
all but the last line of text is completely missing.
I'm not sure what's failing there (but it fails similarly without this
patch, anyhow); we should investigate that as a separate bug.
Differential Revision: https://phabricator.services.mozilla.com/D219024
The reftest here currently fails on Android for what appears to be an
unrelated reason: reftest-analyzer shows that in the *reference* case,
all but the last line of text is completely missing.
I'm not sure what's failing there (but it fails similarly without this
patch, anyhow); we should investigate that as a separate bug.
Differential Revision: https://phabricator.services.mozilla.com/D219024
The reftest here currently fails on Android for what appears to be an
unrelated reason: reftest-analyzer shows that in the *reference* case,
all but the last line of text is completely missing.
I'm not sure what's failing there (but it fails similarly without this
patch, anyhow); we should investigate that as a separate bug.
Differential Revision: https://phabricator.services.mozilla.com/D219024
The reftest here currently fails on Android for what appears to be an
unrelated reason: reftest-analyzer shows that in the *reference* case,
all but the last line of text is completely missing.
I'm not sure what's failing there (but it fails similarly without this
patch, anyhow); we should investigate that as a separate bug.
Differential Revision: https://phabricator.services.mozilla.com/D219024
Ensure that when we construct a wrapping surface for a transform
due to a complex clip, we mark it as wrapping a backdrop-filter
when that is required.
Differential Revision: https://phabricator.services.mozilla.com/D217922
This disables the legacy Direct2D backend in Windows Nightly in favor
of using Accelerated Canvas2D instead. The goal of this experiment
is to collect performance and other bug feedback on AC2D versus Direct2D.
In general, AC2D has been fairly stable on other platforms, so it would be
nice to gradually move towards using AC2D on Windows as well so that we
are using one consistent acceleration solution.
This experiment is the first step towards that end.
Differential Revision: https://phabricator.services.mozilla.com/D217851
This disables the legacy Direct2D backend in Windows Nightly in favor
of using Accelerated Canvas2D instead. The goal of this experiment
is to collect performance and other bug feedback on AC2D versus Direct2D.
In general, AC2D has been fairly stable on other platforms, so it would be
nice to gradually move towards using AC2D on Windows as well so that we
are using one consistent acceleration solution.
This experiment is the first step towards that end.
Differential Revision: https://phabricator.services.mozilla.com/D217851
For some reason this test only leaves windows open in release, esr, beta, or beta simulation builds.
The form submit opens the test file in a new window, which repeats the same thing.
It causes a problem later because the crashtest window is totally covered and the test image/test/crashtests/1629490-1.html tries to do a requestAnimationFrame which doesn't get run because we aren't ticking the covered window.
Differential Revision: https://phabricator.services.mozilla.com/D217562
Combining with screenWidth/Height, we'll be able to get the max width/height in CSS pixel to make informed UI decisions and also get a rough idea for display density. (Rough because neither dpi or css scale factor are for physical display density but follow the system setting, although it's rare enough to change those from the default system value.)
Differential Revision: https://phabricator.services.mozilla.com/D216457
Combining with screenWidth/Height, we'll be able to get the max width/height in CSS pixel to make informed UI decisions and also get a rough idea for display density. (Rough because neither dpi or css scale factor are for physical display density but follow the system setting, although it's rare enough to change those from the default system value.)
Differential Revision: https://phabricator.services.mozilla.com/D216457
This patch adds a test for `ConvertYCbCrToRGB32` to verify that the R,
G, B, and X/A values are consistent between its BGR* and RGB* outputs.
Differential Revision: https://phabricator.services.mozilla.com/D215821
Created a new metafunction, FloatType, which will prevent truncation of the
decimal portion of the Length method result. Added GTest unit tests, and converted
old unit tests in gfx/2d/unittest/TestPoint.cpp to gtests.
Differential Revision: https://phabricator.services.mozilla.com/D208306
Remote canvas can run in the GPU process, and if the GPU process
crashes, we need to notify the application using canvas. Historically we
just failed, and the application may have been able to continue drawing
but with the contents prior to the crash lost. Later we regressed to
prevent the canvas from being used at all.
This patch makes it so that we can restore functionality to any
application that supports the contextlost/contextrestored events. This
will allow for a theoretical complete graceful recovery for the user
with minimal disruption.
Differential Revision: https://phabricator.services.mozilla.com/D205608
Remote canvas can run in the GPU process, and if the GPU process
crashes, we need to notify the application using canvas. Historically we
just failed, and the application may have been able to continue drawing
but with the contents prior to the crash lost. Later we regressed to
prevent the canvas from being used at all.
This patch makes it so that we can restore functionality to any
application that supports the contextlost/contextrestored events. This
will allow for a theoretical complete graceful recovery for the user
with minimal disruption.
Differential Revision: https://phabricator.services.mozilla.com/D205608
Follow-up of bug 1795630 for some crashtests that were not in `mathml`
directories. The list was extracted in a subjective way from [1] by
looking at some tests that seem to contain essentially MathML with
some simple HTML or CSS. The changes to `crashtest.list` files have
been generated by [2].
[1] https://searchfox.org/mozilla-central/search?q=%3Cmath%7Cmathml&path=crashtest&case=true®exp=true
[2] `for file in $(^Ct ~/list-of-tests.txt); do D=$(dirname $file); F=$(filename $file); sed -i "/$F/d" $D/crashtests.list; done`
Differential Revision: https://phabricator.services.mozilla.com/D203614