commit | 717a25dc2a411edb548859cd6870363346c71b01 | [log] [tgz] |
---|---|---|
author | Dianne Hackborn <hackbod@google.com> | Tue Nov 15 18:59:59 2011 -0800 |
committer | Dianne Hackborn <hackbod@google.com> | Wed Nov 16 14:04:53 2011 -0800 |
tree | 69bbc13b92fbef8dd34df6473897d812cea0b4eb | |
parent | 4c6a65bc319feab120d40553d93b160908db2f6d [diff] |
Add new ManagedEGLContext class to help apps participate in memory trimming. This class provides an API for an application to know when it is time to destroy its EGL context when memory is being trimmed. By having this in the framework, we can still detect whether it will be useful to destroy any EGL contexts (because we know if doing so will destroy all of them). Change-Id: I1eac8d640052778052926b875c7928008f752182