commit | 39801c08d2285506e822bb428f53212a84993df1 | [log] [tgz] |
---|---|---|
author | Alec Mouri <alecmouri@google.com> | Wed Oct 10 10:44:47 2018 -0700 |
committer | Alec Mouri <alecmouri@google.com> | Sun Oct 14 02:32:18 2018 -0700 |
tree | 2ae6ef49efbe6fef32aef2926ef366df08d4c1e4 | |
parent | 304007e24cab8b0ab0b6915bc2a065f3c93a3d19 [diff] |
Move image creation out of latchBuffer(). GLImage creation isn't necessary until an external texture needs to be bound. This also removes the BufferLayerConsumer::Image class, as it's not really necessary now that image creation is deferred until the external texture needs to be bound. Bug: 116277151 Change-Id: Id9420941e9cf7df11233b427c7a98a947f9738d8 Test: SurfaceFlinger_test, libsurfaceflinger_unittest, go/wm-smoke