Clean up Renderengine caching semantics
* Add unbindExternalTextureBuffer, so that callers such as BufferLayerConsumer can help manage the cache directly, which improves system utilization. * Remove the CacheHint, as it's no longer needed. * Remove the backing image cache in BufferLayerConsumer, as it has not been used. We still need a shadow array to properly callback into RenderEngine, but we no longer need to store EGLImages here. Bug: 123107664 Test: systrace Test: open and close apps with GL composition forced, check for buffer leakage through dumpsys Change-Id: Ie48f99868dd46a4e18b5d659eea520e97a9eb300
Loading
Please register or sign in to comment