OSDN Git Service

egl: recover from failed eglMakeCurrent
authorMike Stroyan <stroyan@google.com>
Mon, 8 May 2017 16:47:24 +0000 (10:47 -0600)
committerMike Stroyan <stroyan@google.com>
Mon, 8 May 2017 17:43:28 +0000 (11:43 -0600)
commit02ba5c7387266ace4ee83bb2a31b750e17416f48
tree693cad11cdbd6f8de1990becb73bcc6b04f372f9
parent584bc3cebf3f23d378fc7ed06e71c5d1722373dd
egl: recover from failed eglMakeCurrent

Some drivers don't actually restore current context when
eglMakeCurrent fails.  Restore the current context directly.

Bug: 37244059
Change-Id: I857da78078dd212b523d690415cf525ecd463961
Fixes: 37244059
Test: android.server.cts.ActivityManagerDisplayTests
opengl/libs/EGL/eglApi.cpp