Commit graph

31661 commits

Author SHA1 Message Date
George Sapountzis
fae5758fac glapi.c: mv check_table to glapi_getproc.c 2010-03-01 20:54:19 +02:00
George Sapountzis
42f3241e04 glapi.c: split check_table to not_null and get_proc 2010-03-01 20:54:18 +02:00
George Sapountzis
750a7f1f1d glapi.h: drop dispatch_override prototypes
cannot find them in mesa tree
2010-03-01 20:54:18 +02:00
George Sapountzis
57d31591d1 glapi.h: misc cosmetic
- revert context/dispatch order, similar to glapi.c
- stray GL_GLEXT_PROTOTYPES
2010-03-01 20:54:18 +02:00
George Sapountzis
a4ec52f245 glapi.h: consolidate GET_DISPATCH() and GET_CURRENT_CONTEXT() macros
Use likely() macro, as this is what most projects use.

Drops GL_CALL define, cannot find it in mesa tree.

Also, whitespace cleaunps in glthread.h
2010-03-01 20:54:17 +02:00
Michal Krol
9a2c4f907b tgsi: Cleanup exec code for CLAMP, CMP and CND. 2010-03-01 17:57:18 +01:00
José Fonseca
b66b4cf646 util: A few more todo marks. 2010-03-01 14:56:20 +00:00
José Fonseca
4a991b5783 util: More documentation for u_format.csv 2010-03-01 14:56:20 +00:00
José Fonseca
ffe90af2e8 util: Tweak comments regarding R8G8B8A8/X8_UNORM. 2010-03-01 14:56:20 +00:00
José Fonseca
bd3c063da8 python: Don't mention deprecated drivers=trace option.
Now trace always built.
2010-03-01 14:56:19 +00:00
José Fonseca
f54aecc4f2 python: Don't mention deprecated drivers=trace option.
Now trace always built.
2010-03-01 13:08:07 +00:00
José Fonseca
e243e87b52 llvmpipe: Don't mention deprecated drivers=trace option.
Now trace always built.
2010-03-01 13:08:07 +00:00
José Fonseca
c05c675de6 progs/gallium: Make a phony target "unit" to run unit tests. 2010-03-01 13:08:06 +00:00
Francisco Jerez
e7ca0e126e dri/nouveau: Combine the dummy texture more deterministically on nv0x. 2010-03-01 02:07:01 +01:00
Francisco Jerez
c7955f1341 dri/nouveau: Fix up the ADD texture environment on nv0x. 2010-03-01 02:07:01 +01:00
Andrew Randrianasulu
394672659d dri/nouveau: Add two stencil operation cases in nv04_state_raster.c.
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-01 02:07:00 +01:00
Andrew Randrianasulu
949587d169 dri/nouveau: Allow to render to XRGB8888 textures.
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-01 02:06:13 +01:00
Marek Olšák
d2ac3d5e79 r300g: atomize texture and sampler states 2010-02-28 19:30:39 +01:00
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