Bug 1773712 - Enable accelerated Canvas2D on macOS nightly. r=jrmuizel

Differential Revision: https://phabricator.services.mozilla.com/D148917
This commit is contained in:
Lee Salzman 2022-08-03 15:16:28 +00:00
Родитель f2cae02cbc
Коммит 6e50eec03b
11 изменённых файлов: 33 добавлений и 6 удалений

Просмотреть файл

@ -779,7 +779,7 @@ skip-if = (android_version == '25' && debug) # android(bug 1232305)
[test_capture_stream_av_sync.html]
skip-if =
toolkit == 'android' # 1712598 (canvas error)
(verify && os == 'mac') # 1517199 (timeout-on-osx)
(os == 'mac') # 1517199 (timeout-on-osx)
(os == "linux") # 1713397, 1719881 (high intermittent failure on linux tsan), 1776937
apple_silicon # Disabled due to bleedover with other tests when run in regular suites; passes in "failures" jobs
[test_chaining.html]

Просмотреть файл

@ -104,9 +104,9 @@ fuzzy(0-1,0-43) == 1201272-1.html 1201272-1-ref.html
== 1238795-1.html 1238795-1-ref.html
== 1303534-1.html 1303534-1-ref.html
== 1304353-text-global-alpha-1.html 1304353-text-global-alpha-1-ref.html
fuzzy-if(cocoaWidget,0-1,0-1410) == 1304353-text-global-alpha-1.html 1304353-text-global-alpha-1-ref.html
fuzzy-if(winWidget,0-1,0-578) == 1304353-text-global-alpha-2.html 1304353-text-global-alpha-2-ref.html
fuzzy-if(winWidget,0-94,0-1575) fuzzy-if(cocoaWidget,0-1,0-24) == 1304353-text-global-composite-op-1.html 1304353-text-global-composite-op-1-ref.html
fuzzy-if(winWidget,0-94,0-1575) fuzzy-if(cocoaWidget,0-1,0-34) == 1304353-text-global-composite-op-1.html 1304353-text-global-composite-op-1-ref.html
== text-indent-1a.html text-indent-1-ref.html
== text-indent-1b.html text-indent-1-ref.html

Просмотреть файл

@ -5302,8 +5302,8 @@
- name: gfx.canvas.accelerated
type: RelaxedAtomicBool
#if defined(XP_LINUX) && !defined(ANDROID) && defined(NIGHTLY_BUILD)
value: true
#if defined(XP_MACOSX) || defined(XP_LINUX) && !defined(ANDROID)
value: @IS_NIGHTLY_BUILD@
#else
value: false
#endif

Просмотреть файл

@ -1,3 +1,5 @@
[column-balancing-paged-001-print.html]
fuzzy:
if os == "mac": maxDifference=0-2;totalPixels=0-438
expected:
if (os == "mac") and not debug: [PASS, FAIL]

Просмотреть файл

@ -2,3 +2,5 @@
expected:
if (os == "win") and not debug: ["PASS", "FAIL", "TIMEOUT"]
if (os == "mac") and not debug: ["PASS", "FAIL"]
fuzzy:
if (os == "mac") and debug: maxDifference=0-1;totalPixels=0-2

Просмотреть файл

@ -2,15 +2,19 @@
[addPath({b: 2})]
expected:
if (os == "linux") and (processor == "x86_64") and nightly_build: FAIL
if (os == "mac") and nightly_build: FAIL
[addPath({c: 2})]
expected:
if (os == "linux") and (processor == "x86_64") and nightly_build: FAIL
if (os == "mac") and nightly_build: FAIL
[addPath({m12: 2})]
expected:
if (os == "linux") and (processor == "x86_64") and nightly_build: FAIL
if (os == "mac") and nightly_build: FAIL
[addPath({m21: 2})]
expected:
if (os == "linux") and (processor == "x86_64") and nightly_build: FAIL
if (os == "mac") and nightly_build: FAIL

Просмотреть файл

@ -2,6 +2,7 @@
expected:
if os == "win": PASS
if (os == "linux") and nightly_build: PASS
if (os == "mac") and nightly_build: PASS
if swgl: PASS
FAIL
fuzzy:

Просмотреть файл

@ -0,0 +1,4 @@
[2d.text.draw.generic.family.html]
[Test that drawing fantasy produces the same result between canvas and OffscreenCanvas]
expected:
if (os == "mac") and nightly_build: FAIL

Просмотреть файл

@ -0,0 +1,11 @@
[2d.text.draw.generic.family.w.html]
expected:
if (os == "mac") and nightly_build: ERROR
[Test that drawing serif produces the same result between canvas and OffscreenCanvas in a Worker]
expected:
if (os == "mac") and nightly_build: TIMEOUT
[Test that drawing fantasy produces the same result between canvas and OffscreenCanvas in a Worker]
expected:
if (os == "mac") and nightly_build: TIMEOUT

Просмотреть файл

@ -1,2 +1,2 @@
[table-background-print.html]
fuzzy: maxDifference=0-133;totalPixels=0-321
fuzzy: maxDifference=0-138;totalPixels=0-647

Просмотреть файл

@ -0,0 +1,3 @@
[input-date-baseline-print.html]
fuzzy:
if os == "mac": maxDifference=0-1;totalPixels=0-1