WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
287411
[HDR] Scan the layer backing for HDR contents
https://bugs.webkit.org/show_bug.cgi?id=287411
Summary
[HDR] Scan the layer backing for HDR contents
Said Abou-Hallawa
Reported
2025-02-10 08:41:01 PST
This work is towards creating HDR layers only when needed. See
bug 282298
. When the render sub-tree of a layer is scanned for painted contents, we can check for the HDR contents also. PaintedContentRequest will have a new RequestState named `hasPaintedHDRContent`. PaintedContentsInfo will have a new RequestState named `m_hdrContent`. PaintedContentsInfo::determinePaintsContent() will determine the paintedContent and the paintsHDRContent in one traversal by calling RenderLayerBacking::determinePaintsContent(). When this function returns, `hasPaintedHDRContent` will be copied to `m_hdrContent`. In future patches, a new method RenderLayerBacking::updateDrawsHDRContent() will be added. It will force calling PaintedContentsInfo::determinePaintsContent() if it was not called before and it will update the ContentsFormat of its `m_graphicsLayer`.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-02-10 08:41:28 PST
<
rdar://problem/144534518
>
Said Abou-Hallawa
Comment 2
2025-02-10 09:00:42 PST
Pull request:
https://github.com/WebKit/WebKit/pull/40360
EWS
Comment 3
2025-02-12 09:47:13 PST
Committed
290274@main
(0acfecd15ef3): <
https://commits.webkit.org/290274@main
> Reviewed commits have been landed. Closing PR #40360 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug