egl/android: refactor to use the legit vndk/window.h header

Using the system/window.h header can potentially cause AHB breakage
because the system header is reserved for platform internal use.

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11206>
This commit is contained in:
Yiwei Zhang
2021-06-06 19:59:05 +00:00
committed by Marge Bot
parent 1ea949429c
commit 8b7ff78443
6 changed files with 117 additions and 1147 deletions

View File

@@ -18,7 +18,6 @@
/* MESA: A hack to avoid #ifdefs in driver code. */
#ifdef ANDROID
#include <system/window.h>
#include <cutils/native_handle.h>
#include <vulkan/vulkan.h>
#else