diff options
author | Lepton Wu <[email protected]> | 2019-09-17 13:49:17 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2019-10-21 08:59:25 -0700 |
commit | 35b900310b244639108b06d25c1b39aed057d24c (patch) | |
tree | d5d5be474b18369ec196c9e582d3b136cedd8cee /.editorconfig | |
parent | cb0215a6fbe342bd0f479e712bf4b53c1c578c1d (diff) |
egl/android: Remove our own reference to buffers.
We currently doesn't maintain it correctly and the buffer gets leaked if
surface is destroyed before calling swapping buffers.
From Android frameworks/native/libs/nativewindow/include/system/window.h:
The window holds a reference to the buffer between dequeueBuffer and
either queueBuffer or cancelBuffer, so clients only need their own
reference if they might use the buffer after queueing or canceling it.
v2: Remove our own reference.
Fixes: 0212db35040 ("egl/android: Cancel any outstanding ANativeBuffer in surface destructor")
Reviewed-by: Chia-I Wu <[email protected]> (v1)
Reviewed-By: Tapani Pälli <[email protected]>
Signed-off-by: Lepton Wu <[email protected]>
(cherry picked from commit f4ba31ff504489b7195c83fa8703ba091406d808)
Diffstat (limited to '.editorconfig')
0 files changed, 0 insertions, 0 deletions