Skip to content

Fix FrameTimingsObverver to initiate PixelCopy on main thread#55744

Open
huntie wants to merge 3 commits intofacebook:mainfrom
huntie:export-D94368259
Open

Fix FrameTimingsObverver to initiate PixelCopy on main thread#55744
huntie wants to merge 3 commits intofacebook:mainfrom
huntie:export-D94368259

Conversation

@huntie
Copy link
Member

@huntie huntie commented Feb 25, 2026

Summary:
Previously, screenshot capture was initiated on a background thread, so PixelCopy could run during a later frame than the one being reported. Screenshots now correctly correspond to their frame metrics callback.

Changelog: [Internal]

Differential Revision: D94368259

Summary:
Small refactor — locate public methods first, sort private methods in call order.

Changelog: [Internal]

Differential Revision: D94366535
…facebook#55731)

Summary:

Changelog: [Internal]

Differential Revision: D94256691
Summary:
Previously, screenshot capture was initiated on a background thread, so `PixelCopy` could run during a later frame than the one being reported. Screenshots now correctly correspond to their frame metrics callback.

Changelog: [Internal]

Differential Revision: D94368259
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 25, 2026
@meta-codesync
Copy link

meta-codesync bot commented Feb 25, 2026

@huntie has exported this pull request. If you are a Meta employee, you can view the originating Diff in D94368259.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants