commit | 947d34ecad84bdaf496748eeb9f6e35b33deb339 | [log] [tgz] |
---|---|---|
author | Marissa Wall <marissaw@google.com> | Fri Mar 29 14:03:53 2019 -0700 |
committer | Valerie Hau <vhau@google.com> | Tue Apr 16 15:39:28 2019 -0700 |
tree | 29f668d1d193b97ab93d74b0d4cdc7b0bd239c3f | |
parent | 1688f5246f156e815bd7b07ba7d5c39cc821e8d6 [diff] |
Change slot generation for BufferState BufferState layers now do slot generation with buffer death considered appropriately. When a buffer dies, the slot will be pushed onto a stack of available slots to be reused at the next opportunity. This should mimic BufferQueue slot behavior and prevent Composer Resources from growing too large. Test: build, boot, manual Bug: 129351223 Change-Id: Icef9592593cacb0b5c6b12f6679fc2c4dabdcd19