gallium: add pipe_screen::resource_changed
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 19 Jan 2017 14:05:36 +0000 (15:05 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Fri, 20 Jan 2017 14:30:29 +0000 (15:30 +0100)
commit30853f55a3b4c409802ac470ae0530311c36e0c7
treec16a4c1d50f70f4f5a883a5c9ad6225ce43ea897
parent5872850b8868f00c031d21387b0516d844d070be
gallium: add pipe_screen::resource_changed

Add a hook to tell drivers that an imported resource may have changed
and they need to update their internal derived resources.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
src/gallium/docs/source/screen.rst
src/gallium/include/pipe/p_screen.h