OSDN Git Service

SurfaceView: Wait to gather transparent region.
authorRobert Carr <racarr@google.com>
Mon, 22 May 2017 21:57:48 +0000 (14:57 -0700)
committerRob Carr <racarr@google.com>
Tue, 23 May 2017 02:53:11 +0000 (02:53 +0000)
commit3ca12be7963b0d018bade286bf4d14cf9938bd6a
tree838082c9445639d605da89c0bb99636fc8f75f97
parent387b97e68b0020da1bd69567e9e8799ca98a19c5
SurfaceView: Wait to gather transparent region.

With the introduction of surfaceRedrawNeededAsync we may
be asked to gather the transparent region ahead of the SurfaceView
having been drawn.

Bug: 38324871
Test: Launch Chrome Canary a lot! No Flickers.
Change-Id: I35f09a1bb8316895fa704b10c912e64a8920bd90
core/java/android/view/SurfaceView.java