Bug 254118 - [UI-side compositing] A no-op rendering update still triggers a WindowServer update
Summary: [UI-side compositing] A no-op rendering update still triggers a WindowServer ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Process Model (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-18 11:40 PDT by Simon Fraser (smfr)
Modified: 2023-03-18 16:56 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2023-03-18 11:40:05 PDT
A page that runs requestAnimationFrame() which doesn't trigger any rendering will still trigger UI-process CA commits, and thus WindowServer updates. This is a power drain.
Comment 1 Simon Fraser (smfr) 2023-03-18 11:40:15 PDT
<rdar://106790532>
Comment 2 Simon Fraser (smfr) 2023-03-18 11:45:29 PDT
Pull request: https://github.com/WebKit/WebKit/pull/11684
Comment 3 EWS 2023-03-18 16:56:27 PDT
Committed 261831@main (ffac46f94d52): <https://commits.webkit.org/261831@main>

Reviewed commits have been landed. Closing PR #11684 and removing active labels.