Commit graph

31595 commits

Author SHA1 Message Date
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
69a0f375cc eglinfo: Wrap extension string 2010-02-26 15:11:29 -05:00
Kristian Høgsberg
a509b8cc24 xeglgears: Add an case that exercises EGL_KHR_gl_renderbuffer_image 2010-02-26 14:52:14 -05: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
b056e15662 progs/tests: add compile-time option for coloring texture corners
When debugging wrap modes it's helpful to set each corner of the texture
image to a distinct color.
2010-02-26 12:32:04 -07: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
Dan Nicholson
3a650ba3a2 progs/glsl: Ensure CFLAGS are passed during linking
Commit ab6825b3e3 fixed an issue where the
architecture option -m32 wasn't being passed to the compiler when
linking .o files. This would only fix the issue with user's building
with the hacky --enable-32-bit. The right way to fix this is to pass
CFLAGS to the linker, which the GNU make builtin rules unfortunately
don't do.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Tested-by: Török Edwin <edwintorok@gmail.com>
2010-02-26 11:05:54 -08:00
Kristian Høgsberg
88c174d182 xeglgears: Clean up the code a bit
Still a mess...
2010-02-26 13:18:47 -05: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
Brian Paul
e215830c38 mesa: update tarball file list, bump version string 2010-02-26 08:21:44 -07:00
Brian Paul
68205bf5b4 progs/xdemos: fix typo in glxinfo help 2010-02-26 08:17:37 -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
Michel Dänzer
0c20b30333 Fix up more stale references to gl(X)_API.xml which have moved.
AFAICT the getproc* stanzas in progs/{fp,trivial}/Makefile are completely
unused at this point, so just remove them.
2010-02-26 10:48:07 +01:00
Wil Reichert
2da7f1af38 fix test progs from gl_API move
Looks like these got missed.
2010-02-26 10:48:06 +01: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
70d5c48341 docs: GL_EXT_texture_array updates 2010-02-25 20:11:55 -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
Brian Paul
ac498f2dce mesa: added texture array targets in sizeof_glsl_type() 2010-02-25 20:11:54 -07:00
Brian Paul
2c1619869a mesa: added cases for texture array targets 2010-02-25 20:11:54 -07:00