summaryrefslogtreecommitdiff
path: root/opengl/libagl/texture.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2009-04-22 15:23:34 -0700
committer Mathias Agopian <mathias@google.com> 2009-04-24 16:30:38 -0700
commit0aa758d64ac530833ce9a311b164c9175a7a054c (patch)
treedffe53978839a5d7cf270d88a94f4c3b084a37fa /opengl/libagl/texture.cpp
parentf1d8e87b09abf963cd5b6a026194c1940fadb7b4 (diff)
Surfaces are now destroyed properly in SurfaceFlinger.
First, the window manager tells us when a surface is no longer needed. At this point, several things happen: - the surface is removed from the active/visible list - it is added to a purgatory list, where it waits for all clients to release their reference - it destroys all data/state that can be spared Later, when all clients are done, the remains of the Surface are disposed off: it is removed from the purgatory and destroyed. In particular its gralloc buffers are destroyed at that point (when we're sure nobody is using them anymore).
Diffstat (limited to 'opengl/libagl/texture.cpp')
0 files changed, 0 insertions, 0 deletions