mesa: Make a function is_transform_feedback_active_and_unpaused.
authorPaul Berry <stereotype441@gmail.com>
Sat, 15 Dec 2012 22:21:32 +0000 (14:21 -0800)
committerPaul Berry <stereotype441@gmail.com>
Tue, 18 Dec 2012 17:02:53 +0000 (09:02 -0800)
commit5b7099c74d7774dc59895536bad53bd1196e398c
tree5571409df894f68003491baa6f6476161ec898b7
parent1ad516207d2297b14fe26627e5bb599a9f704ac5
mesa: Make a function is_transform_feedback_active_and_unpaused.

The rather unweildy logic for determining this condition was repeated
in a large number of places.  This patch consolidates it to a single
inline function.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/common/meta.c
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/brw_gs.c
src/mesa/drivers/dri/i965/gen6_sol.c
src/mesa/drivers/dri/i965/gen7_sol_state.c
src/mesa/main/api_validate.c
src/mesa/main/shaderapi.c
src/mesa/main/transformfeedback.c
src/mesa/main/transformfeedback.h