summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* mesa: use the IROUND() macro in pixel packing codeBrian Paul2009-03-181-108/+108
| | | | | | It turns out some tests are sensitive to rounding vs. truncating when converting float color values to integers in glReadPixels(). In particular, this matters when the destination format is 5/6/5 or 4/4/4/4, etc.
* slang: redo the last commit for if/break & if/continue tests as itAlan Hourihane2009-03-181-1/+8
| | | | wasn't good enough for deeply nested if's.
* Revert "slang: if we detect an if/break or if/continue within a loop and we're"Alan Hourihane2009-03-181-28/+17
| | | | This reverts commit 752296b8f311c5e3844f3ce89d17ba57224ce5ba.
* slang: if we detect an if/break or if/continue within a loop and we'reAlan Hourihane2009-03-181-17/+28
| | | | trying to unroll, bail, and fallback to doing the real loop.
* st: call _glapi_check_multithread from st_make_currentKeith Whitwell2009-03-182-5/+5
| | | | | | | This function is called from many OS-dependent versions of MakeCurrent. Move the check for multithreading to this central location to avoid having to make this check from all the callers.
* stw: Fix makeCurrent.Thomas Hellstrom2009-03-181-2/+8
| | | | | | Flush if we change current context. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
* st: need to free/realloc pipe texture when we're handed image level > last_levelBrian Paul2009-03-181-0/+1
| | | | Fixes progs/tests/tri-fbo-tex-mip.c
* st: clean up some if-statment codeBrian Paul2009-03-181-12/+11
|
* softpipe: more texture transfer fixes.Brian Paul2009-03-181-4/+8
| | | | | Need to null-out pointers after freeing transfer objects. Fix mix-ups between tc->transfer and tc->tex_trans fields.
* softpipe: need to set tc->transfer=NULL after destroying the transfer objectBrian Paul2009-03-181-0/+1
| | | | | This fixes a number of crashes/regressions in programs such as lodbias.c, mipmap_limits.c, etc.
* st: update texture commentsBrian Paul2009-03-181-7/+5
|
* Use the specified X11 headers for xlib mesaDan Nicholson2009-03-181-1/+2
| | | | | The xlib build was using the system's Xlib headers or bombing if they weren't available.
* pipe/atomic: dont use ms interlock calls from gccKeith Whitwell2009-03-181-1/+2
|
* util: avoid clashprone UINT, UBYTE enum valuesKeith Whitwell2009-03-181-58/+58
|
* draw: use AOS_ERROR rather than clash-prone ERROR() macroKeith Whitwell2009-03-183-9/+9
|
* pipe/atomic: clean up #ifdef mazeKeith Whitwell2009-03-181-17/+135
|
* xlib st: Fix makeCurrent.Thomas Hellstrom2009-03-182-11/+17
| | | | | | | | Flush if we change context. Also reinstate the old optimization of doing nothing if nothing changes. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
* nouveau: rewrite winsys in terms of drm_api, support dri2 state trackerBen Skeggs2009-03-1826-746/+505
| | | | | | | | | | drm_api is a set of hooks used by the dri2 state tracker, this wraps our dri1 code around the same set of hooks. Currently the dri2 build will produce nouveau_dri2.so which you'll need to install as nouveau_dri.so if you wish to try it. The dri2 state tracker doesn't make it easy for a driver to support both paths in the same binary.
* st/dri2: use pipe_screen.is_format_supported to choose depth/stencil formatBen Skeggs2009-03-181-6/+20
|
* r300-gallium: Move all unsorted state into invariant state.Corbin Simpson2009-03-172-123/+124
| | | | Gotta just slowly whittle this down.
* r300-gallium: Emit invariant state, no matter what.Corbin Simpson2009-03-173-2/+2
| | | | It's called "invariant" for a reason. :3
* r300-gallium: Quick little cleanup of surface_fill state.Corbin Simpson2009-03-171-12/+11
|
* tgsi: Restore statement ordering.José Fonseca2009-03-171-1/+1
|
* r300-gallium: Debugging for the more sensitive card registers.Corbin Simpson2009-03-171-4/+12
| | | | These are nearly always the cause of hardlocks, so let's dump them.
* r300-gallium: r500-fs: Fixup immediate->constant counting a bit.Corbin Simpson2009-03-171-2/+4
|
* r300-gallium: More query stuff.Corbin Simpson2009-03-172-6/+46
| | | | Should work, but doesn't. At least it doesn't hardlock.
* swrast: use better _swrast_compute_lambda() functionBrian Paul2009-03-171-6/+6
| | | | | | | | | | The MAX-based function can produce values that are non-monotonic for a span which causes glitches in texture filtering. The sqrt-based one avoids that. This is perhaps slightly slower than before, but the difference probably isn't noticable given we're doing software mipmap filtering. Issue reported by Nir Radian <[email protected]>
* mesa: update/fix doxygen commentsVinson Lee2009-03-1712-17/+16
|
* util: Realloc takes bytes.José Fonseca2009-03-171-2/+2
|
* tgsi: Document ps_2_0 instruction set operations.Michal Krol2009-03-171-0/+57
|
* tgsi: Document ps_1_4 instruction set operations.Michal Krol2009-03-171-0/+9
|
* tgsi: Document ps_1_1 instruction set operations.Michal Krol2009-03-171-0/+9
|
* tgsi: Begin documenting GLSL instruction set operations.Michal Krol2009-03-171-0/+54
|
* tgsi: Begin documenting NV_geometry_program4 instruction set operations.Michal Krol2009-03-171-0/+14
|
* python: Return on unknown pixel format.Michal Krol2009-03-171-0/+1
|
* gallium: Use `_new' name, `new' is a reserved keyword in C++.Michal Krol2009-03-171-9/+9
|
* gallium: Provide unprotected atomic implementation for display and miniport ↵Michal Krol2009-03-171-1/+15
| | | | interfaces.
* python: Fix build after refcount rework.Michal Krol2009-03-171-3/+3
|
* python: Include `p_winsys_screen.h'.Michal Krol2009-03-171-8/+9
|
* python: Do not pass screen object to pipe_buffer_reference.Michal Krol2009-03-171-1/+1
|
* tgsi: Silence const pointer cast warnings.Michal Krol2009-03-171-4/+11
|
* r300-gallium: r500-fs: Properly set up TEX/OUT.Corbin Simpson2009-03-171-4/+14
|
* r300-gallium: r500-fs: Texture insts, ABS, moar comments.Corbin Simpson2009-03-171-28/+66
|
* r300-gallium: Clean up some code, un-special-case scalar ops.Corbin Simpson2009-03-171-42/+31
|
* r300-gallium: r500-fs: CMP/MOV/SWZ, negation, ADD/MAD/MUL/SUB.Corbin Simpson2009-03-172-37/+44
| | | | Also a fair amount of cleanup.
* r300-gallium: Fix relocation for textures.Corbin Simpson2009-03-171-2/+2
| | | | This keeps texture emit from invalidating CS.
* trace: Fix memory leakJakob Bornecrantz2009-03-161-1/+2
|
* util: bitmask data type.José Fonseca2009-03-163-0/+435
|
* trace: Re-init refcounters just incaseJakob Bornecrantz2009-03-162-0/+5
|
* trace: Dump buffer data via buffer writesJakob Bornecrantz2009-03-162-64/+37
|