react-native/Libraries/CustomComponents
Adam Comella 54beee2616 Android: Reduce overdraw layers by hiding cards when they are not visible
Summary:
Cards which are not visible because another card is occluding them are still being rendered by Android resulting in overdraw. This results in wasted GPU time because some pixels are drawn multiple times. This change reduces overdraw by changing the opacity of occluded cards to 0.

This bug was found using the tools described in Android's overdraw docs: https://developer.android.com/topic/performance/rendering/overdraw.html

**Test plan (required)**

This change is being used in my team's app.

Adam Comella
Microsoft Corp.
Closes https://github.com/facebook/react-native/pull/10908

Differential Revision: D4175758

Pulled By: ericvicenti

fbshipit-source-id: 4bfac7df16d2a7ea67db977659237a9aa6598f87
2016-11-14 08:59:24 -08:00
..
ListView FIx docs for list view: "sticky" header not sticky on android 2016-11-11 22:43:46 -08:00
NavigationExperimental Android: Reduce overdraw layers by hiding cards when they are not visible 2016-11-14 08:59:24 -08:00
Navigator Add a new Navigator SceneConfig swipeFromLeft 2016-11-10 08:13:57 -08:00
LICENSE [ReactNative] Use ASCII double quotes 2015-07-24 13:16:25 -08:00