commit | 02d86567d95b99e1142941ed7ec23a4465822813 | [log] [tgz] |
---|---|---|
author | Jesse Hall <jessehall@google.com> | Mon Mar 25 14:43:23 2013 -0700 |
committer | Jesse Hall <jessehall@google.com> | Wed Mar 27 14:58:09 2013 -0700 |
tree | 70c664e137836fb8bbf22391fa2787d8c44a9393 | |
parent | 5a557a61d6a5cd2d82dcd961b1d72b5621eb014d [diff] |
Clean up HWC state when releasing a DisplayDevice DisplayDevices can be released when DisplayManager removes them from the display list, or (for virtual displays) when the surface is set to NULL. We were only cleaning up HWC resources associated with the display in the first case. Bug: 8384764 Change-Id: Id3d226dd7178fbe6d0a2ac4e2660b864ee073de3