Closed Bug 1676495 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 26475 - Improve will-change:transform raster scale adjustment

Categories

(Core :: Web Painting, task, P4)

task

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 26475 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/26475
Details from upstream follow.

b'Xianzhu Wang <wangxianzhu@chromium.org>' wrote:

Improve will-change:transform raster scale adjustment

This fixes the issue of too big scale for will-change:transform layers
by

  • Partly reverting crrev.com/c/2447650 to apply the change on tiny
    scales only. When the ideal scale is not tiny, use the original policy
    to clamp minimum scale to the native scale.
  • Increasing kMinScaleRatioForWillChangeTransform from 0.1 to 0.25 to
    reduce memory and number of tiles when the scale is bigger than ideal,
    from 100x to 16x in worst cases.

Bug: 1146393
Change-Id: Ida5720f5126648c2fad0b9921781714fa006d346
Reviewed-on: https://chromium-review.googlesource.com/2527733
WPT-Export-Revision: 1b8b05d2afc6470327aa6cc65dffbce1e4f41ad9

Component: web-platform-tests → Web Painting
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests

Status Summary

Firefox

PASS: 2

Chrome

PASS: 1
FAIL: 1

Safari

PASS: 2

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ed0612eb5b0b [wpt PR 26475] - Improve will-change:transform raster scale adjustment, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in before you can comment on or make changes to this bug.