Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed ART Surface initialization: do not cancel updates to the surfce…
…, make them pen… Summary: My PR was pulled into RN 0.37 (d294e15). Since then an issue was discovered: ARTSurface skipped drawing the first render cycle if native TextureView takes too long. In case a static graphic is rendered in a single render cycle, it may be skipped resulting in an empty canvas being displayed. A solution proposed in this PR: instead of skipping updates, make them pending and flush once the TextureView is ready. This solution is released within our production app. It fixed ArtSurface initialisation issues cased by original PR to RN 0.37. Closes #11539 Differential Revision: D4449255 Pulled By: shergin fbshipit-source-id: a517909ca5c78c09a3ac8d9052664b92841b4e08
- Loading branch information