Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Also removed a couple of unused fields from the r300_memory_manager structure.
|
|
|
|
Just for consistency; most of the code already uses __FUNCTION__.
|
|
|
|
|
|
|
|
|
|
|
|
According to Aapo Tahkola the OpenGL specification defines the behaviour when
there are not enough vertices for the primitive type, thus DRI drivers do not
need to perform verification on the number of vertices per primitive.
|
|
|
|
|