[Mesa-dev] [PATCH 0/5] i965: die structs die!

Zou, Nanhai nanhai.zou at intel.com
Thu Jul 7 01:12:13 PDT 2011


Hi, 
	What is the intention of switching struct-style command to OUT_BATCH style?

Thanks
Zou Nanhai

>>-----Original Message-----
>>From: mesa-dev-bounces+nanhai.zou=intel.com at lists.freedesktop.org
>>[mailto:mesa-dev-bounces+nanhai.zou=intel.com at lists.freedesktop.org] On
>>Behalf Of Kenneth Graunke
>>Sent: 2011年7月7日 15:49
>>To: mesa-dev at lists.freedesktop.org
>>Subject: [Mesa-dev] [PATCH 0/5] i965: die structs die!
>>
>>This patch series converts a few of the remaining struct-style command
>>submissions to OUT_BATCH style and then removes a ton of unused structs.
>>
>>Keeping the structures in the codebase is misleading, since (a) you might
>>presume that they're actually used for something (they aren't), and (b)
>>they may not have been updated for newer generations of hardware anyway.
>>
>>For documentation, visit http://intellinuxgraphics.org/.
>>
>>Tested with piglit on Ironlake.  No regressions.
>>
>>brw_defines.h    |    2
>>brw_misc_state.c |   60 ++-----
>>brw_structs.h    |  450
>>-------------------------------------------------------
>>3 files changed, 18 insertions(+), 494 deletions(-)
>>
>>_______________________________________________
>>mesa-dev mailing list
>>mesa-dev at lists.freedesktop.org
>>http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list