commit | f63fdf8680b4f17b815a4173924c063983abfdf2 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Thu Jun 27 10:58:10 2013 -0700 |
committer | The Android Automerger <android-build@android.com> | Fri Jun 28 14:36:58 2013 -0700 |
tree | d5f8bb9cf68fbdfd78d36fe96e6d292e5ab29ed7 | |
parent | 46bb6d6cb7ee4002fe6c306a1f027d536272f617 [diff] |
Recreate TextureView's display list on attach Bug #9425270 When a TextureView is detached from its window and immediately re-attached, the display list is not destroyed but reused as is. TextureView will however destroy the layer and surface texture reference by the display list. The solution is to force TextureView to invalidate its display list on re-attach if it previously had a surface/layer pair. Change-Id: I475096ffa7e5709155c4c943bf1bfaaaedbd4a1d