summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2017-03-20 21:57:23 -0700
committer Robert Carr <racarr@google.com> 2017-03-20 21:57:23 -0700
commit3bc95b5b712c44c687ef04156b63c70c930f69f2 (patch)
treed8682b9f16adc993994df907c1fb4dd24df76184 /libs/hwui/ProgramCache.cpp
parent44ab5750929fe70da87ea82f0f914845f8141e08 (diff)
SurfaceView: Fix Surface leak when changing format.
We simply weren't destroying the old Surface (though the finalizer would have eventually caught it). As we destroy it we need to use a Window preservation scheme similar to what the WindowManager provided. Bug: 36447956 Test: Manual Change-Id: I8b4210eb76cec364522cc0a40014517e42ebbe68
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions