Brian
9b598df95e
asst changes in bbox code, dma tags, etc
2008-01-03 08:58:51 -07:00
Brian
bb55835fc0
insert a temporary flush to fix missing triangles artifact
2008-01-03 08:58:01 -07:00
Brian
5cd96f7684
pass surface format in cell_command_framebuffer struct
2008-01-03 07:49:59 -07:00
Brian
7aee3eff18
better debug code
2008-01-03 07:49:13 -07:00
Brian
f6b7e2d3bf
make use of prim bounds box info
2008-01-02 19:31:36 -07:00
Brian
54090bd841
only fetch as much vertex data as needed
2008-01-02 19:05:34 -07:00
Brian
d55c4ec9d2
remove previous triangle test code
2008-01-02 18:58:44 -07:00
Brian
de9f8e8b71
Cell: basic triangle rendering works.
...
The cell "render_stage" (last in the "draw" pipeline) emits vertices into
a buffer which is pulled by the SPUs in response to a "RENDER" command.
This is pretty much temporary/scaffold code for now.
2008-01-02 18:53:33 -07:00
Ben Skeggs
732540f997
nv40: some cleanups
2008-01-02 23:44:24 +11:00
Ben Skeggs
720fd7b5e9
Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
2008-01-02 23:02:35 +11:00
Brian
da92ac01e8
Plug in more infrastructure for actual rendering.
...
Track vertex/fragment shader state.
Plug in pipe->draw_arrays(), pipe->draw_elements().
Plug render stage (a stub) into end of 'draw' pipeline.
Specify a hard-coded vertex format for now.
2008-01-01 15:21:50 -07:00
Brian
57a711f727
hack/fix pack_color() for correct ps3 format
2008-01-01 15:21:50 -07:00
Brian
52659e3c23
Clean-up, re-org some vertex/fragment shader state code.
2008-01-01 15:18:04 -07:00
Brian
292bbd4a72
move SP_NEW_ #defines into sp_state.h
2008-01-01 15:18:04 -07:00
Brian
520a455f55
fix vbo display list memleak upon context destruction
2008-01-01 10:21:21 -07:00
Brian
678db26b9d
unref buffer after drawing, fixes rastpos mem leak
2008-01-01 10:21:21 -07:00
Brian
c37d2c9325
fix single-sided stencil test bug
2008-01-01 10:21:21 -07:00
Brian
6656864135
fix leak, fix refcount error
2008-01-01 10:21:21 -07:00
Brian
6883e02a5c
fix a mem leak, document another existing leak
2008-01-01 10:21:21 -07:00
Brian
4fabee9d4d
unref const buffers during context destroy
2008-01-01 10:21:21 -07:00
Brian
6128c93865
unref const buffers during context destroy
2008-01-01 10:21:21 -07:00
Brian
1631a9513d
free program caches
2008-01-01 10:21:21 -07:00
Brian
f44e2f14d2
fix mem leaks
2008-01-01 10:21:21 -07:00
Brian
573b4414b9
fix mem leak (free key)
2008-01-01 10:21:21 -07:00
Brian
171a9674c4
free surface caches in softpipe_destroy()
2008-01-01 10:21:21 -07:00
Brian
aec6009ece
fix a memleak
2008-01-01 10:21:21 -07:00
Brian
57a5421d65
free tgsi machine state
2008-01-01 10:21:21 -07:00
Brian
f6136f993a
free tgsi machine state
2008-01-01 10:21:21 -07:00
Brian
eba2e044a0
added tgsi_exec_machine_free_data()
2008-01-01 10:21:20 -07:00
Brian
552907d8a4
free Default1D/2DArray objects
2008-01-01 10:21:20 -07:00
Ben Skeggs
92ee96d83d
nv40: s/READ/WRITE/
2007-12-30 15:24:16 +11:00
Ben Skeggs
6af6bb6817
nouveau: header update
2007-12-30 01:17:47 +11:00
Ben Skeggs
24cfb7d2e2
nv40: untested fragprog mods for big-endian chips
2007-12-30 01:03:24 +11:00
Ben Skeggs
09612416d7
nouveau: typo fix
2007-12-30 00:37:58 +11:00
Ben Skeggs
8ed3a69fc8
nouveau: remove legacy stuff
2007-12-27 09:09:11 +11:00
Ben Skeggs
dc6d73e1a4
nouveau: track last validated offsets, so we know when relocs can be avoided.
2007-12-27 06:22:28 +11:00
Ben Skeggs
3b8efe1dfe
nouveau: allow unfenced read of buffers in a few situations
2007-12-27 06:10:49 +11:00
Ben Skeggs
a794fcfbdb
nouveau: remove fence_del(), _ref() can be used for the same purpose.
2007-12-27 06:02:01 +11:00
Ben Skeggs
f33467d72a
nouveau: header update
2007-12-26 00:56:00 +11:00
Ben Skeggs
e32e0e2b8e
nv40: use index buffers rather than inline indices.
...
We probably want to use inline indices in some situations still, but this
commit's primary purpose is to workaround some mis-rendering caused by a
more complicated problem that'll get fixed eventually.
2007-12-26 00:37:21 +11:00
Zack Rusin
f9e0e2b3ef
i965: a little better way of handling immediates
2007-12-24 07:57:34 -05:00
Ben Skeggs
d732728590
nouveau: pushbuf code, now with 50% less suck!
...
Far more efficient, if not a bit more complicated. Hopefully not too
buggy still.
This commit will potentially expose some unrelated bugs, fixes for them
will follow "real soon now".
2007-12-24 19:28:36 +11:00
Ben Skeggs
f9cfc32376
nv40: ensure all required buffers are accounted for during state validation
2007-12-24 18:53:41 +11:00
Ben Skeggs
5fcffcd312
nouveau: speed up user buffers.
...
Try and fit user buffers into a small GART scratch area at validate time,
instead of going to a lot of effort to fit these (mostly) use-once-and-discard
objects into VRAM.
2007-12-23 17:06:18 +11:00
Ben Skeggs
7372a596a9
nv40: seems we have stencil faces around the wrong way.
2007-12-23 16:19:25 +11:00
Ben Skeggs
74757eb970
nouveau: don't wait when deleting fences unless needed
2007-12-23 16:18:00 +11:00
Ben Skeggs
fa605cf661
nouveau: some cleanups
2007-12-23 16:17:22 +11:00
Ben Skeggs
b4b002661e
nouveau: match gallium changes
2007-12-23 16:05:02 +11:00
Ben Skeggs
6c14cf5834
Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
2007-12-23 16:01:59 +11:00
Zack Rusin
4fa7afabc9
i965: very crude and hacky way of handling immediates
2007-12-20 12:54:23 -05:00