Mesa (10.2): gallium: add bit to pipe_blit_info to leave current query enabled

Ian Romanick idr at kemper.freedesktop.org
Tue May 13 17:19:35 UTC 2014


Module: Mesa
Branch: 10.2
Commit: a233f4c303745774d94c0dc082b9218d9120f69d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a233f4c303745774d94c0dc082b9218d9120f69d

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat May 10 10:22:17 2014 -0400

gallium: add bit to pipe_blit_info to leave current query enabled

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>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
(cherry picked from commit 752ce0affb1bc45a3caa67b7a2788eec30a9f85f)

---

 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 */
 };
 
 




More information about the mesa-commit mailing list