keithw
cd1eefee84
add fence interfaces and buffer create flags to pipe_winsys
18 years ago
Brian
f83d4e7bde
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 years ago
Brian
a110789f3e
shorten loops over color bufs
17 years ago
Brian
5d4b53b3af
code re-org in softpipe_clear()
17 years ago
Brian
d1d9156831
clean-ups
17 years ago
Brian
127a493fe2
Tile clearing optimizations.
Clear using int values rather than floats when possible. Better performance now.
17 years ago
Brian
51537e0b6e
Disable, remove tnl module from the Gallium build since no longer used.
17 years ago
Brian
c885775cae
New vbo_set_draw_func() to keep vbo context opaque to state tracker and tnl module.
17 years ago
Brian
40e9c57d31
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.
17 years ago
Brian
2d2bb35f96
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
17 years ago
Brian
54fc80ab31
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.
17 years ago
Brian
6070a0eb2b
include tgsi_dump.h
17 years ago
Brian
d3e05111c8
Replace "duplicate" formats
17 years ago
Brian
2067eed9d3
Get rid of "duplicate" formats.
For example, replace PIPE_FORMAT_U_A8_R8_G8_B8 with PIPE_FORMAT_A8R8G8B8_UNORM
17 years ago
Brian
099bf3ffe9
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...
17 years ago
Brian
872caf6089
Make sp_tile_cache_flush_clear() static.
Also, misc clean-ups, comments.
17 years ago
Brian
c69c7a6054
Convert the clearValue back to floats for sp_tile_cache_clear()
It might be nice if sp->clear() took the color/value as floats...
17 years ago
Brian
57df347bb8
Some tile cache improvements, clean-ups.
Code for optimized clears (per-tile flag indicating clear status) in place
but not enabled yet.
17 years ago
Brian
dd87c43a44
don't dereference pt after realloc - fixes valgrind error
17 years ago
Brian
e6b5cf342e
add some whitespace
17 years ago
Brian
4c90dc7027
Move struct softpipe_texture definition into sp_texture.h
Also, added softpipe_texture() cast wrapper.
17 years ago
Brian
94a3cb078d
minor code movement
17 years ago
Brian
da3dfe58b2
Add PIPE_FORMAT_U_B8_G8_R8_A8 in default_rgba_format().
Also, rewrite/simplify default_rgba_format() and default_depth_format().
17 years ago
Brian
0d1669f530
byteswapping fixes in choose_pixel_format()
17 years ago
Brian
9772bb7f71
remove stray ;
17 years ago
Brian
e920f367ed
Remove obsolete xlib driver files
17 years ago
Brian
749d723287
Overhaul the Xlib winsys layer.
Front/back color buffers are now allocated with ordinary malloc() via the
winsys buffer functions.
To display surfaces in SwapBuffers() or flush_frontbuffer() we create an
XImage that wraps the surface, then use XPutImage to copy to the window.
Shared memory transport disabled for now.
17 years ago
Brian
f77ce9e4fa
added ST_SURFACE_DEPTH
17 years ago
Brian
ee6b39cfe6
move surface pitch calculation so it always gets updated
17 years ago
Brian
5823f99d0f
fix void pointer arithmetic warnings
17 years ago
Brian
b9300f16c4
silence void ptr arithmetic warning
17 years ago
Michel Dänzer
b859cdf6f1
Eliminate struct pipe_region.
Directly use struct pipe_buffer_handle for storage and struct pipe_surface for
(un)mapping.
17 years ago
Michel Dänzer
987d59bb83
Remove remnants of 'intel' from active state tracker code.
17 years ago
Michel Dänzer
d492b388c9
st_mesa_format_to_pipe_format: Handle MESA_FORMAT_ARGB4444.
17 years ago
Michel Dänzer
753db0d840
Hide texture layout details from the state tracker.
pipe->get_tex_surface() has to be used for access to texture image data.
18 years ago
Brian
5935626818
Add dependency checking for Cell driver sources.
17 years ago
Brian
ce30f0550f
silence warning
17 years ago
Brian
146483d541
added PIPE_FORMAT_U_B8_G8_R8_A8 case in color_value()
17 years ago
Brian
3eadbe64bf
Fix endianness bug in _mesa_texstore_argb8888()
On big-endian, storing in _mesa_texformat_argb8888 format produced wrong results.
Also, clean-up nearby code to match.
17 years ago
Brian
9df0a6dd9c
added B8G8R8A8 support and improved pixel format selection when doing remote display to X server of different endianness.
17 years ago
Brian
04516cfcaf
added tile funcs for B8G8R8A8 format
17 years ago
Brian
fa3fc81f2c
added B8G8R8A8 format
17 years ago
Brian
91692fce20
added -fPIC
18 years ago
Brian
c27082995d
don't build libglw
18 years ago
Brian
88b715b049
Initial Cell driver infrastructure.
No real code yet. Just stand-ins and make/build infrastructure.
18 years ago
Brian
233c374d02
glut doesn't need -lXt
18 years ago
José Fonseca
219dafa9b5
Cover state tracker and winsys driver. Tweak parameters.
18 years ago
Michel Dänzer
11a80160fd
Move dimensions from struct pipe_region to struct pipe_surface.
18 years ago
Michal Krol
7043db677f
Cleanup PIPE_FORMAT names.
Add a function that builds a display name of a given format token.
18 years ago
Michal Krol
b3dee0185e
gallium: remove sp_headers.h references.
18 years ago