Mesa (main): egl/android: refactor to use the legit vndk/window.h header

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jun 9 21:27:13 UTC 2021


Module: Mesa
Branch: main
Commit: 8b7ff78443b0b3843be20928be63944eea540972
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b7ff78443b0b3843be20928be63944eea540972

Author: Yiwei Zhang <zzyiwei at chromium.org>
Date:   Sun Jun  6 19:59:05 2021 +0000

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 at chromium.org>
Reviewed-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11206>

---

 bin/update-android-headers.sh             |    1 -
 include/android_stub/system/window.h      | 1100 -----------------------------
 include/vulkan/vk_android_native_buffer.h |    1 -
 src/android_stub/nativewindow_stub.cpp    |   94 ++-
 src/egl/drivers/dri2/egl_dri2.h           |    2 +-
 src/egl/drivers/dri2/platform_android.c   |   66 +-
 6 files changed, 117 insertions(+), 1147 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=8b7ff78443b0b3843be20928be63944eea540972


More information about the mesa-commit mailing list