Ben Skeggs
7d8368790f
nouveau: add callbacks for signalled fences
17 лет назад
Ben Skeggs
9ba3890c6f
nouveau: fix build
17 лет назад
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 лет назад
José Fonseca
f8f9580a2a
Adapt for winsys interface changes.
17 лет назад
Ben Skeggs
1a3987240a
nouveau: give resources a start property
17 лет назад
José Fonseca
de7e51ff98
gallium: use SSE by default
18 лет назад
Michal
6cdcebe801
Allow tgsi_dump print-out to stderr or a string buffer.
Handle source register complement modifier in exec and dump.
18 лет назад
José Fonseca
273f6e7698
gallium: Remove buffer_unfence and buffer_finish.
These interfaces have been deemed useless by Keith.
18 лет назад
Keith Whitwell
b1399a5dd2
gallium: more trivial tests
18 лет назад
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 лет назад
Keith Whitwell
708582f6d5
gallium: fix ordering of arguments to pack_ui32_float4
18 лет назад
Keith Whitwell
56bc8d9199
gallium: remove unneeded depth buffer
18 лет назад
Keith Whitwell
bbecce52f8
gallium: initialized draw element buffer to NULL
18 лет назад
Keith Whitwell
da47ad07ef
gallium: add support for aliased 4ub format
18 лет назад
Keith Whitwell
73a0594276
gallium: support the full range of possible vertex types
18 лет назад
Michal
d754548406
gallium: add draw_stage::destroy().
18 лет назад
José Fonseca
74fe189b2e
gallium: Comment on winsys's fence functions. Fix comment layout for doxygen.
18 лет назад
keithw
6e876d1d32
temporary _mesa_printf symbol
18 лет назад
keithw
e87efe7407
[pipe]: add Offset() util macro
18 лет назад
José Fonseca
79ad82477a
Document return types.
18 лет назад
keithw
cd1eefee84
add fence interfaces and buffer create flags to pipe_winsys
18 лет назад
Ben Skeggs
88b56c4545
Merge branch 'nouveau-gallium-0.1' into darktama-gallium-0.1
17 лет назад
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 лет назад
Ben Skeggs
f58f4e0f0e
nouveau: relocs are per-pushbuf, not per-channel
17 лет назад
Ben Skeggs
62bbf8db87
nouveau: use "indirect" push buffers
17 лет назад
Ben Skeggs
b8965bee40
nouveau: adapt to gallium interface changes
17 лет назад
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 лет назад
Brian
8c1c222b6d
shorten loops over color bufs
17 лет назад
Brian
0ee512aaf0
code re-org in softpipe_clear()
18 лет назад
Brian
92e7a02e5a
clean-ups
18 лет назад
Brian
7c8cc71a28
Tile clearing optimizations.
Clear using int values rather than floats when possible. Better performance now.
18 лет назад
Brian
77c7fd3cec
Disable, remove tnl module from the Gallium build since no longer used.
18 лет назад
Brian
5e46b252b9
New vbo_set_draw_func() to keep vbo context opaque to state tracker and tnl module.
18 лет назад
Brian
75ec482001
Disable swrast, swrast_setup and driverfuncs in the build.
The gallium/state tracker no longer uses them and this speeds up the build a bit.
18 лет назад
Brian
2636ea5758
Move _mesa_init_glsl_driver_functions() into shader_api.c
This allows making a bunch of functions static, and removes a state
tracker dependency on driverfuncs.c
18 лет назад
Brian
61d1972dd0
Define PIPE_FORMAT_ tokens as an enum set, rather than #defines.
This makes debugging a _lot_ easier.
In gdb, "print format" used to display 613570600, now you see PIPE_FORMAT_A8R8G8B8_UNORM.
18 лет назад
Brian
144b70b0b5
include tgsi_dump.h
18 лет назад
Brian
cfe0ebe1c0
Replace "duplicate" formats
18 лет назад
Brian
2edf1b8e71
Get rid of "duplicate" formats.
For example, replace PIPE_FORMAT_U_A8_R8_G8_B8 with PIPE_FORMAT_A8R8G8B8_UNORM
18 лет назад
Brian
382ced1600
Enable the tile clear "optimization"
Not really faster yet because we're using the float-valued put/get_tile()
functions so we're doing quite a bit of float/int conversion. That can
be fixed though...
18 лет назад
Brian
7bbc3ef7ec
Make sp_tile_cache_flush_clear() static.
Also, misc clean-ups, comments.
18 лет назад
Brian
7655486c88
Convert the clearValue back to floats for sp_tile_cache_clear()
It might be nice if sp->clear() took the color/value as floats...
18 лет назад
Brian
dfc21b2efb
Some tile cache improvements, clean-ups.
Code for optimized clears (per-tile flag indicating clear status) in place
but not enabled yet.
18 лет назад
Brian
f36258d7e1
don't dereference pt after realloc - fixes valgrind error
18 лет назад
Brian
1eb78225c4
add some whitespace
18 лет назад
Brian
0d74d51790
Move struct softpipe_texture definition into sp_texture.h
Also, added softpipe_texture() cast wrapper.
18 лет назад
Brian
99823680a5
minor code movement
18 лет назад
Brian
03dcde4caa
Add PIPE_FORMAT_U_B8_G8_R8_A8 in default_rgba_format().
Also, rewrite/simplify default_rgba_format() and default_depth_format().
18 лет назад
Brian
f1285f238a
byteswapping fixes in choose_pixel_format()
18 лет назад
Brian
5002d1eb88
remove stray ;
18 лет назад