Commit graph

27633 commits

Author SHA1 Message Date
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
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
Jakob Bornecrantz
d11f9a7bd8 drm/vmware: Latest interface changes are backwards incopatible
Since the execbuffer change actually changed size off the ioctl
struct and not just a reuse of padded bits, we can't support
old kernels as easily as the scanout change was.
2010-02-27 02:12:47 +00:00
Thomas Hellstrom
0a1b760cd2 st/xorg, vmware/xorg: Fix xnfcalloc arguments.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-02-27 02:12:47 +00:00
Thomas Hellstrom
4fd43b0922 vmware: Update vmwgfx_drm.h to kernel version.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-02-27 02:12:47 +00:00
Alex Deucher
52eb2ef6bf r600: enable OQ on rv740 on drms with working pipe config 2010-02-26 15:26:51 -05:00
Klaus Schnass
424a8385e4 r600: fail to validate unsupported texture formats 2010-02-26 15:26:51 -05:00
Christoph Bumiller
d1fe9bcc3f nv40: fix include of nv04_surface_2d.h 2010-02-26 21:16:52 +01:00
Kristian Høgsberg
557c20b309 egl_dri2: Implement EGL_KHR_gl_renderbuffer_image 2010-02-26 14:52:14 -05:00
Kristian Høgsberg
d7322c9d42 intel: Lookup requested renderbuffer in intel_create_image_from_renderbuffer
Previously we'd use the current renderbuffer.
2010-02-26 14:52:14 -05:00
Brian Paul
f519d3d6b6 gallium: define GENERATED auxiliary files
Don't need special default dependency on u_format_pack.h anymore.
2010-02-26 12:32:04 -07:00
Brian Paul
f89c237c2c gallium: added GENERATED_SOURCES var to Makefile.template
For use in dependency checking and make clean.
2010-02-26 12:32:04 -07:00
Kristian Høgsberg
ea203de2d0 Set API dispatch pointers for OES_EGL_image functions
This chunk fell through the cracks when I rebase the EGLImage patch series.
2010-02-26 13:18:47 -05:00
Brian Paul
ac56a44d5e Revert "gallium: remove unneeded -I path from Makefile.templast"
This reverts commit d9c65ddd52.

Looks like the nouveau drivers need this.  Perhaps the drivers
could be fixed to add the extra -I path where needed.  I'll leave
that up to others.
2010-02-26 10:54:20 -07:00
Brian Paul
5ed444a7a4 gallium/nouveau: clean-up #includes 2010-02-26 10:54:05 -07:00