Skip to content

Use software snapshot capture unless featureflag (#56684)#56684

Open
zeyap wants to merge 1 commit intofacebook:mainfrom
zeyap:export-D103718490
Open

Use software snapshot capture unless featureflag (#56684)#56684
zeyap wants to merge 1 commit intofacebook:mainfrom
zeyap:export-D103718490

Conversation

@zeyap
Copy link
Copy Markdown
Contributor

@zeyap zeyap commented May 5, 2026

Summary:

Changelog:

[Android] [Added] - Use software snapshot capture unless featureflag

Use software rendering (View.draw()) for view transition snapshots by default instead of PixelCopy. PixelCopy captures from the window surface, which includes content from overlapping views, popup layers, and hardware compositor surfaces that may visually obstruct the target view. Software rendering draws the view's subtree in isolation to an offscreen canvas, producing a snapshot of exactly the target view's content without interference from other views in the hierarchy.

Reviewed By: christophpurrer

Differential Revision: D103718490

@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 May 5, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented May 5, 2026

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

@facebook-github-tools facebook-github-tools Bot added p: Facebook Partner: Facebook Partner labels May 5, 2026
@meta-codesync meta-codesync Bot changed the title Use software snapshot capture unless featureflag Use software snapshot capture unless featureflag (#56684) May 5, 2026
zeyap added a commit to zeyap/react-native that referenced this pull request May 5, 2026
Summary:

## Changelog:

[Android] [Added] - Use software snapshot capture unless featureflag

Use software rendering (View.draw()) for view transition snapshots by default instead of PixelCopy. PixelCopy captures from the window surface, which includes content from overlapping views, popup layers, and hardware compositor surfaces that may visually obstruct the target view. Software rendering draws the view's subtree in isolation to an offscreen canvas, producing a snapshot of exactly the target view's content without interference from other views in the hierarchy.

Reviewed By: christophpurrer

Differential Revision: D103718490
@zeyap zeyap force-pushed the export-D103718490 branch from bc97dc3 to 3ff1b11 Compare May 5, 2026 13:58
zeyap added a commit to zeyap/react-native that referenced this pull request May 5, 2026
Summary:

## Changelog:

[Android] [Added] - Use software snapshot capture unless featureflag

Use software rendering (View.draw()) for view transition snapshots by default instead of PixelCopy. PixelCopy captures from the window surface, which includes content from overlapping views, popup layers, and hardware compositor surfaces that may visually obstruct the target view. Software rendering draws the view's subtree in isolation to an offscreen canvas, producing a snapshot of exactly the target view's content without interference from other views in the hierarchy.

Reviewed By: christophpurrer

Differential Revision: D103718490
@zeyap zeyap force-pushed the export-D103718490 branch 2 times, most recently from 93793a7 to e1be2db Compare May 5, 2026 18:25
zeyap added a commit to zeyap/react-native that referenced this pull request May 5, 2026
Summary:

## Changelog:

[Android] [Added] - Use software snapshot capture unless featureflag

Use software rendering (View.draw()) for view transition snapshots by default instead of PixelCopy. PixelCopy captures from the window surface, which includes content from overlapping views, popup layers, and hardware compositor surfaces that may visually obstruct the target view. Software rendering draws the view's subtree in isolation to an offscreen canvas, producing a snapshot of exactly the target view's content without interference from other views in the hierarchy.

Reviewed By: christophpurrer

Differential Revision: D103718490
Summary:

## Changelog:

[Android] [Added] - Use software snapshot capture unless featureflag

Use software rendering (View.draw()) for view transition snapshots by default instead of PixelCopy. PixelCopy captures from the window surface, which includes content from overlapping views, popup layers, and hardware compositor surfaces that may visually obstruct the target view. Software rendering draws the view's subtree in isolation to an offscreen canvas, producing a snapshot of exactly the target view's content without interference from other views in the hierarchy.

Reviewed By: christophpurrer

Differential Revision: D103718490
@zeyap zeyap force-pushed the export-D103718490 branch from e1be2db to 464c0ab Compare May 6, 2026 13:34
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.

1 participant