summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-01-26mesa: Don't bind DRAW/READ_FRAMEBUFFER separately without FBO blit supportErik Wien
If GL_EXT_framebuffer_blit was not supported _mesa_DeleteFramebuffersEXT would raise an error when deleting the currently bound framebuffer. This because it tried to bind the default DRAW- and READ_FRAMEBUFFER separately. This patch binds the default FRAMEBUFFER instead in that case. Encountered in the fbo/fbo-copyteximage piglit test on R600. Patch cleaned up a bit by Brian Paul.
2010-01-26vbo: if 'end' is out of bounds, clamp itBrian Paul
If we determine that the 'end' parameter to glDrawElements() is out of bounds, clamp it to the max legal index value.
2010-01-26vbo: clamp DrawElements start/end to max possible valuesBrian Paul
Some apps are sloppy with their start/end values. Clamp them to max possible values to prevent problems later.
2010-01-26mesa: remove redundant _MaxElement computationBrian Paul
Eric added some new code to check if offset < obj_size before computing _MaxElement but my original code was still present afterward and it clobbered the _MaxElement value. Not sure if this came from a bad merge or what.
2010-01-24st/mesa: fix int->uint conversion for negative scissor bound valuesBrian Paul
Based on a patch by Xavier Chantry <chantry.xavier@gmail.com>: If x+width or y+height is negative, then maxx or maxy will get a bogus value when converting that to unsigned. Fix this by setting 0 as minimal value. This was also triggered by teeworlds, but only with some combination of resolution and map section. For example upper part of dm2 at 1280x1024.
2010-01-24mesa: move _mesa_debug() call earlier in _mesa_ScissorBrian Paul
Part of a patch from Xavier Chantry <chantry.xavier@gmail.com>
2010-01-24st/mesa: fix unsigned/signed breakage in scissorXavier Chantry
commit 53174afeeb introduced a portability change that converted GLint x,y to GLuint. That breaks when x and y are negative, which seems to be allowed, and which at least one game uses : teeworlds. Rather than simply reverting the change, it seems possible to convert the 16bit unsigned to GLint so that comparisons are made between signed integers instead. This hopefully does not break anything while keeping MSVC happy. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-24r200: Silence fprintf format warning.Vinson Lee
2010-01-23x86: Do not build read_rgba_span_x86.S on Mac OS X.Vinson Lee
read_rgba_span_x86.S uses the pseudo-ops .hidden and .type which are not recognized on Mac OS X.
2010-01-23x86: Do not use .hidden pseudo-op on Mac OS X.Vinson Lee
The .hidden directive is an unknown pseudo-op on Mac OS X.
2010-01-23glapi: Do not use .type pseudo-op on Mac OS X.Vinson Lee
The .type directive is an unknown pseudo-op on Mac OS X.
2010-01-23r300: Remove unnecessary headers.Vinson Lee
2010-01-23intel: Remove unnecessary headers.Vinson Lee
2010-01-23radeon: Remove unused variable.Vinson Lee
2010-01-23tdfx: Remove unnecessary headers.Vinson Lee
2010-01-23sis: Remove unnecessary headers.Vinson Lee
2010-01-23savage: Remove unnecessary headers.Vinson Lee
2010-01-23mga: Remove unnecessary headers.Vinson Lee
2010-01-22i965: Remove unnecessary headers.Vinson Lee
2010-01-22i915: Remove unnecessary headers.Vinson Lee
2010-01-22mesa: re-implement _mesa_ProgramEnvParameter4fvARB() with memcpy()Brian Paul
This is faster and ensures that NaN floats get stored properly. Before, NaN values (which might be used with UP2H, UP2US, UP4B and UP4UB) weren't getting stored properly with gcc -O3. This is the second part of the fix for the piglit fp-unpack-01 failure (bug 25973).
2010-01-22mesa: use new fetch_vector1ui() function for 'unpack' GPU instructionsBrian Paul
The UP2H, UP2US, UP4B and UP4UB instructions interpret the float registers as integers. With gcc -O3 some bits were getting mixed up somewhere. This is part of the fix for the piglit fp-unpack-01 test failure (bug 25973).
2010-01-22Fix PowerPC related typo in spantmp2.hRuediger Oertel
Signed-off-by: Matthias Hopf <mhopf@suse.de> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-21st/mesa: Remove unnecessary header from st_cb_viewport.c.Vinson Lee
2010-01-21mesa: Use pipe_buffer_write_nooverlap where appropriate.José Fonseca
2010-01-21r200: fix CS section size mismatchRoland Scheidegger
Partial fix for fdo bug 25544 The tex handling will still need CS drm changes, see bug 25544 for more.
2010-01-20mach64: Remove unnecessary headers.Vinson Lee
2010-01-20i810: Remove unnecessary headers.Vinson Lee
2010-01-20ffb: Remove unnecessary headers.Vinson Lee
2010-01-20st/mesa: fix format logic in compatible_src_dst_formats()Brian Paul
We need to consider the user-requested formats, not the actual device- chosen formats. See code comments for more details.
2010-01-19st/dri: update dri2 drawables when viewport is changedBen Skeggs
Fixes gnome-shell on nouveau, as well as window resize with various other applications. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-01-19unichrome: Remove unnecessary headers.Vinson Lee
2010-01-18mesa: Remove unnecessary header from attrib.c.Vinson Lee
2010-01-18mesa: Remove unnecessary header from blend.c.Vinson Lee
2010-01-18mesa: Remove unnecessary headers from buffers.c.Vinson Lee
2010-01-18mesa: Remove unnecessary header from convolve.c.Vinson Lee
2010-01-18mesa: Fix typo of 'unknown' in debug.c.Vinson Lee
2010-01-18mesa: Remove unnecessary headers from debug.c.Vinson Lee
2010-01-18mesa: Remove unnecessary header from depthstencil.c.Vinson Lee
2010-01-18mesa: Remove unnecessary headers from dlist.c.Vinson Lee
2010-01-18mesa: Remove unnecessary header from drawpix.c.Vinson Lee
2010-01-18mesa: Remove unnecessary header from enable.c.Vinson Lee
2010-01-18mesa: Remove unnecessary headers from fbobject.c.Vinson Lee
2010-01-18mesa: Remove unnecessary header from formats.c.Vinson Lee
2010-01-18mesa: Remove unnecessary header from image.c.Vinson Lee
2010-01-18mesa: Handle PIPE_FORMAT_B8G8R8X8_UNORM.José Fonseca
2010-01-18mesa: Remove unnecessary headers from lines.c.Vinson Lee
2010-01-18mesa: Remove unnecessary header from mipmap.c.Vinson Lee
2010-01-18mesa: Remove unnecessary header from pixel.c.Vinson Lee
2010-01-18mesa: Remove unnecessary headers from pixelstore.c.Vinson Lee