Bug 1811978 - Enable the new tiled rendering path, update test expectations r=gfx-reviewers,nical

Differential Revision: https://phabricator.services.mozilla.com/D167630
This commit is contained in:
Glenn Watson 2023-03-02 00:58:44 +00:00
parent a94fc6d9ec
commit 3c1aea8dd2
11 changed files with 4 additions and 17 deletions

View File

@ -190,15 +190,6 @@ fn prepare_prim_for_render(
// and mask generation.
let should_update_clip_task = match prim_instance.kind {
PrimitiveInstanceKind::Rectangle { ref mut use_legacy_path, .. } => {
// In this first patch, ensure that we never take the legacy path so
// that we can land the bulk of the patch without risking back outs.
// The second part of the patch enables the new path and also updates
// the test expectations.
*use_legacy_path = true;
true
/*
if prim_instance.vis.clip_chain.needs_mask {
*use_legacy_path = true;
} else {
@ -206,7 +197,6 @@ fn prepare_prim_for_render(
}
*use_legacy_path
*/
}
_ => true,
};

View File

@ -7,4 +7,4 @@
== backface-both-sides.yaml backface-both-sides-ref.yaml
== backface-vis-3d.yaml blank.yaml
== backface-flatten.yaml blank.yaml
== backface-perspective.yaml backface-perspective-ref.yaml
fuzzy(1,19) == backface-perspective.yaml backface-perspective-ref.yaml

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -47,7 +47,7 @@ skip-if(!asyncPan) == position-fixed-inside-sticky-3.html position-fixed-inside-
skip-if(!asyncPan) == sticky-inside-fixed-1.html sticky-inside-fixed-1-ref.html
skip-if(!asyncPan) == sticky-inside-transform-1.html sticky-inside-transform-1-ref.html
fuzzy(0-1,0-60000) skip-if(!asyncPan) == group-opacity-surface-size-1.html group-opacity-surface-size-1-ref.html
fuzzy(0-9,0-99) skip-if(!asyncPan) == position-sticky-transformed.html position-sticky-transformed-ref.html
fuzzy(0-7,0-300) skip-if(!asyncPan) == position-sticky-transformed.html position-sticky-transformed-ref.html
skip-if(!asyncPan) fuzzy-if(cocoaWidget,0-1,0-396) fuzzy-if(winWidget,0-1,0-396) == offscreen-prerendered-active-opacity.html offscreen-prerendered-active-opacity-ref.html
fuzzy-if(Android,0-43,0-40) fuzzy-if(!Android,0-1,0-34) fuzzy-if(gtkWidget,22-74,20-32) fuzzy-if(cocoaWidget,6-7,18-39) fuzzy-if(swgl&&cocoaWidget&&isDebugBuild,0-7,0-39) skip-if(!asyncPan) == offscreen-clipped-blendmode-1.html offscreen-clipped-blendmode-ref.html # Bug 1604338
fuzzy-if(Android,0-43,0-40) fuzzy-if(gtkWidget,22-74,20-32) fuzzy-if(cocoaWidget,6-7,18-39) fuzzy-if(swgl&&cocoaWidget&&isDebugBuild,0-7,0-39) skip-if(!asyncPan) == offscreen-clipped-blendmode-2.html offscreen-clipped-blendmode-ref.html # Bug 1604338

View File

@ -1764,7 +1764,7 @@ fuzzy(0-1,0-5) == 956513-1.svg 956513-1-ref.svg
fuzzy(0-1,0-80) == 961887-1.html 961887-1-ref.html
== 961887-2.html 961887-2-ref.html
== 961887-3.html 961887-3-ref.html
fuzzy-if(appleSilicon,0-1,0-2) pref(layout.css.overflow-clip-box.enabled,true) pref(layout.forms.reveal-password-button.enabled,false) == 966992-1.html 966992-1-ref.html
fuzzy(0-1,0-2) pref(layout.css.overflow-clip-box.enabled,true) pref(layout.forms.reveal-password-button.enabled,false) == 966992-1.html 966992-1-ref.html
== 966510-1.html 966510-1-ref.html
== 966510-2.html 966510-2-ref.html
fuzzy(0-1,0-123) == 978911-1.svg 978911-1-ref.svg

View File

@ -95,7 +95,7 @@ fuzzy-if(winWidget,0-4,0-51) == transform-geometry-1.html transform-geometry-1-r
== preserves3d-nested-filter-1.html preserves3d-nested-filter-1-ref.html
!= preserve3d-scale.html about:blank
fuzzy(0-52,0-1600) == preserve3d-scale.html preserve3d-scale-ref.html
fuzzy(0-1,0-5) == perspective-overflow-1.html perspective-overflow-1-ref.html
fuzzy(0-50,0-22) == perspective-overflow-1.html perspective-overflow-1-ref.html
== perspective-overflow-2.html perspective-overflow-2-ref.html
== 1544995-1.html 1544995-1-ref.html
== preserve3d-will-change-large-frame.html preserve3d-will-change-ref.html

View File

@ -1,3 +0,0 @@
[clip-path-rotated-will-change-transform.html]
expected:
if (os == "mac") and not swgl: FAIL