On Thu, May 26, 2016 at 4:36 PM, Ilia Mirkin <imir...@alum.mit.edu> wrote: > On Thu, May 26, 2016 at 10:31 AM, Marek Olšák <mar...@gmail.com> wrote: >> On Wed, May 25, 2016 at 3:34 PM, Philipp Zabel <p.za...@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. > > I think what he's saying is that they have a shadow copy of the > texture, and need to know when to update the shadow.
Is it a tiler-specific thing? Would pipe->memory_barrier be a good match for this? Marek _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev