Brian
9abbaacea6
Cell: checkpoint commit: always inline prim indexes into batch buffer
...
Also, explicit release-vertex-buffer command.
Lots of debug/stale code still in place...
2008-02-15 13:50:23 +11:00
Brian
4f0906a18a
Cell: If flushing for swapbuffers, wait for frame completion
2008-02-15 13:50:23 +11:00
Brian
87c8f9c583
Cell: additional debug code, misc clean-up
2008-02-15 13:50:23 +11:00
Brian
5c7c0675a7
Cell: generalize the batch buffer code for vertex buffers...
2008-02-15 13:50:23 +11:00
Brian
72b671bd39
gallium: check if surface has defined status in check_clear_depth_with_quad()
...
This was part of Keith's patch from Friday.
2008-02-15 13:50:23 +11:00
Keith Whitwell
af2ccd4c0c
gallium: handle flatshading explicitly in clipper stage
...
We can do a better job in the clip stage than just relying on the
brute-force approach of copying colors to all incoming vertices applied
in the flatshade stage.
At very least, it is only necessary to do this in the clipper when a
primitive is actually being clipped.
2008-02-15 13:50:23 +11:00
Keith Whitwell
bb37e7f591
gallium: add a couple of hardwired vertex fetch functions
2008-02-15 13:50:22 +11:00
Keith Whitwell
f7e64c323f
gallium: only call vertex/prim queue flush when there is something to flush
2008-02-15 13:50:22 +11:00
Keith Whitwell
85d7e7ceee
gallium: explictly cast double to float in vertex fetch
2008-02-15 13:50:22 +11:00
Keith Whitwell
01ab6472cc
gallium: fill in missing formats for vertex_fetch
2008-02-15 13:50:22 +11:00
Keith Whitwell
25d2ffc669
gallium: remove dead code from draw_vf*
2008-02-15 13:50:22 +11:00
José Fonseca
169a74196f
First stab at hooking draw_vbuf & vf.
...
Emit disabled for now. Tested with softpipe. Only one vertex at a time for now (slow).
2008-02-15 13:50:22 +11:00
José Fonseca
a7872d4c41
Clone vf module.
2008-02-15 13:50:22 +11:00
Stephane Marchesin
903521a6c0
nouveau: oops and make nouveau winsys build by default
2008-02-15 02:41:34 +01:00
Stephane Marchesin
583f424d61
nouveau: add nv30.
2008-02-15 02:36:28 +01:00
Stephane Marchesin
e538dc52c1
nouveau: hook in nv30.
2008-02-15 02:26:03 +01:00
Stephane Marchesin
e713cb26c9
nouveau: Update to latest header.
2008-02-15 02:26:03 +01:00
Stephane Marchesin
73b3a29b16
Hook nv30 into the build.
2008-02-15 02:26:03 +01:00
Maarten Maathuis
2effa9b36c
nv40: Avoid a nasty array overflow leading to a corrupt memory pointer.
2008-02-13 22:57:09 +01:00
Stephane Marchesin
f71400876b
nouveau: update to latest header.
2008-02-04 17:31:45 +01:00
Stephane Marchesin
5351e7270f
Add NV63.
2008-02-03 23:08:06 +01:00
Ben Skeggs
ae7dcae81b
nouveau: support nv67
2008-01-30 00:05:59 +11:00
Ben Skeggs
d342a6eecc
nouveau: ddx versioning changed to match nouveau.ko versioning
2008-01-28 18:40:11 +11:00
Ben Skeggs
faa05d41c5
Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
2008-01-28 18:34:21 +11:00
Ben Skeggs
3e39bc3d87
nouveau: quicky-port to gallium changes
2008-01-28 18:32:46 +11:00
José Fonseca
c3f10aef38
Simplify prototypes of draw_vbuf's internal functions.
2008-01-28 15:00:08 +09:00
José Fonseca
3b93c74a8d
Cache the vinfo in vbuf_stage.
2008-01-28 14:51:14 +09:00
José Fonseca
dac124081d
Do refcounting trhoughout all buffer objects, since it is now a base requirement.
2008-01-27 19:22:25 +09:00
José Fonseca
e6c8278c04
Fullfill pipe_winsys->user_buffer_create. Aggregate winsys functions.
2008-01-27 19:20:48 +09:00
Brian
87a8a339d7
Cell: added support for inlined vertex buffers.
...
Small prims are now self-contained in batch buffers when space allows.
2008-01-26 19:38:16 -07:00
Brian
419a5cca34
Cell: added ROUNUP4
2008-01-26 19:31:20 -07:00
Ben Skeggs
a556034514
Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
2008-01-27 12:35:33 +11:00
Brian
1bab5bd24e
Cell: added support for inlined indexes
...
If there's room in the batch buffer after the rendering command to accomodate
the indexes, put them there rather than in a separate buffer.
2008-01-26 18:30:44 -07:00
Brian
8dc5972908
Cell: added cell_batch_free_space()
2008-01-26 18:27:37 -07:00
Brian
651e8e9a73
gallium: disable unnecessary point/line/tri re-validation in vbuf_flush_indices()
2008-01-26 16:46:52 -07:00
Brian
b717de3238
Cell: remove some old tile code
2008-01-26 16:06:26 -07:00
Brian
ffeae75031
gallium: s/GLuint/unsigned/ to work with gallium when THREADS not defined
2008-01-26 16:05:35 -07:00
Brian
9ef61b9808
gallium: fix a few segfaults/assertions that can happen during context init
2008-01-26 16:04:47 -07:00
Brian
856db7dee6
Cell: fix a recursive flushing bug
2008-01-26 14:15:53 -07:00
Brian
d4bd6ca816
Cell: add check to catch recursive batch flushing
2008-01-26 14:15:53 -07:00
Brian
7f4bec264e
Cell: move ASSERT macro into common.h
2008-01-26 14:15:53 -07:00
José Fonseca
65df024146
gallium: Aggregate all buffer allocation info into a single struct. Obey requested alignment.
2008-01-26 11:46:49 +09:00
José Fonseca
ca01ed45e8
gallium: Make mm buffer manager more portable.
2008-01-26 11:11:08 +09:00
José Fonseca
0afe449bfc
gallium: Remove unneeded headers.
2008-01-26 11:06:23 +09:00
Keith Whitwell
8ee1452e18
gallium: fix linux build
2008-01-26 11:06:01 +09:00
Michal Krol
9387784fbf
gallium: Fix build on Windows.
2008-01-26 11:05:42 +09:00
Michal Krol
0fe428f1df
d3d: Fix build on Windows.
2008-01-26 11:05:24 +09:00
Michal Krol
b8dc2956df
gallium: Fix build on WinXP.
2008-01-26 11:00:49 +09:00
José Fonseca
1d6c98651f
gallium: Use directory name in include.
2008-01-26 10:52:21 +09:00
Michal Krol
6c3d12e374
gallium: Fix build for WinXP.
2008-01-26 10:52:01 +09:00