diff options
author | Robert Carr <racarr@google.com> | 2019-01-25 14:30:52 -0800 |
---|---|---|
committer | Rob Carr <racarr@google.com> | 2019-01-29 23:32:20 +0000 |
commit | d5686729f15bb64c98e7079bb9b1703f4afea4cf (patch) | |
tree | c65cd5f08f15ea991fd48c1c03eb4e6ff4f647b5 /libs/hwui/renderthread/RenderThread.cpp | |
parent | 895ce08d6bdb167816f68dce0660295df80437a0 (diff) |
Prevent reallocation of Surface object in copyFrom
Previously when we sent the Surface to the client (as opposed to
the SurfaceControl) Surface::readFromParcel would take care of reusing
the object if the underlying IGBP had not changed. Now that we send
the SC and copy it in to the Surface, we need to add similar logic
in Surface::copyFrom.
Bug: 122588130, 122659537
Test: Manual
Change-Id: Id0c8e61a9aff9b3c37b2a783717c15df3b36f175
Diffstat (limited to 'libs/hwui/renderthread/RenderThread.cpp')
0 files changed, 0 insertions, 0 deletions