[Mesa-stable] [PATCH v2 1/3] gallium: add bit to pipe_blit_info to leave current query enabled

Marek Olšák maraeo at gmail.com
Sat May 10 17:40:27 PDT 2014


Patches 1 & 2:

Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Sun, May 11, 2014 at 2:34 AM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> Previously the implication was that queries should be disabled during
> blits. However glBlitFramebuffer() is supposed to obey the current
> query, and this new bit will indicate that to the driver.
>
> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
> Cc: "10.2" <mesa-stable at lists.freedesktop.org>
> ---
>
> v1 -> v2:
>   Rename flag to "render_condition_enable" per Marek's suggestion
>
> Outstanding question: should I add 10.1 to the CC list for this series?
>
>  src/gallium/include/pipe/p_state.h | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h
> index a41c53d..07ce88e 100644
> --- a/src/gallium/include/pipe/p_state.h
> +++ b/src/gallium/include/pipe/p_state.h
> @@ -591,6 +591,9 @@ struct pipe_blit_info
>
>     boolean scissor_enable;
>     struct pipe_scissor_state scissor;
> +
> +   boolean render_condition_enable; /**< whether to leave current render
> +                                    condition enabled */
>  };
>
>
> --
> 1.8.5.5
>


More information about the mesa-stable mailing list