Mesa (master): egl/android: don't pass loaderPriv in get_front_bo

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Dec 15 06:22:18 UTC 2020


Module: Mesa
Branch: master
Commit: 80a028d830e2198a839e346b3b845999680c92e6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=80a028d830e2198a839e346b3b845999680c92e6

Author: David Stevens <stevensd at chromium.org>
Date:   Thu Nov 26 18:29:31 2020 +0900

egl/android: don't pass loaderPriv in get_front_bo

This is a noop, as no loader extensions pass a __DRIimage's
loader_private data back to the loader.

Signed-off-by: David Stevens <stevensd at chromium.org>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7805>

---

 src/egl/drivers/dri2/platform_android.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c
index 8c52a4ac44e..070030ad395 100644
--- a/src/egl/drivers/dri2/platform_android.c
+++ b/src/egl/drivers/dri2/platform_android.c
@@ -769,7 +769,7 @@ get_front_bo(struct dri2_egl_surface *dri2_surf, unsigned int format)
                                               dri2_surf->base.Height,
                                               format,
                                               0,
-                                              dri2_surf);
+                                              NULL);
       if (!dri2_surf->dri_image_front) {
          _eglLog(_EGL_WARNING, "dri2_image_front allocation failed");
          return -1;



More information about the mesa-commit mailing list