OSDN Git Service

Invalidate display lists immediately when views are removed/added quickly
authorRomain Guy <romainguy@google.com>
Tue, 8 May 2012 21:43:12 +0000 (14:43 -0700)
committerRomain Guy <romainguy@google.com>
Tue, 8 May 2012 21:46:26 +0000 (14:46 -0700)
commit2a0f228a30c85a124f92a5a7c1b10a81cf69af6d
tree43068459e3e3344ee6319afea626871e3b49b810
parentc2182c67d65619041956849c346d67e77010ab7e
Invalidate display lists immediately when views are removed/added quickly

The deferred invalidation of display list could cause problems with
view like TextureView who destroy resources when detached from the
window but only recreate them later at draw time. This would cause
temporary flashes or other visual glitches on screen.

Change-Id: I018488ba09743df21c6434ea610813014fb80a85
core/java/android/view/View.java
core/java/android/view/ViewRootImpl.java