summaryrefslogtreecommitdiff
path: root/opengl/libagl/TextureObjectManager.cpp
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2018-04-24 12:30:47 -0700
committer Robert Carr <racarr@google.com> 2018-04-24 13:01:20 -0700
commit94c7d3d948beff287eed53e6d841e29e05cad8b3 (patch)
treedfbb9f592e1dfacf1b5a1d92e557d720f7b0d1c9 /opengl/libagl/TextureObjectManager.cpp
parentd3898410e25f484e30e4ffc5a0fa33018189b19d (diff)
SurfaceFlinger: Only update client parent if set.
We use the idea of client with parents to allow applications to access SurfaceFlinger as long as they have an original "root" Surface granted to them from the WindowManager. Sometimes the WindowManager may reparent these child surfaces to a new surface, and so we need to update which Surface is providing this grant. However, if a client never had a root surface and is instead relying on ACCESS_SURFACE_FLINGER, e.g. the WindowManager we need to not reparent or we may end up making the client invalid when the Surface dies when we never intended to. Bug: 78301580 Bug: 62536731 Test: Manual repro of b/78301580 Change-Id: Ib18cfe86e1cec3da7808fcd01e2b7ce02bebff6d
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions