st/mesa: call resource_changed when binding a EGLImage to a texture
authorLucas Stach <l.stach@pengutronix.de>
Tue, 20 Mar 2018 11:14:12 +0000 (12:14 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Thu, 12 Jul 2018 09:02:04 +0000 (11:02 +0200)
commit501d0edeca321637b20a0ad1b9d476e6919131c3
treed2c147160db79fc64a4831c88bcef8810d0c28ad
parent1f616a840eac02241c585d28e9dac8f19a297f39
st/mesa: call resource_changed when binding a EGLImage to a texture

When a EGLImage is newly bound to a texture, we need to make sure the
driver is informed that the resource might have changed. Fixes stale
texture content on Etnaviv when binding an existing EGLImage to an
existing texture object.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_cb_eglimage.c