Bug 223307 - Avoid unnecessary repaints when transforms change
Summary: Avoid unnecessary repaints when transforms change
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-03-16 22:29 PDT by Simon Fraser (smfr)
Modified: 2021-03-17 16:13 PDT (History)
12 users (show)

See Also:


Attachments
Patch (4.15 KB, patch)
2021-03-16 22:32 PDT, Simon Fraser (smfr)
zalan: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2021-03-16 22:29:02 PDT
Avoid unnecessary repaints when transforms change
Comment 1 Simon Fraser (smfr) 2021-03-16 22:32:19 PDT
Created attachment 423436 [details]
Patch
Comment 2 Sam Weinig 2021-03-17 07:39:07 PDT
Comment on attachment 423436 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=423436&action=review

> Source/WebCore/ChangeLog:17
> +        This reduces some repaint calls in the MotionMark leaves test.

This seems like something that would be great to be able to write tests for. Any ideas on how we could make this testable?
Comment 3 Radar WebKit Bug Importer 2021-03-17 13:53:00 PDT
<rdar://problem/75542232>
Comment 4 Simon Fraser (smfr) 2021-03-17 16:13:17 PDT
Landed with a test:
https://trac.webkit.org/changeset/274597/webkit