summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-10-15mesa: regenerated lex.yy.c w/ _mesa_strtod()Brian Paul
2009-10-15mesa: Use _mesa_strtod in the lexer for assembly shadersNeil Roberts
See bug 24531.
2009-10-14progs/Makefile: remove extra quotingBrian Paul
This reverts part of commit 115edf24a9128b79dfa5f30482c990e2cb898357 and fixes the error: "/bin/sh: line 0: test: too many arguments".
2009-10-13Fix build when PROGRAM_DIRS is empty.Tom Fogal
SUBDIRS just takes PROGRAM_DIRS value. If PROGRAM_DIRS gets set to the empty string (as can happen when building only OSMesa), a 'for' loop will lack anything to iterate over, causing a parse error. This fixes the issue by making sure SUBDIRS is the null string when PROGRAM_DIRS is, and wrapping the for loops in if's, causing them only to execute if there are directories to iterate over.
2009-10-13ac: Fix AIX shared library builds.Tom Fogal
AIX uses ".a" for both static and shared library extensions.
2009-10-11i965: Fix the last valid address setting for the index buffer.Eric Anholt
Again, last valid address, not first invalid address. Fixes regression in 255e5be265133280293bbfd8b2f9b74b2dec50bb that the kernel now catches and caused piglit draw_elements_base_vertex to fail.
2009-10-11i965: Fix the bounds emitted in the vertex buffer packets.Eric Anholt
It's the address of the last valid byte, not the address of the first invalid byte. This should also fix problems with rendering with the new sanity checks in the kernel.
2009-10-10softpipe: revert 564df9dc5f6335eb8dc68f3c69cf054d2142663cBrian Paul
This change silenced valgrind warnings but broke progs/tests/drawbuffers. The problem is we don't know the surface's state when we start caching it (it may or may not be initialized/cleared/etc). So "clearing" it here was presumptuous. Leaving the code in place (but disabled) for reference and when using valgrind. Fixes bug 24401
2009-10-09radeon: fix scissor regressionAlex Deucher
fixes fdo bug 24248
2009-10-09docs: fix aux buffer bug 24426Brian Paul
2009-10-09st/mesa: create aux buffers according to visualBrian Paul
Fixes bug 24426 for gallium.
2009-10-09mesa: fix incorrect assertion in _mesa_add_aux_renderbuffers()Brian Paul
Fixes bug 24426.
2009-10-08mesa: regenerated gl_mangle.h fileBrian Paul
2009-10-07gallium/xlib: call XQueryExtension() in glXQueryExtension()Brian Paul
See bug 24321.
2009-10-07mesa/xlib: call XQueryExtension() in glXQueryExtension()Brian Paul
See bug 24321.
2009-10-07mesa: don't need to free textures, VBOs, etc. in _mesa_meta_free()Brian Paul
They're freed by the normal context deallocation code. Fixes Blender crash, bug 24185.
2009-10-07shader_api: Fix bounds checking of glUniform and glUniformMatrixNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2009-10-07prog_parameter: Document the fact that Size may be > 4Nicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-07docs: fix glXQueryDrawable() bugsBrian Paul
2009-10-07mesa/xlib: fix glXQueryDrawable() bugs, see bug 24320Brian Paul
2009-10-07gallium/xlib: fix glXQueryDrawable() bugs, see bug 24320Brian Paul
2009-10-07progs/xdemos: test glXQueryDrawable()Brian Paul
2009-10-07progs/xdemos: fix swapped parameters to CreatePbuffer()Brian Paul
2009-10-07swrast: s/GLfloat/GLuint/ in bzero()Brian Paul
2009-10-07swrast: add missing returnsBrian Paul
2009-10-07progs/test: Fix MSVC build.Vinson Lee
2009-10-07mesa/xlib: return 0 for errorBase, eventBase in glXQueryExtension()Brian Paul
A little better than leaving the values undefined, I think. See bug 24321.
2009-10-07gallium/xlib: return 0 for errorBase, eventBase in glXQueryExtension()Brian Paul
A little better than leaving the values undefined, I think. See bug 24321.
2009-10-05intel: use driReadDrawable in do_copy_texsubimage()Brian Paul
2009-10-05intel: use driReadDrawable, not driDrawable in do_blit_readpixels()Brian Paul
2009-10-05intel: remove a buffer equality test in _mesa_make_current()Brian Paul
Before, if we called glXMakeCurrent() to change a context's window binding while an FBO was bound, we weren't updating the intel->driDrawable and intel->driReadDrawable fields. This could cause us to dereference a null pointer elsewhere.
2009-10-05mesa: fix return value when clipping {Read,Draw}Pixels height <= 0Brian Paul
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> (cherry picked from master, commit 7aeaca33c331f70d507fc83583b13b8d9fc3e847)
2009-10-05Fix building of GLSL demos which use M_PIJon TURNEY
Some <math.h> files do not define M_PI, in which case, provide our own definition Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-10-05Use _mesa_select_tex_image() rather than hardcoding face 0.Michel Dänzer
Fixes crash loading a map in sauerbraten with hwmipmap 1 in ~/.sauerbraten/config.cfg.
2009-10-04r200: remove subpixel offset from viewportFrederic Crozat
Fixes bug fdo 20340 for r200.
2009-10-03r300: Workaround problem on R500 with very large fragment programsNicolai Hähnle
The non-KMS interface is to blame here. In theory, a proper fix could be produced that works for the KMS interface only, but it require cleaning a lot of mess. Easier to just do it right in r300g. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-02docs: document default texture binding fixBrian Paul
2009-10-02mesa: fix incorrect default texture binding in unbind_texobj_from_texunits()Brian Paul
If we deleted a currently bound texture, we were always reverting the texture binding to the default 1D texture rather than the proper default texture.
2009-10-02gallium/xlib: use bitwise-and to test GLX_RGBA_BIT in choose_visual()Brian Paul
The parameter is a bitmask.
2009-10-02xlib: use bitwise-and to test GLX_RGBA_BIT in choose_visual()Brian Paul
The parameter is a bitmask.
2009-10-02gallium/xlib: return GLX_RGBA_BIT or GLX_COLOR_INDEX_BIT in get_config()Brian Paul
This reverts part of commit a6b84aef4ad3a7bac40704146a98977c62bfb6e8
2009-10-02gallium: replace // comments with /* */Brian Paul
2009-10-02gallium: remove // comment and extra whitespaceBrian Paul
2009-10-01mesa: fix memory leak when generating mipmaps for compressed texturesBrian Paul
2009-10-01mesa: fix mem leaksBrian Paul
2009-10-01gallium/util: silence uninitialized var warningBrian Paul
2009-10-01mesa: add missing return when out of memoryBrian Paul
2009-10-01mesa: fix potential uninitialized memory readsBrian Paul
2009-10-01glsl: fix mem leakBrian Paul
2009-10-01st/mesa: check for null before asserts, fix possible mem leakBrian Paul