Keith Whitwell
7050a4a7bc
Small optimization for line drawing.
...
And some comments on point sprites.
2007-06-14 15:18:27 +01:00
Keith Whitwell
790ec6ad3f
Remove some dead code.
2007-06-14 14:29:59 +01:00
Brian
6378dc3ae3
simple line drawing code
2007-06-12 08:47:49 -06:00
Brian
c9527eae8e
added st_atom_depth.c
2007-05-30 16:27:17 -06:00
Brian
02a47549ad
sketch out texture sampler state
2007-05-30 16:26:55 -06:00
Brian
092a9ecbba
comments, clean-up, alphabetize members
2007-05-30 16:10:31 -06:00
Brian
8f28887581
added depth(Z) state support
2007-05-30 16:07:39 -06:00
Brian
4c9b48dcc5
depth(Z) state
2007-05-30 16:07:27 -06:00
Brian
6fc5961933
implement point rendering
2007-05-28 16:13:17 -06:00
Brian
d46fa8bbef
INLINE goes before the function's return type
2007-05-25 15:53:42 -06:00
Brian
00d5334899
Add some comments to explain things, code clarifications.
...
Also, add quad.facing field for front/back facing. See comments for details.
2007-05-25 15:45:21 -06:00
Brian
cbe4dbef8e
use GLubyte for stencil ref/mask/clear
2007-05-24 22:16:26 -06:00
Brian
008fb50174
Stencil state.
2007-05-24 17:37:36 -06:00
Brian
2248829b99
added st_atom_blend.c, st_atom_scissor.c
2007-05-24 16:50:45 -06:00
Brian
6debc8078a
Implement blend state
2007-05-24 16:50:22 -06:00
Brian
7234550cf7
#ifndef SP_DEFINES_H protection, copyright
2007-05-24 16:49:27 -06:00
Brian
9267341bd0
scissor depends on glScissor() and framebuffer size
2007-05-24 16:48:38 -06:00
Brian
3bf0fd6090
add scissor state
2007-05-24 14:37:00 -06:00
Brian
711af67fe4
scissor state
2007-05-24 14:36:48 -06:00
Brian
f889ad21da
define, use SP_MAX_CLIP_PLANES
2007-05-24 14:36:02 -06:00
Keith Whitwell
b1dc66b7bd
Add the vf module.
...
This is a cleaned up version of the code in tnl/t_vertex*.
2007-05-24 11:37:08 +01:00
Keith Whitwell
b939adfa15
Use the x11 driver as a test harness for the softpipe/state_tracker code.
...
This has some limitations as we currently require a mapped framebuffer,
so it only really works with double-buffered ximage rgba8888 windows.
2007-05-24 10:44:53 +01:00
Keith Whitwell
8e4a95a93d
First version of the softpipe rasterizer.
...
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.
2007-05-24 10:41:34 +01:00
Keith Whitwell
572dc0864e
Modifications to run with softpipe test harness
...
RGB->RGBA
double buffer by default.
2007-05-24 10:38:57 +01:00
Brian
c128c3ce8c
master/trunk is now for Mesa 7.1 devel: bump versions
2007-05-14 14:30:36 -06:00
Bruce Merry
6efdf648f5
in __glXGetArrayType() return type, not enabled (bug 10938)
2007-05-14 09:38:23 -06:00
Brian
6a587c0124
comment about fixing uniform structs
2007-05-14 09:38:23 -06:00
Oliver McFadden
524c3336c4
r300: Enable the non-user-buffers code to compile.
2007-05-13 13:38:38 +00:00
Oliver McFadden
0e7e211055
r300: Use e32(0x0) rather than e32(0); makes greping for hex values easier.
2007-05-13 12:59:41 +00:00
Oliver McFadden
4e641bf3e9
r300: Use the defined values when writing to R300_RS_ROUTE_0.
2007-05-13 12:56:59 +00:00
Oliver McFadden
2189ff5e51
r300: Use the defined values when writing to R300_SE_VTE_CNTL.
...
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));
2007-05-13 12:43:40 +00:00
Oliver McFadden
33a73466ae
r300: Added a TODO comment for the R300_VAP_INPUT_ROUTE_[01]_0 values.
2007-05-13 12:36:27 +00:00
Oliver McFadden
13c0abd8a7
r300: Changed some more functions to static functions.
...
This required reordering some of the functions which is why the diff is a little
larger.
2007-05-13 09:09:30 +00:00
Oliver McFadden
82de92c0fb
r300: Changed a couple of functions in r300_state.c to static functions.
2007-05-13 08:59:54 +00:00
Oliver McFadden
e4b8481f39
r300: Removed the unused r300_aos_rec (replaced by r300_dma_region) structure.
2007-05-13 08:43:30 +00:00
Oliver McFadden
b5990cec90
r300: Use #if 0 for disabled code, rather than commenting it out.
2007-05-13 08:28:51 +00:00
Oliver McFadden
d93642251e
r300: Removed a couple of obsolete/commented out includes.
2007-05-13 08:21:50 +00:00
Oliver McFadden
c66fd808ac
r300: A few very minor indenting corrections.
2007-05-13 07:51:41 +00:00
Oliver McFadden
73449270bb
r300: Use the defined values for the interpolater (interp_magic) magic values.
2007-05-13 07:44:20 +00:00
Oliver McFadden
6f56e68ee3
r300: Use the defined values when writing to R300_VAP_INPUT_CNTL_[01].
...
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));
2007-05-13 06:39:24 +00:00
Oliver McFadden
65fae19383
Revert "r300: Perform the locking closer to the DRM texture upload call."
...
This reverts commit 93881edb46 .
2007-05-12 17:18:57 +00:00
Roland Scheidegger
b78aec5767
bring over recent radeonMakeCurrent fixes for r300 to radeon/r200
2007-05-12 11:20:24 +02:00
Oliver McFadden
6bae7d40f7
r300: Removed the name argument to ALLOC_STATE; do the name via the macro.
2007-05-12 01:53:56 +00:00
Oliver McFadden
5f1f1f5704
r300: Renamed r300DoEmitState to r300EmitAtoms.
2007-05-12 01:13:54 +00:00
Oliver McFadden
93881edb46
r300: Perform the locking closer to the DRM texture upload call.
...
This might help if with attaching GDB if the driver gets into a -EAGAIN loop.
2007-05-12 00:14:33 +00:00
Oliver McFadden
56b99ace19
r300: Removed unused FORCE_32BITS_ELTS define.
2007-05-11 23:35:37 +00:00
Oliver McFadden
3aad47679e
r300: Removed the unused CPT macro.
2007-05-11 23:33:47 +00:00
Oliver McFadden
dac5303692
r300: Moved r300PackFloat24 near r300PackFloat32.
2007-05-11 23:32:03 +00:00
Oliver McFadden
64b03f33ee
r300: Added insert_at_tail to the ALLOC_STATE macro.
2007-05-11 23:13:08 +00:00
Oliver McFadden
b8b0dd1e20
Revert "r300: Merged radeon_span.c."
...
This reverts commit 0aa998b2ab .
2007-05-11 23:03:40 +00:00