i965: Replace checks for rb->Name with FlipY (v2)
authorFritz Koenig <frkoenig@google.com>
Mon, 17 Sep 2018 20:51:35 +0000 (13:51 -0700)
committerChad Versace <chadversary@chromium.org>
Tue, 2 Oct 2018 18:28:46 +0000 (11:28 -0700)
commit08f97407fb14f53bf9f43dc4165a185418437a6b
tree5212044c7bd25c4e71122055466e2b92ad67282f
parent2fd58d8eb206a35ace797f8ba9f8b21e87648443
i965: Replace checks for rb->Name with FlipY (v2)

In the GL_MESA_framebuffer_flip_y implementation
_mesa_is_winsys_fbo checks were replaced with
FlipY checks.  rb->Name is also used to determine
if a buffer is winsys.

v2: Fixes annotation [for emil]

Fixes: ab05dd183cc ("i965: implement GL_MESA_framebuffer_flip_y [v3]")
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Chad Versace <chadversary@chromium.org>
src/mesa/drivers/dri/i965/brw_blorp.c
src/mesa/drivers/dri/i965/intel_pixel_read.c