aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* vbo: clamp DrawElements start/end to max possible valuesBrian Paul2010-01-261-0/+10
| | | | | Some apps are sloppy with their start/end values. Clamp them to max possible values to prevent problems later.
* mesa: remove redundant _MaxElement computationBrian Paul2010-01-261-6/+0
| | | | | | | | 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.
* docs: document Intel, R300 env varsBrian Paul2010-01-261-0/+19
|
* st/xorg: Fix crash on resize with libkmsJakob Bornecrantz2010-01-251-2/+12
|
* vega: fix incorrect samplers, textures indexes in blend_bind_samplers()Igor Oliveira2010-01-251-2/+2
| | | | | | Fixes fd.o bug 25863. Signed-off-by: Brian Paul <[email protected]>
* vmware/xorg: Do buffer round-robin logic differentlyJakob Bornecrantz2010-01-251-1/+2
|
* st/xorg: Improve options and print them to logJakob Bornecrantz2010-01-252-3/+18
| | | | | | Set 2D acceleration to off by default Get fallback debugging from the Xorg config Also print if 3D acceleration is enabled
* vmware/xorg: Export pci_probe function for ugly chain-loadingJakob Bornecrantz2010-01-251-5/+5
|
* st/xorg: Export helper function for detecting modesettingJakob Bornecrantz2010-01-252-0/+23
|
* st/xorg: Fix warningJakob Bornecrantz2010-01-251-0/+2
|
* st/mesa: fix int->uint conversion for negative scissor bound valuesBrian Paul2010-01-241-4/+9
| | | | | | | | | | Based on a patch by Xavier Chantry <[email protected]>: 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.
* mesa: move _mesa_debug() call earlier in _mesa_ScissorBrian Paul2010-01-241-3/+3
| | | | Part of a patch from Xavier Chantry <[email protected]>
* st/mesa: fix unsigned/signed breakage in scissorXavier Chantry2010-01-241-4/+4
| | | | | | | | | | | | | 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 <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* r200: Silence fprintf format warning.Vinson Lee2010-01-241-1/+1
|
* x86: Do not build read_rgba_span_x86.S on Mac OS X.Vinson Lee2010-01-231-2/+2
| | | | | read_rgba_span_x86.S uses the pseudo-ops .hidden and .type which are not recognized on Mac OS X.
* x86: Do not use .hidden pseudo-op on Mac OS X.Vinson Lee2010-01-231-2/+2
| | | | The .hidden directive is an unknown pseudo-op on Mac OS X.
* glapi: Do not use .type pseudo-op on Mac OS X.Vinson Lee2010-01-232-2/+2
| | | | The .type directive is an unknown pseudo-op on Mac OS X.
* scons: Do not use ld options start-group and end-group on Darwin.Vinson Lee2010-01-231-1/+4
| | | | Mac OS X ld does not support these options.
* scons: Define _DARWIN_C_SOURCE on Darwin builds.Vinson Lee2010-01-231-0/+2
|
* progs/demos: Remove unnecessary header from shadowtex.c.Vinson Lee2010-01-232-8/+0
|
* r300: Remove unnecessary headers.Vinson Lee2010-01-2311-39/+0
|
* intel: Remove unnecessary headers.Vinson Lee2010-01-2315-32/+0
|
* radeon: Remove unused variable.Vinson Lee2010-01-231-1/+0
|
* tdfx: Remove unnecessary headers.Vinson Lee2010-01-238-22/+0
|
* sis: Remove unnecessary headers.Vinson Lee2010-01-239-16/+0
|
* savage: Remove unnecessary headers.Vinson Lee2010-01-236-11/+0
|
* mga: Remove unnecessary headers.Vinson Lee2010-01-237-16/+0
|
* i965: Remove unnecessary headers.Vinson Lee2010-01-2218-31/+0
|
* i915: Remove unnecessary headers.Vinson Lee2010-01-225-13/+0
|
* gallium/util: fix incorrect shift in a4r4g4b4_put_tile_rgba()Brian Paul2010-01-221-1/+1
| | | | Fixes fd.o bug 23313.
* mesa: re-implement _mesa_ProgramEnvParameter4fvARB() with memcpy()Brian Paul2010-01-221-3/+30
| | | | | | | | | 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).
* mesa: use new fetch_vector1ui() function for 'unpack' GPU instructionsBrian Paul2010-01-221-24/+42
| | | | | | | 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).
* xlib/softpipe: more buffer free fixesBrian Paul2010-01-221-12/+11
| | | | | | The previous memory leak fix didn't always work properly. Now check the xm_buffer::smh field (now documented!) to see if the buffer points to shared memory.
* gallium/draw: apply DRAW_PIPE_FLAG_MASK to all vertex elementsBrian Paul2010-01-221-3/+3
| | | | | | | | | Depending on first/last provoking vertex either the first or last element/index may have the extra DRAW_PIPE_x flags. Mask off those bits for all vertex elements to be safe (esp. for the quad case). This may be overly cautious, but it's a cheap operation. Fixes a segfault caused by large/bogus vertex indexes otherwise.
* gallium/draw: added comments, whitespace fixesBrian Paul2010-01-221-8/+30
|
* Fix PowerPC related typo in spantmp2.hRuediger Oertel2010-01-221-1/+1
| | | | | Signed-off-by: Matthias Hopf <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* vmware/core: Update for pipebuffer changes.José Fonseca2010-01-222-14/+84
| | | | | In particular, delay patching GMR relocations until the buffers are validated, since the buffers relative offset can only be established then.
* st/mesa: Remove unnecessary header from st_cb_viewport.c.Vinson Lee2010-01-211-1/+0
|
* progs/trivial: Remove unnecessary header from tri-fbo-tex-mip.c.Vinson Lee2010-01-211-1/+0
|
* i915g: Remove unnecessary header.Vinson Lee2010-01-211-1/+0
|
* pipebuffer: Remove unnecessary header.Vinson Lee2010-01-211-1/+0
|
* draw: Remove unnecessary headers.Vinson Lee2010-01-217-9/+0
|
* svga: Remove unused variable.Vinson Lee2010-01-211-1/+0
|
* vmware/core: Flush preemptively the FIFO commands to keep the GMR working ↵José Fonseca2010-01-211-1/+37
| | | | set within reasonable bounds.
* vmware/core: Put GMR pool size in a define.José Fonseca2010-01-212-1/+5
|
* vmw/wgl: Update for pipebuffer changes.José Fonseca2010-01-211-1/+3
| | | | | | | | This is a minimum change to keep things building and running minimally -- it might cause applications to fail to allocate buffers due to out of GMR memory. A proper update will be commited later.
* svga: Remove duplicate code.José Fonseca2010-01-211-4/+2
|
* svga: Remove unused code.José Fonseca2010-01-213-30/+4
|
* svga: Don't swap buffers to system memory -- winsys' responsibility.José Fonseca2010-01-212-63/+0
|
* pipebuffer: Release the lock during map wait. Cleanups.José Fonseca2010-01-211-63/+131
|