[Mesa-dev] [PATCH 2/2] st/mesa: Invalidate external textures when (re-)binding

Marek Olšák maraeo at gmail.com
Thu May 26 14:31:31 UTC 2016

On Wed, May 25, 2016 at 3:34 PM, Philipp Zabel <p.zabel at pengutronix.de> wrote:
> Am Mittwoch, den 25.05.2016, 09:23 -0400 schrieb Ilia Mirkin:
>> Iirc invalidate_resource is to allow backend to discard the contents...
> Thanks, I didn't know that. So this would need a new callback then?
> Specifically I want to discard a copy in tiled layout that was derived
> from a linear external texture previously.

FWIW, radeon drivers don't change the tile mode after a texture has
been exported. When the texture is exported, the tile mode is set in
stone, be it linear or tiled. There is no second copy.


More information about the mesa-dev mailing list