egl/dri3: implement query surface hook
authorBrendan King <Brendan.King@imgtec.com>
Fri, 17 Feb 2017 15:12:21 +0000 (15:12 +0000)
committerEric Engestrom <eric.engestrom@imgtec.com>
Tue, 28 Feb 2017 10:11:42 +0000 (10:11 +0000)
commit884f65e1856733697a894c86f94803343cfa9a21
tree3130a3c25d6a0a3ed26ae16d706da7791458fa97
parent936f5407a7da0449926a4f89abd222503ba43eb4
egl/dri3: implement query surface hook

This is a DRI3 version of a change made for DRI2
(4d6d4f939e0af4252e0b, "egl/dri2: implement query surface hook"),
that fixed failures in dEQP-EGL.functional.resize.surface_size.grow
and dEQP-EGL.functional.resize.surface_size.shrink.

Cc: Tapani Pälli <tapani.palli@intel.com>
Cc: Mark Janes <mark.a.janes@intel.com>
Cc: Chad Versace <chadversary@chromium.org>
Signed-off-by: Brendan King <Brendan.King@imgtec.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Cc: "17.0" <mesa-stable@lists.freedesktop.org>
src/egl/drivers/dri2/platform_x11_dri3.c
src/loader/loader_dri3_helper.c
src/loader/loader_dri3_helper.h