summaryrefslogtreecommitdiffstats
path: root/src/amd/common
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2017-05-04 17:46:33 -0700
committerChad Versace <[email protected]>2017-05-04 17:46:33 -0700
commit0212db350407e1331ff23f04136684cf2b7396cf (patch)
treea911ca95caf7f4f8ee823f19d2bf8807623f2a41 /src/amd/common
parent23c86c74cc450a23848b85cfe914376caede1cdf (diff)
egl/android: Cancel any outstanding ANativeBuffer in surface destructor
That is, call ANativeWindow::cancelBuffer in droid_destroy_surface(). This should prevent application deadlock when the app destroys the EGLSurface after EGL has acquired a buffer from SurfaceFlinger (ANativeWindow::dequeueBuffer) but before EGL has released it (ANativeWindow::enqueueBuffer). This patch is part of a series for fixing android.hardware.camera2.cts.RobustnessTest#testAbandonRepeatingRequestSurface on Chrome OS x86 devices. Cc: [email protected] Cc: Tomasz Figa <[email protected]> Cc: Tapani Pälli <[email protected]> Reviewed-by: Nicolas Boichat <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/amd/common')
0 files changed, 0 insertions, 0 deletions