Commit Graph

27610 Commits

Author SHA1 Message Date
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
Brian Paul d9c65ddd52 gallium: remove unneeded -I path from Makefile.templast 2010-02-26 10:44:41 -07:00
Brian Paul 298a035286 softpipe: fix up #includes 2010-02-26 10:43:56 -07:00
Brian Paul 3f9ec9aa96 gallium/trace: remove unneeded path prefixes on #includes 2010-02-26 10:43:19 -07:00
Brian Paul 549ce30784 gallium/identity: remove unneeded path prefixes on #includes 2010-02-26 10:43:04 -07:00
Markus Fleschutz 83f1183e76 glx: fix incorrect array stack memory allocation
The array stack space wasn't allocated to the proper size.  Fixes out of
bounds memory writes when the client/array stack depth exceeds one.

See fd.o bug 26768.
2010-02-26 10:34:21 -07:00
José Fonseca c78f84eebb util: Define SRGB's channels as normalized.
A better approximation than uscaled...
2010-02-26 16:46:34 +00:00
José Fonseca 9beb302212 util: Code generate functions to pack and unpack a single pixel.
Should work correctly for all pixel formats except SRGB formats.

Generated code made much simpler by defining the pixel format as
a C structure. For example this is the generated structure for
PIPE_FORMAT_B6UG5SR5S_NORM:

union util_format_b6ug5sr5s_norm {
   uint16_t value;
   struct {
      int r:5;
      int g:5;
      unsigned b:6;
   } chan;
};

Not used everywhere yet because it seems compiled code is slower than
bitshift arithmetic by some misterious reason. So we should generate
bitshift arithmetic at least for the simple UNORM pixel formats.
2010-02-26 16:46:34 +00:00
José Fonseca 4757325951 util: Factor some code into u_format_parse.py 2010-02-26 16:46:34 +00:00
José Fonseca fda9a19b34 util: Add util_bswap16. 2010-02-26 16:46:34 +00:00
José Fonseca 092010db37 util: Use python names consistent with u_format.h 2010-02-26 16:46:34 +00:00
Brian Paul fe25476c04 mesa: fix _BaseFormat assignment in _mesa_soft_renderbuffer_storage()
The rb->InternalFormat field will be set by the caller if the allocation
succeeds.  Until then, this field's value can't be used.  Fixes a failed
assertion with FlightGear.
2010-02-26 09:03:34 -07:00
José Fonseca 8416d34279 llvmpipe: Fix lp_tile_r5g6b5_unorm_write_4ub.
Was using 32bit integer pointers instead of 16bits.
2010-02-26 10:12:53 +00:00
José Fonseca eee21b3812 llvmpipe: Fix scons dependencies. 2010-02-26 10:12:53 +00:00
José Fonseca e2b02ea9db util: Add is_pot() method to formats. 2010-02-26 10:12:53 +00:00
José Fonseca 49f35a379d Revert "glapi: Remove unnecessary headers."
This reverts commit ead22e6a32.

This headers are not unnecessary on windows.
2010-02-26 09:09:35 +00:00
Vinson Lee e5c691f445 r300/compiler: Assert that array index is not negative. 2010-02-26 00:17:03 -08:00
Vinson Lee ead22e6a32 glapi: Remove unnecessary headers. 2010-02-25 23:58:45 -08:00
Vinson Lee c76d4db252 i965: Remove unnecessary headers. 2010-02-25 23:51:05 -08:00
Brian Paul bdbb5f8170 swrast: add 0.5 bias in tex_array_slice() per the spec 2010-02-25 20:21:39 -07:00
Brian Paul 4db9f83612 mesa: enable GL_EXT_texture_array for sw drivers 2010-02-25 20:11:55 -07:00
Brian Paul 1f2b495b55 glsl: implement support for GL_EXT_texture_array
GL_EXT_texture_array is different from the existing GL_MESA_texture_array
support in that the former is only supported for GLSL, not fixed-function.

The shadow compare versions of the sampler functions haven't been tested
yet.  The non-shadow versions have been tested with a new piglit test.
2010-02-25 20:11:55 -07:00
Brian Paul 1edd444c2e mesa: added new extension flag for GL_EXT_texture_array 2010-02-25 20:11:54 -07:00
Brian Paul 58ab56d323 swrast: the only wrap mode for selecting texture array slices is clamp 2010-02-25 20:11:54 -07:00