diff options
author | 2019-06-01 18:51:35 -0700 | |
---|---|---|
committer | 2019-06-06 18:57:09 -0700 | |
commit | 1c8d7209992582fcfef020d75c990565dee1c71d (patch) | |
tree | c35ac8eec8c88efeeae0d9835fe02858082e7bb3 /libs/gui/SurfaceControl.cpp | |
parent | 0fafdb81ae408c155607151f27ca51622cdeb089 (diff) |
[SurfaceFlinger] support EGLImage management in BLAST
This mirrors a performance optimization for BufferQueueLayers where
EGLImages were allocated in onFrameAvailable. Here when buffers are
passed over to SurfaceFlinger in a transaction, an EGLImage is also
created for that buffer.
This is critical for reducing jank when operating in higher refresh
rates, as eglCreateImageKHR can take long enough for frames to miss.
Bug: 133627730
Test: systrace of chrome in landscope orientation caches properly
Change-Id: I2022564fbecace7cadd00c89abdcc358d6323315
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions