i965/hiz: Convert gen{6,7}_hiz.c to C++
authorPaul Berry <stereotype441@gmail.com>
Mon, 30 Apr 2012 04:50:22 +0000 (21:50 -0700)
committerPaul Berry <stereotype441@gmail.com>
Thu, 10 May 2012 17:30:01 +0000 (10:30 -0700)
commitea1274c9a6ab20a4a05371cf392953eb1d1c0f8b
tree1ac723263a1ca81a0b6cae0e3a6f7f39c2e5a3d9
parent20b153b9ca5e57aa0e20e992347ece56388e71e4
i965/hiz: Convert gen{6,7}_hiz.c to C++

This patch converts the files gen6_hiz.c and gen7_hiz.c to C++, in
preparation for expanding the HiZ code to support arbitrary blits.

The new files are called gen6_blorp.cpp and gen7_blorp.cpp to reflect
the expanded role that this code will serve--"blorp" stands for "BLit
Or Resolve Pass".

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/gen6_blorp.cpp [new file with mode: 0644]
src/mesa/drivers/dri/i965/gen6_hiz.c [deleted file]
src/mesa/drivers/dri/i965/gen7_blorp.cpp [new file with mode: 0644]
src/mesa/drivers/dri/i965/gen7_hiz.c [deleted file]