Commit graph

31643 commits

Author SHA1 Message Date
Marek Olšák
942762cd97 r300g: decouple vertex stream setup (PSC) and VS output mapping (VAP_OUT)
Formerly known as vertex_format_state. These two are completely
unrelated when using HWTCL and decoupling them makes the design
less SWTCL-centric.

When bypass_vs_clip_and_viewport gets removed, the PSC setup will
no longer be a derived state.

This change shouldn't make unbreaking SWTCL harder.
2010-02-28 19:30:39 +01:00
Jakob Bornecrantz
79a86d312d i965g: Fix texture creation 2010-02-28 16:28:44 +00:00
Alex Weiss
54f9c509a1 Fixed mklib to properly merge static libraries on darwin.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-02-28 00:55:03 -08:00
Vinson Lee
909c08d177 dri: Remove dead code. 2010-02-27 21:57:38 -08:00
Vinson Lee
edd6c338cf glut: Add asserts to check for null pointer dereferences. 2010-02-27 21:19:47 -08:00
Vinson Lee
706fffbff5 glx: Add assert to check input to memcpy. 2010-02-27 20:23:17 -08:00
Vinson Lee
75dba756b2 mesa: Add asserts to check inputs to memcpy. 2010-02-27 20:11:31 -08:00
Vinson Lee
bfdee9cc70 mesa: Add assert to check input to memcpy is not null. 2010-02-27 17:19:31 -08:00
Vinson Lee
65974f67e1 glsl: Move assert from outside to inside of _slang_gen_swizzle function. 2010-02-27 17:01:25 -08:00
Vinson Lee
cab77711b3 dri: Add assert to check for null pointer dereference. 2010-02-27 16:51:17 -08:00
Vinson Lee
975f105bb8 i810: Add assert to check for null pointer dereference. 2010-02-27 16:41:49 -08:00
Vinson Lee
b45af1ec61 mach64: Add asserts to check for null pointer dereferences. 2010-02-27 16:38:09 -08:00
Vinson Lee
689249bcbe mga: Add assert to check for null pointer dereference. 2010-02-27 16:30:49 -08:00
Vinson Lee
a5406444ae r128: Add assert to check for null pointer dereference. 2010-02-27 16:28:30 -08:00
Marek Olšák
aa4d47f68f st/mesa: do not advertise S3TC if the external lib is not available 2010-02-28 00:46:36 +01:00
Marek Olšák
d36e3952c2 r300g: put validating buffers after flushing
Also cleaning up the nasty validation process.
2010-02-28 00:46:35 +01:00
Marek Olšák
4ed97f0a73 r300g: use the atom size directly during emission 2010-02-28 00:46:35 +01:00
Marek Olšák
279715e76e r300g: atomize invalidation of texture caches 2010-02-28 00:46:35 +01:00
Marek Olšák
fe6d3b9222 r300g: atomize PVS flush
The first non-state atom. It's better and cleaner to have it.
2010-02-28 00:46:35 +01:00
Marek Olšák
841122d0e8 r300g: add size parameter to the atom emit functions
Maintaining a closer relationship between the atom size and what's passed
in BEGIN_CS.
2010-02-28 00:46:35 +01:00
Marcin Slusarz
14771ba7e4 mesa: remove libmesagallium.a on make clean
Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-02-27 23:44:08 +00:00
Vinson Lee
3d3e3a56f2 r300: Add asserts to check for null pointer dereferences. 2010-02-27 15:36:11 -08:00
Vinson Lee
5c007f42a1 savage: Add assert to check for null pointer dereference. 2010-02-27 15:29:44 -08:00
Vinson Lee
9db6a70af5 sis: Add assert to check function pointer is not null. 2010-02-27 15:13:38 -08:00
Vinson Lee
b22437937f tdfx: Add asserts to check for null pointer dereferences. 2010-02-27 15:07:30 -08:00
Vinson Lee
e31a379661 unichrome: Assert that pointer is not null before dereferencing. 2010-02-27 14:56:27 -08:00
José Fonseca
1eba490202 util: Fix X8/A8B8G8R8_SNORM's swizzle. 2010-02-27 20:29:14 +00:00
José Fonseca
5b3c0c151b progs/gallium: Add unit tests for pixel format packing/unpacking. 2010-02-27 20:29:14 +00:00
Marek Olšák
74f94e8fdf r300g: move the emission of GA_POINT_MINMAX into emit_fb_state
The only practical limits are the ones derived from the currently-set
framebuffer state.
2010-02-27 20:09:38 +01:00
Marek Olšák
a3d4d0dec2 r300g: put the emission of R300_US_OUT_FMT_UNUSED back
It wasn't such a good idea to remove it. :/
2010-02-27 20:09:38 +01:00
Marek Olšák
f129a7dd68 r300g: mark rasterizer_state as dirty only when it's not NULL 2010-02-27 20:08:46 +01:00
Marek Olšák
c05f998f02 radeong: clean up includes 2010-02-27 18:40:47 +01:00
Marek Olšák
93da152209 r300g: always emit the correct max vertex index to avoid DRM errors
Fixing bizarre reports that a vertex buffer is not large enough.
2010-02-27 18:39:35 +01:00
Marek Olšák
dba7ad8953 r300g: remove pointless "while" 2010-02-27 18:37:44 +01:00
Vinson Lee
d3004d9156 radeon: Assert pointer is not null before dereferencing.
Add back an assert that was removed in commit
cd5f167353.
2010-02-27 02:28:00 -08:00
Vinson Lee
e63f532d26 dri: Assert pointer is not null before dereferencing. 2010-02-27 02:18:06 -08:00
Vinson Lee
307071fe1e st/dri: Assert pointer is not null before dereferencing. 2010-02-27 02:01:56 -08:00
Vinson Lee
226d981738 r600: Assert pointer is not null before dereferencing. 2010-02-27 01:52:46 -08:00
Vinson Lee
24a8b470ba glsl: Assert input to strcmp is not null. 2010-02-27 00:31:14 -08:00
Vinson Lee
fd29be3831 glsl: Assert pointer is not null before dereferencing. 2010-02-27 00:08:14 -08:00
Vinson Lee
be97d2c0a6 mesa: Remove unnecessary header. 2010-02-26 23:58:59 -08:00
Jakob Bornecrantz
bbefd86125 st/xorg: Re-enable crtc on resize 2010-02-27 02:12:48 +00:00
Jakob Bornecrantz
122b472814 st/xorg: Fix copy-topy 2010-02-27 02:12:48 +00:00
Jakob Bornecrantz
cfbf75670d vmware/xorg: Bump to match vmware driver 2010-02-27 02:12:48 +00:00
Jakob Bornecrantz
956cd73c23 st/xorg: Make resize fail gracefully 2010-02-27 02:12:48 +00:00
Jakob Bornecrantz
bad4b29d77 st/xorg: Obey max {width|height} from kernel and Gallium 2010-02-27 02:12:48 +00:00
Thomas Hellstrom
55e5737bae st/xorg: Encapsulate all customizable stuff in a separate class.
This avoids exposing the ms driver structure to the winsys,
and nicely encapsulates driver customizable stuff.
In the future more things might be customizable by the winsys, like
throttling, 3D readback etc.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-02-27 02:12:47 +00:00
Jakob Bornecrantz
ab8a232b2c vmware/xorg: Export modinfo just as the other vmware X drivers does 2010-02-27 02:12:47 +00:00
Jakob Bornecrantz
dfe0cc4b02 st/xorg: A bit more debugging info 2010-02-27 02:12:47 +00:00
Jakob Bornecrantz
1eb5b42097 st/xorg: Make default of debugging fallbacks smart
Set it to the same as 2d acceleration
2010-02-27 02:12:47 +00:00