summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2017-03-20 21:57:23 -0700
committerRobert Carr <racarr@google.com>2017-03-20 21:57:23 -0700
commit3bc95b5b712c44c687ef04156b63c70c930f69f2 (patch)
treed8682b9f16adc993994df907c1fb4dd24df76184 /opengl/tests/gl_basic/gl_basic.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 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions