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)
committerandroid-build-team Robot <android-build-team-robot@google.com>
Tue, 23 May 2017 20:38:51 +0000 (20:38 +0000)
commitfabd947498a028e9c2fd0d47578309b9e40fd585
tree842477d910cbfbae97979d788175b03779bf75a2
parenta882b1ddbbf6138283bf7f9823b4d65fee38495b
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
(cherry picked from commit 3ca12be7963b0d018bade286bf4d14cf9938bd6a)
core/java/android/view/SurfaceView.java