Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: use the IROUND() macro in pixel packing code | Brian Paul | 2009-03-18 | 1 | -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 it | Alan Hourihane | 2009-03-18 | 1 | -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 Hourihane | 2009-03-18 | 1 | -28/+17 |
| | | | | This reverts commit 752296b8f311c5e3844f3ce89d17ba57224ce5ba. | ||||
* | slang: if we detect an if/break or if/continue within a loop and we're | Alan Hourihane | 2009-03-18 | 1 | -17/+28 |
| | | | | trying to unroll, bail, and fallback to doing the real loop. | ||||
* | st: call _glapi_check_multithread from st_make_current | Keith Whitwell | 2009-03-18 | 2 | -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 Hellstrom | 2009-03-18 | 1 | -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_level | Brian Paul | 2009-03-18 | 1 | -0/+1 |
| | | | | Fixes progs/tests/tri-fbo-tex-mip.c | ||||
* | st: clean up some if-statment code | Brian Paul | 2009-03-18 | 1 | -12/+11 |
| | |||||
* | softpipe: more texture transfer fixes. | Brian Paul | 2009-03-18 | 1 | -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 object | Brian Paul | 2009-03-18 | 1 | -0/+1 |
| | | | | | This fixes a number of crashes/regressions in programs such as lodbias.c, mipmap_limits.c, etc. | ||||
* | st: update texture comments | Brian Paul | 2009-03-18 | 1 | -7/+5 |
| | |||||
* | Use the specified X11 headers for xlib mesa | Dan Nicholson | 2009-03-18 | 1 | -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 gcc | Keith Whitwell | 2009-03-18 | 1 | -1/+2 |
| | |||||
* | util: avoid clashprone UINT, UBYTE enum values | Keith Whitwell | 2009-03-18 | 1 | -58/+58 |
| | |||||
* | draw: use AOS_ERROR rather than clash-prone ERROR() macro | Keith Whitwell | 2009-03-18 | 3 | -9/+9 |
| | |||||
* | pipe/atomic: clean up #ifdef maze | Keith Whitwell | 2009-03-18 | 1 | -17/+135 |
| | |||||
* | xlib st: Fix makeCurrent. | Thomas Hellstrom | 2009-03-18 | 2 | -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 tracker | Ben Skeggs | 2009-03-18 | 26 | -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 format | Ben Skeggs | 2009-03-18 | 1 | -6/+20 |
| | |||||
* | r300-gallium: Move all unsorted state into invariant state. | Corbin Simpson | 2009-03-17 | 2 | -123/+124 |
| | | | | Gotta just slowly whittle this down. | ||||
* | r300-gallium: Emit invariant state, no matter what. | Corbin Simpson | 2009-03-17 | 3 | -2/+2 |
| | | | | It's called "invariant" for a reason. :3 | ||||
* | r300-gallium: Quick little cleanup of surface_fill state. | Corbin Simpson | 2009-03-17 | 1 | -12/+11 |
| | |||||
* | tgsi: Restore statement ordering. | José Fonseca | 2009-03-17 | 1 | -1/+1 |
| | |||||
* | r300-gallium: Debugging for the more sensitive card registers. | Corbin Simpson | 2009-03-17 | 1 | -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 Simpson | 2009-03-17 | 1 | -2/+4 |
| | |||||
* | r300-gallium: More query stuff. | Corbin Simpson | 2009-03-17 | 2 | -6/+46 |
| | | | | Should work, but doesn't. At least it doesn't hardlock. | ||||
* | swrast: use better _swrast_compute_lambda() function | Brian Paul | 2009-03-17 | 1 | -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 comments | Vinson Lee | 2009-03-17 | 12 | -17/+16 |
| | |||||
* | util: Realloc takes bytes. | José Fonseca | 2009-03-17 | 1 | -2/+2 |
| | |||||
* | tgsi: Document ps_2_0 instruction set operations. | Michal Krol | 2009-03-17 | 1 | -0/+57 |
| | |||||
* | tgsi: Document ps_1_4 instruction set operations. | Michal Krol | 2009-03-17 | 1 | -0/+9 |
| | |||||
* | tgsi: Document ps_1_1 instruction set operations. | Michal Krol | 2009-03-17 | 1 | -0/+9 |
| | |||||
* | tgsi: Begin documenting GLSL instruction set operations. | Michal Krol | 2009-03-17 | 1 | -0/+54 |
| | |||||
* | tgsi: Begin documenting NV_geometry_program4 instruction set operations. | Michal Krol | 2009-03-17 | 1 | -0/+14 |
| | |||||
* | python: Return on unknown pixel format. | Michal Krol | 2009-03-17 | 1 | -0/+1 |
| | |||||
* | gallium: Use `_new' name, `new' is a reserved keyword in C++. | Michal Krol | 2009-03-17 | 1 | -9/+9 |
| | |||||
* | gallium: Provide unprotected atomic implementation for display and miniport ↵ | Michal Krol | 2009-03-17 | 1 | -1/+15 |
| | | | | interfaces. | ||||
* | python: Fix build after refcount rework. | Michal Krol | 2009-03-17 | 1 | -3/+3 |
| | |||||
* | python: Include `p_winsys_screen.h'. | Michal Krol | 2009-03-17 | 1 | -8/+9 |
| | |||||
* | python: Do not pass screen object to pipe_buffer_reference. | Michal Krol | 2009-03-17 | 1 | -1/+1 |
| | |||||
* | tgsi: Silence const pointer cast warnings. | Michal Krol | 2009-03-17 | 1 | -4/+11 |
| | |||||
* | r300-gallium: r500-fs: Properly set up TEX/OUT. | Corbin Simpson | 2009-03-17 | 1 | -4/+14 |
| | |||||
* | r300-gallium: r500-fs: Texture insts, ABS, moar comments. | Corbin Simpson | 2009-03-17 | 1 | -28/+66 |
| | |||||
* | r300-gallium: Clean up some code, un-special-case scalar ops. | Corbin Simpson | 2009-03-17 | 1 | -42/+31 |
| | |||||
* | r300-gallium: r500-fs: CMP/MOV/SWZ, negation, ADD/MAD/MUL/SUB. | Corbin Simpson | 2009-03-17 | 2 | -37/+44 |
| | | | | Also a fair amount of cleanup. | ||||
* | r300-gallium: Fix relocation for textures. | Corbin Simpson | 2009-03-17 | 1 | -2/+2 |
| | | | | This keeps texture emit from invalidating CS. | ||||
* | trace: Fix memory leak | Jakob Bornecrantz | 2009-03-16 | 1 | -1/+2 |
| | |||||
* | util: bitmask data type. | José Fonseca | 2009-03-16 | 3 | -0/+435 |
| | |||||
* | trace: Re-init refcounters just incase | Jakob Bornecrantz | 2009-03-16 | 2 | -0/+5 |
| | |||||
* | trace: Dump buffer data via buffer writes | Jakob Bornecrantz | 2009-03-16 | 2 | -64/+37 |
| |