i965: implement GL_MESA_framebuffer_flip_y [v3]
authorFritz Koenig <frkoenig@google.com>
Mon, 23 Jul 2018 17:10:55 +0000 (10:10 -0700)
committerChad Versace <chadversary@chromium.org>
Fri, 27 Jul 2018 19:33:32 +0000 (12:33 -0700)
commitab05dd183cc862f657847c371eded9896559af00
tree3f80d6b06ae99f38908a18489d21500ba1c0dec9
parent318c265160ed33a2d9f7d664e1b247cbbc38203f
i965: implement GL_MESA_framebuffer_flip_y [v3]

Instead of using _mesa_is_winsys_fbo or
_mesa_is_user_fbo to infer if an fbo is
flipped use the FlipY flag.

v2:
  * additional window-system framebuffer checks [for jason]
v3:
  * s/inverted_y/flip_y/g [for chadv]
  * s/InvertedY/FlipY/g [for chadv]

Reviewed-by: Chad Versace <chadversary@chromium.org>
src/mesa/drivers/dri/i965/brw_blorp.c
src/mesa/drivers/dri/i965/brw_meta_util.c
src/mesa/drivers/dri/i965/brw_sf.c
src/mesa/drivers/dri/i965/genX_state_upload.c
src/mesa/drivers/dri/i965/intel_extensions.c
src/mesa/drivers/dri/i965/intel_fbo.c
src/mesa/drivers/dri/i965/intel_pixel_bitmap.c
src/mesa/drivers/dri/i965/intel_pixel_copy.c
src/mesa/drivers/dri/i965/intel_pixel_draw.c