Changed rgba renderer to use a command queue system for its drawers

This commit is contained in:
Magnus Norddahl 2016-06-07 00:55:52 +02:00
commit c5fcfb664f
9 changed files with 5272 additions and 3404 deletions

View file

@ -1019,6 +1019,14 @@ void rt_initcols_pal (BYTE *buff)
horizspan[y] = dc_ctspan[y] = &dc_tspans[y][0];
}
void rt_span_coverage_pal(int x, int start, int stop)
{
unsigned int **tspan = &dc_ctspan[x & 3];
(*tspan)[0] = start;
(*tspan)[1] = stop;
*tspan += 2;
}
// Stretches a column into a temporary buffer which is later
// drawn to the screen along with up to three other columns.
void R_DrawColumnHorizP_C (void)