Re: [Mesa-dev] [PATCH 5/9] panfrost: Bail out early when doing a wallpaper blit

2019-08-02 Thread Alyssa Rosenzweig
R-b, thank you especially for the comment deconstructing this magic. On Fri, Aug 02, 2019 at 12:12:53PM +0200, Boris Brezillon wrote: > The wallpaper blit is a bit special in that the operation is targetting > the current FB, but the u_blitter logic creates a new surface for it > which makes util_

[Mesa-dev] [PATCH 5/9] panfrost: Bail out early when doing a wallpaper blit

2019-08-02 Thread Boris Brezillon
The wallpaper blit is a bit special in that the operation is targetting the current FB, but the u_blitter logic creates a new surface for it which makes util_framebuffer_state_equal() return false. In that case we don't want a new FB descriptor to be emitted/attached, so let's just copy the new sta