summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-03-18mesa: use the IROUND() macro in pixel packing codeBrian Paul
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.
2009-03-18slang: redo the last commit for if/break & if/continue tests as itAlan Hourihane
wasn't good enough for deeply nested if's.
2009-03-18Revert "slang: if we detect an if/break or if/continue within a loop and we're"Alan Hourihane
This reverts commit 752296b8f311c5e3844f3ce89d17ba57224ce5ba.
2009-03-18slang: if we detect an if/break or if/continue within a loop and we'reAlan Hourihane
trying to unroll, bail, and fallback to doing the real loop.
2009-03-18st: call _glapi_check_multithread from st_make_currentKeith Whitwell
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.
2009-03-18stw: Fix makeCurrent.Thomas Hellstrom
Flush if we change current context. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-03-18st: need to free/realloc pipe texture when we're handed image level > last_levelBrian Paul
Fixes progs/tests/tri-fbo-tex-mip.c
2009-03-18st: clean up some if-statment codeBrian Paul
2009-03-18softpipe: more texture transfer fixes.Brian Paul
Need to null-out pointers after freeing transfer objects. Fix mix-ups between tc->transfer and tc->tex_trans fields.
2009-03-18softpipe: need to set tc->transfer=NULL after destroying the transfer objectBrian Paul
This fixes a number of crashes/regressions in programs such as lodbias.c, mipmap_limits.c, etc.
2009-03-18st: update texture commentsBrian Paul
2009-03-18Use the specified X11 headers for xlib mesaDan Nicholson
The xlib build was using the system's Xlib headers or bombing if they weren't available.
2009-03-18pipe/atomic: dont use ms interlock calls from gccKeith Whitwell
2009-03-18util: avoid clashprone UINT, UBYTE enum valuesKeith Whitwell
2009-03-18draw: use AOS_ERROR rather than clash-prone ERROR() macroKeith Whitwell
2009-03-18pipe/atomic: clean up #ifdef mazeKeith Whitwell
2009-03-18xlib st: Fix makeCurrent.Thomas Hellstrom
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>
2009-03-18nouveau: rewrite winsys in terms of drm_api, support dri2 state trackerBen Skeggs
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.
2009-03-18st/dri2: use pipe_screen.is_format_supported to choose depth/stencil formatBen Skeggs
2009-03-17r300-gallium: Move all unsorted state into invariant state.Corbin Simpson
Gotta just slowly whittle this down.
2009-03-17r300-gallium: Emit invariant state, no matter what.Corbin Simpson
It's called "invariant" for a reason. :3
2009-03-17r300-gallium: Quick little cleanup of surface_fill state.Corbin Simpson
2009-03-17tgsi: Restore statement ordering.José Fonseca
2009-03-17r300-gallium: Debugging for the more sensitive card registers.Corbin Simpson
These are nearly always the cause of hardlocks, so let's dump them.
2009-03-17r300-gallium: r500-fs: Fixup immediate->constant counting a bit.Corbin Simpson
2009-03-17r300-gallium: More query stuff.Corbin Simpson
Should work, but doesn't. At least it doesn't hardlock.
2009-03-17swrast: use better _swrast_compute_lambda() functionBrian Paul
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 <nirr@horizonsemi.com>
2009-03-17mesa: update/fix doxygen commentsVinson Lee
2009-03-17util: Realloc takes bytes.José Fonseca
2009-03-17tgsi: Document ps_2_0 instruction set operations.Michal Krol
2009-03-17tgsi: Document ps_1_4 instruction set operations.Michal Krol
2009-03-17tgsi: Document ps_1_1 instruction set operations.Michal Krol
2009-03-17tgsi: Begin documenting GLSL instruction set operations.Michal Krol
2009-03-17tgsi: Begin documenting NV_geometry_program4 instruction set operations.Michal Krol
2009-03-17python: Return on unknown pixel format.Michal Krol
2009-03-17gallium: Use `_new' name, `new' is a reserved keyword in C++.Michal Krol
2009-03-17gallium: Provide unprotected atomic implementation for display and miniport ↵Michal Krol
interfaces.
2009-03-17python: Fix build after refcount rework.Michal Krol
2009-03-17python: Include `p_winsys_screen.h'.Michal Krol
2009-03-17python: Do not pass screen object to pipe_buffer_reference.Michal Krol
2009-03-17tgsi: Silence const pointer cast warnings.Michal Krol
2009-03-17r300-gallium: r500-fs: Properly set up TEX/OUT.Corbin Simpson
2009-03-17r300-gallium: r500-fs: Texture insts, ABS, moar comments.Corbin Simpson
2009-03-17r300-gallium: Clean up some code, un-special-case scalar ops.Corbin Simpson
2009-03-17r300-gallium: r500-fs: CMP/MOV/SWZ, negation, ADD/MAD/MUL/SUB.Corbin Simpson
Also a fair amount of cleanup.
2009-03-17r300-gallium: Fix relocation for textures.Corbin Simpson
This keeps texture emit from invalidating CS.
2009-03-16trace: Fix memory leakJakob Bornecrantz
2009-03-16util: bitmask data type.José Fonseca
2009-03-16trace: Re-init refcounters just incaseJakob Bornecrantz
2009-03-16trace: Dump buffer data via buffer writesJakob Bornecrantz