commit | 892760008f7c774b3556b1863c6228f3d55d4246 | [log] [tgz] |
---|---|---|
author | Zhang Dongsheng <dongsheng.zhang@intel.com> | Thu Jan 21 15:12:18 2016 +0800 |
committer | Zhiquan Liu <zhiquan.liu@intel.com> | Tue Feb 02 10:39:49 2016 +0800 |
tree | 03c2d762b71060613a75dc7aefd14cb0d1f6c79d | |
parent | c71c44a524e3b5f1f6a9864a0f03b20acd153a6d [diff] |
libhwui: handle eglSwapBuffers with EGL_BAD_NATIVE_WINDOW error case If eglSwapBuffers is called but the under surface was destroyed, the EGL_BAD_NATIVE_WINDOW error may also be generated according to the EGL spec 1.4. This really shouldn't happen from the upper, but add the graceful handling of this case also. Change-Id: Ic0a599808b72f401d2a01c3dc40f9e6ea0e0a564 Signed-off-by: Zhang Dongsheng <dongsheng.zhang@intel.com> Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>