r600g: implement draw_rectangle callback
authorMarek Olšák <maraeo@gmail.com>
Fri, 24 Aug 2012 03:57:22 +0000 (05:57 +0200)
committerMarek Olšák <maraeo@gmail.com>
Thu, 30 Aug 2012 17:43:55 +0000 (19:43 +0200)
commit187d7fb2fec7da889f25366696faaac4c2e8f9c4
treebd46f0a9e4fdb3309bc4b2e043b76d4db3a141af
parent8698a3b85dd89c5d2fa473e7942b7dc8d25f3c8f
r600g: implement draw_rectangle callback

The color resolve on r6xx needs PT_RECTLIST. Using conventional primitive
types (triangles and quads) produces an ugly line between two diagonally
opposite corners. I guess a rectangular point sprite would work too.
src/gallium/auxiliary/util/u_blitter.c
src/gallium/auxiliary/util/u_blitter.h
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_state_common.c