Skip to content

egl/android: fix cached buffer slots and cleanup ANativeWindow api usage

Yiwei Zhang requested to merge zzyiwei/mesa:egl-android-fix into main

1st commit fixed a bug around implementation's buffer caching slots

2nd commit cleans up the ANativeWindow api violations

Test: No longer sees OpenGLRenderer: HOOK FAILED! Expected 4 got = 3 logged from HWUI, and checks buffer slots increase to 4 successfully upon render ahead.

/cc @anholt @robclark @chadversary @olv

Merge request reports