Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Also, add quad.facing field for front/back facing. See comments for details.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is a cleaned up version of the code in tnl/t_vertex*.
|
|
This has some limitations as we currently require a mapped framebuffer,
so it only really works with double-buffered ximage rgba8888 windows.
|
|
This will flesh out to hopefully acheive 3 things:
- New software rasterizer for mesa
- New driver model for mesa & dri with much smaller drivers
- The basis for the cell driver.
It's got a long way to go yet, but will at least run trivial/tri.c.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
You can verify this is correct with the following code.
assert (0x043f ==
(R300_VTX_W0_FMT | R300_VPORT_X_SCALE_ENA | R300_VPORT_X_OFFSET_ENA
| R300_VPORT_Y_SCALE_ENA | R300_VPORT_Y_OFFSET_ENA |
R300_VPORT_Z_SCALE_ENA | R300_VPORT_Z_OFFSET_ENA));
|
|
|
|
This required reordering some of the functions which is why the diff is a little
larger.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
You can verify this is correct with the following code.
assert (0x00000001 == R300_INPUT_CNTL_0_COLOR);
assert (0x00000405 ==
(R300_INPUT_CNTL_POS | R300_INPUT_CNTL_COLOR |
R300_INPUT_CNTL_TC0));
|
|
This reverts commit 93881edb46fc95e1cfb4ded4e8a5db92612d3e4d.
|
|
|
|
|
|
|
|
This might help if with attaching GDB if the driver gets into a -EAGAIN loop.
|
|
|
|
|
|
|
|
|
|
This reverts commit 0aa998b2ab6fdfe139b54de9868e2383440685d0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|