Keith Whitwell
7c306afdaa
gallium: remove unnecessary guards on qs->next
17 vuotta sitten
Brian
e53303ba3b
Cell driver state-setter functions, basic tile get/put, glClear.
The state setting code was mostly just copied from the softpipe driver.
The SPUs can now get/put framebuffer tiles from/to main memory and clear
them to a given color. Lots of debug code in effect.
Tiled framebuffer is displayed in X window via the xmwinsys layer.
To enable Cell driver, export GALLIUM_CELL=1
17 vuotta sitten
Brian
e248f94050
remove ~ backup files
17 vuotta sitten
Brian
36ef54deae
remove -Wall, add -DGALLIUM_CELL
17 vuotta sitten
Brian
4f58d9af9a
Add 'type' parameter to is_format_supported() to specify texture vs. drawing surface, etc.
Additional types may be added in the future.
17 vuotta sitten
Brian
f26936b352
disable assertion in sp_tile_cache_set_surface() for now
17 vuotta sitten
Brian
4ccd3124f6
implement i915_put_tile_rgba() - temporary code though
17 vuotta sitten
Brian
1b20b2d53b
don't use get/put_tile_rgba() for accum buffer accesses
17 vuotta sitten
Michel Dänzer
37484a3874
Fix up some confusion wrt winsys->buffer_create alignment / flags parameters.
intel_winsys works again.
17 vuotta sitten
Michel Dänzer
41ce1f8fb3
Link fewer common objects into Gallium winsys layers.
These are useless or even harmful due to referencing symbols no longer
available in the Gallium build.
17 vuotta sitten
Ben Skeggs
18fe9776b4
Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
17 vuotta sitten
Ben Skeggs
f7195b3232
Correct user VBO size.
17 vuotta sitten
Michel Dänzer
913703d4b8
Remove stray references to struct pipe_region.
17 vuotta sitten
Ben Skeggs
aab6f8f948
nv40: more flexible vbo format translation
17 vuotta sitten
Ben Skeggs
9d651164d8
Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
17 vuotta sitten
Brian
63e2ab83f6
use quadColor local var
17 vuotta sitten
Ben Skeggs
3b2598c70b
nouveau: fix elusive dma bug
In some situations WAIT_RING would get called while the GPU was processing
data from outside the "master" ring, which caused dma.free to be updated
incorrectly and much fun was had.
WAIT_RING will now wait until it reads GET values from within the main ring
buffer before calculating free space.
17 vuotta sitten
Brian
9884838273
Fix looping for multi-color buffer writing.
17 vuotta sitten
Brian
04e88f469c
added null ptr check in draw_destroy() for rasterizer stage
17 vuotta sitten
Ben Skeggs
7d8368790f
nouveau: add callbacks for signalled fences
17 vuotta sitten
Ben Skeggs
9ba3890c6f
nouveau: fix build
17 vuotta sitten
Ben Skeggs
5c1a5b5047
Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
Conflicts:
src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c
src/mesa/pipe/Makefile
src/mesa/pipe/draw/draw_vertex_fetch.c
src/mesa/pipe/i915simple/i915_texture.c
src/mesa/pipe/softpipe/sp_texture.c
src/mesa/pipe/xlib/xm_winsys.c
src/mesa/state_tracker/st_cb_fbo.c
17 vuotta sitten
José Fonseca
f8f9580a2a
Adapt for winsys interface changes.
17 vuotta sitten
Ben Skeggs
1a3987240a
nouveau: give resources a start property
17 vuotta sitten
José Fonseca
de7e51ff98
gallium: use SSE by default
17 vuotta sitten
Michal
6cdcebe801
Allow tgsi_dump print-out to stderr or a string buffer.
Handle source register complement modifier in exec and dump.
18 vuotta sitten
José Fonseca
273f6e7698
gallium: Remove buffer_unfence and buffer_finish.
These interfaces have been deemed useless by Keith.
18 vuotta sitten
Keith Whitwell
b1399a5dd2
gallium: more trivial tests
18 vuotta sitten
José Fonseca
b478362251
gallium: Reusable pipe buffer library.
This is an optional library that winsys drivers can use to simplify memory
management, and help meet the winsys interface requirements.
18 vuotta sitten
Keith Whitwell
708582f6d5
gallium: fix ordering of arguments to pack_ui32_float4
18 vuotta sitten
Keith Whitwell
56bc8d9199
gallium: remove unneeded depth buffer
18 vuotta sitten
Keith Whitwell
bbecce52f8
gallium: initialized draw element buffer to NULL
18 vuotta sitten
Keith Whitwell
da47ad07ef
gallium: add support for aliased 4ub format
18 vuotta sitten
Keith Whitwell
73a0594276
gallium: support the full range of possible vertex types
18 vuotta sitten
Michal
d754548406
gallium: add draw_stage::destroy().
18 vuotta sitten
José Fonseca
74fe189b2e
gallium: Comment on winsys's fence functions. Fix comment layout for doxygen.
18 vuotta sitten
keithw
6e876d1d32
temporary _mesa_printf symbol
18 vuotta sitten
keithw
e87efe7407
[pipe]: add Offset() util macro
18 vuotta sitten
José Fonseca
79ad82477a
Document return types.
18 vuotta sitten
keithw
cd1eefee84
add fence interfaces and buffer create flags to pipe_winsys
18 vuotta sitten
Ben Skeggs
88b56c4545
Merge branch 'nouveau-gallium-0.1' into darktama-gallium-0.1
17 vuotta sitten
Ben Skeggs
897c96aacc
nouveau: downgrade hacked syncs to hacked flushes
Unfortunately we still need to keep the forced flushes as mesa's vbo path
is still insane. But, at least this is a little less brutal. The bo code will
detect when it needs to do a sync.
17 vuotta sitten
Ben Skeggs
f58f4e0f0e
nouveau: relocs are per-pushbuf, not per-channel
17 vuotta sitten
Ben Skeggs
62bbf8db87
nouveau: use "indirect" push buffers
17 vuotta sitten
Ben Skeggs
b8965bee40
nouveau: adapt to gallium interface changes
17 vuotta sitten
Brian
274a3d9cb6
Try to reduce the frequency of calls to pipe->get_tex_surface()
Save the surface info in the tile cache and re-use whenever possible.
17 vuotta sitten
Brian
8c1c222b6d
shorten loops over color bufs
17 vuotta sitten
Brian
0ee512aaf0
code re-org in softpipe_clear()
17 vuotta sitten
Brian
92e7a02e5a
clean-ups
17 vuotta sitten
Brian
7c8cc71a28
Tile clearing optimizations.
Clear using int values rather than floats when possible. Better performance now.
17 vuotta sitten