Closed lkesteloot closed 7 years ago
Added CZCLEAR to the protocol document (value 8), to the FPGA, and to the test program. Assigning to @bradgrantham to implement the GL side and demos.
In the test program, clear()
and zclear()
individually take 4 ms. The new czclear()
command takes 5 ms. I don't know why it's slower, but I'm guessing memory contention.
The FPGA can clear both the color and Z buffer at the same time, so add a
CZCLEAR
command that takes both a clear color and Z value. We may have to port the demos to useczclear()
if they don't already.We can then keep
CLEAR
andZCLEAR
, or remove them and add two bits toCZCLEAR
to specify which to do, or port all demos toczclear()
and not supportclear()
andzclear()
.