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
..
2016-10-14 08:13:55 -07:00
2016-11-07 20:43:37 -08:00
2016-11-04 05:43:44 -07:00
2016-10-11 10:14:28 -07:00
2016-11-04 05:43:44 -07:00
2016-10-12 19:28:42 -07:00
2016-11-04 05:43:44 -07:00
2016-11-04 05:43:44 -07:00
2016-11-02 12:29:15 -07:00
2016-08-09 06:43:46 -07:00
2016-11-04 18:43:42 -07:00
2016-11-08 12:43:48 -08:00
2016-11-04 05:43:44 -07:00
2016-11-04 05:43:44 -07:00
2016-11-08 12:43:48 -08:00
2016-11-08 12:43:48 -08:00
2016-07-25 03:43:29 -07:00
2016-08-09 06:43:46 -07:00
2016-11-04 05:43:44 -07:00
2016-08-12 07:28:38 -07:00