SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 151 C++

Use software snapshot capture unless featureflag (#56684)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56684

## 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

fbshipit-source-id: cd2b3bebd00ea071d37ca0291050f1b510e6d49c
Z
Zeya Peng committed
ba204faa75ab89150396f7ad69e755187ec47a58
Parent: dd03f88
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com> on 5/7/2026, 2:22:44 AM