On Fri, 5 Jul 2019 at 14:38, Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> wrote: > > + bool should_tile = !is_streaming && is_texture && is_2d && > > !is_scanout; > > I'm not opposed, but why can't we tile PIPE_BIND_SHARED textures? lima > does exactly that. If we can't tile them, we certainly can't AFBC them.
We can't tile USE_SHARED unless it's explicitly listed in the modifiers. If we don't have modifiers, then USE_SHARED means we'd be sending it to a different process or subsystem (KMS, V4L, whatever) which isn't going to know that it's tiled, because we aren't using modifiers to tell it. Cheers, Daniel _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev