summaryrefslogtreecommitdiff
path: root/wifi/java
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2016-01-26 00:18:42 -0800
committerRob Carr <racarr@google.com>2016-01-26 18:26:46 +0000
commitd4393b28978e45f67ace6530338c01ef647fada6 (patch)
treef00365740f4181a05b9dfcd89517e3006e6050cf /wifi/java
parent12eef9f18ad752847d4856f1d7841b3e0d329b48 (diff)
Fix reentrant deadlock in GLSurfaceView.
It is possible for clients to call SurfaceView methods e.g. setFormat from the GLSurfaceView#Renderer drawFrame callback. In this case, SurfaceView#updatewindow will understand that a redraw is required, and will request it back to GLSurfaceView. Remember, we are still on the GLThread though (from the drawFrame callback). So these methods (requestRenderAndWait, windowSizeChanged), need to be reentrant. Also fix a data race around mWantRenderNotification, which was accessed out of lock. Bug: 26770615 Change-Id: Ic66a36c886ae0b085dd456a4220f0d4f270fb016
Diffstat (limited to 'wifi/java')
0 files changed, 0 insertions, 0 deletions