Re: [Mesa-dev] [PATCH 2/2] i965: implement MESA_framebuffer_flip_y [v3]

2018-07-27 Thread Chad Versace
On Mon 23 Jul 2018, Fritz Koenig wrote: > Instead of using _mesa_is_winsys_fbo or > _mesa_is_user_fbo to infer if an fbo is > flipped use the InvertedY flag. > > v2: > * additional window-system framebuffer checks [for jason] > v3: > * s/inverted_y/flip_y/g [for chadv] > * s/InvertedY/FlipY/g [for

[Mesa-dev] [PATCH 2/2] i965: implement MESA_framebuffer_flip_y [v3]

2018-07-23 Thread Fritz Koenig
Instead of using _mesa_is_winsys_fbo or _mesa_is_user_fbo to infer if an fbo is flipped use the InvertedY flag. v2: * additional window-system framebuffer checks [for jason] v3: * s/inverted_y/flip_y/g [for chadv] * s/InvertedY/FlipY/g [for chadv] --- src/mesa/drivers/dri/i965/brw_blorp.c

Re: [Mesa-dev] [PATCH 2/2] i965: implement MESA_framebuffer_flip_y

2018-06-12 Thread Chad Versace
On Thu 07 Jun 2018, Jason Ekstrand wrote: > There are also a pile of places where we look at rb->Name == 0 to determine if > it's a window-system framebuffer For the public record, Fritz and I discussed this in person. I recommend that the patches replace each checking on rb->Name == 0 to instead

Re: [Mesa-dev] [PATCH 2/2] i965: implement MESA_framebuffer_flip_y

2018-06-07 Thread Jason Ekstrand
There are also a pile of places where we look at rb->Name == 0 to determine if it's a window-system framebuffer On Thu, Jun 7, 2018 at 4:01 PM, Fritz Koenig wrote: > Instead of using _mesa_is_winsys_fbo or > _mesa_is_user_fbo to infer if an fbo is > flipped use the InvertedY flag. > --- > src/m

[Mesa-dev] [PATCH 2/2] i965: implement MESA_framebuffer_flip_y

2018-06-07 Thread Fritz Koenig
Instead of using _mesa_is_winsys_fbo or _mesa_is_user_fbo to infer if an fbo is flipped use the InvertedY flag. --- src/mesa/drivers/dri/i965/brw_blorp.c | 2 +- src/mesa/drivers/dri/i965/brw_meta_util.c | 4 +- src/mesa/drivers/dri/i965/brw_sf.c| 6 +-- src/mesa/drivers