Skip to content
Commit 89276000 authored by Zhang Dongsheng's avatar Zhang Dongsheng Committed by Zhiquan Liu
Browse files

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: default avatarZhang Dongsheng <dongsheng.zhang@intel.com>
Signed-off-by: default avatarZhiquan Liu <zhiquan.liu@intel.com>
parent c71c44a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment