OSDN Git Service

Fix destroyHardwareResources
authorJohn Reck <jreck@google.com>
Mon, 7 Jul 2014 23:30:41 +0000 (16:30 -0700)
committerJohn Reck <jreck@google.com>
Mon, 7 Jul 2014 23:37:40 +0000 (23:37 +0000)
commitec0c92548071801c81e02ca72b9864739e1c080c
tree829bbba8e3351d5cce26e477111fa424549c2431
parenteb2263dd72ed40b47337fcd12189a4f268584b8b
Fix destroyHardwareResources

 The UI thread needs to know whether or not the display list is
 valid, so bring back View.destroyHardwareResources and instead
 have the native side assert that View did the right thing

Change-Id: I4f8dee6e9c13ec7ab520becdc5cfe20e92a76f8f
core/java/android/view/ThreadedRenderer.java
core/java/android/view/View.java
libs/hwui/RenderNode.cpp