summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* os: Don't assert on missing implementation of barrier init/destroy. Just usage.José Fonseca2010-02-051-2/+0
|
* Merge remote branch 'origin/master'José Fonseca2010-02-052-1/+17
|\
| * r200: Optimize polygon stipple emit.Pauli Nieminen2010-02-051-1/+10
| | | | | | | | Only emit polygon stipple when the state is enabled.
| * r200: Add trace logging to r200PointSize.Pauli Nieminen2010-02-051-0/+7
| |
* | Merge remote branch 'origin/lp-binning'José Fonseca2010-02-0567-3693/+6671
|\ \ | |/ |/| | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_dl.c src/gallium/auxiliary/util/u_time.h src/gallium/drivers/llvmpipe/lp_state_derived.c src/gallium/drivers/llvmpipe/lp_state_surface.c src/gallium/drivers/llvmpipe/lp_tex_cache.c src/gallium/drivers/llvmpipe/lp_tile_cache.c
| * Merge remote branch 'origin/master' into lp-binningJosé Fonseca2010-01-31797-16253/+29865
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile src/gallium/auxiliary/util/u_surface.c src/gallium/drivers/llvmpipe/lp_flush.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_state_derived.c src/gallium/drivers/llvmpipe/lp_state_fs.c src/gallium/drivers/llvmpipe/lp_state_surface.c src/gallium/drivers/llvmpipe/lp_tex_cache.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/llvmpipe/lp_tile_cache.c src/mesa/state_tracker/st_cb_condrender.c
| * | llvmpipe: added debug option to disable LLVM optimization passesBrian Paul2010-01-273-13/+19
| | |
| * | llvmpipe: count/report time spent in LLVM compilationsBrian Paul2010-01-273-4/+24
| | |
| * | gallium/util: comments for time-related functionsBrian Paul2010-01-271-0/+9
| | |
| * | gallium/util: print dlerror() info upon dlopen() failureBrian Paul2010-01-271-2/+7
| | |
| * | llvmpipe: use some local vars to index step arraysBrian Paul2010-01-211-4/+6
| | | | | | | | | | | | Saves a few more cycles.
| * | llvmpipe: s/inline/INLINE/Brian Paul2010-01-211-1/+1
| | |
| * | llvmpipe: consolidate lp_scene_alloc_aligned() callsBrian Paul2010-01-211-13/+41
| | | | | | | | | | | | Use just one call instead of four. Good for a few more fps.
| * | llvmpipe: re-use a1 var in linear_coef()Brian Paul2010-01-211-1/+1
| | |
| * | llvmpipe: area is an int here, not floatBrian Paul2010-01-211-4/+4
| | |
| * | llvmpipe: manually unroll the inputs.step[] setup codeBrian Paul2010-01-211-18/+31
| | | | | | | | | | | | Good for a few more fps in some tests.
| * | llvmpipe: added simple perf/statistics counting facilityBrian Paul2010-01-2111-6/+189
| | | | | | | | | | | | | | | | | | | | | | | | Currently counting number of tris, how many tiles of each size are fully covered, partially covered or empty, etc. Set LP_DEBUG=counters to enable. Results are printed upon context destruction.
| * | llvmpipe: optimize tile writing codeBrian Paul2010-01-201-18/+109
| | | | | | | | | | | | | | | | | | | | | The code which converts/copies color tiles to the linear layout has been rewritten. There's less arithmetic and better loop unrolling, and possibly a better memory access pattern. Some demos, like gears, are about 20% faster now.
| * | llvmpipe: remove tile clipping codeBrian Paul2010-01-201-20/+0
| | | | | | | | | | | | The surface is always a multiple of the tile size now.
| * | llvmpipe: align display target size to multiple of tile sizeBrian Paul2010-01-201-7/+13
| | | | | | | | | | | | This will allow us to skip clipping tiles to surface bounds.
| * | llvmpipe: put TILE_SIZE #define in its own headerBrian Paul2010-01-202-11/+43
| | | | | | | | | | | | To avoid including lp_tile_soa.h in other places.
| * | llvmpipe: add makefile rule for generating .s filesBrian Paul2010-01-201-0/+5
| | |
| * | llvmpipe: updated commentBrian Paul2010-01-201-0/+2
| | |
| * | llvmpipe: asst. task-related clean-upsBrian Paul2010-01-191-22/+29
| | |
| * | llvmpipe: fix-up commentBrian Paul2010-01-191-1/+2
| | |
| * | llvmpipe: re-order file list, fix indentationBrian Paul2010-01-192-9/+9
| | |
| * | llvmpipe: remove unneeded DEBUG checks, use step varBrian Paul2010-01-191-5/+1
| | |
| * | llvmpipe: updated commentsBrian Paul2010-01-191-2/+4
| | |
| * | llvmpipe: tweak a commentBrian Paul2010-01-181-1/+1
| | |
| * | util: fix broken util_ringbuffer_dequeue()Brian Paul2010-01-181-3/+18
| | | | | | | | | | | | | | | | | | | | | The tests for an empty ring buffer were incorrect. Fixes glxinfo segfaults. Plus, add a new assertion.
| * | llvmpipe: added show_tiles and show_subtiles debug optionsBrian Paul2010-01-183-0/+65
| | | | | | | | | | | | | | | These options draw lines over the tiles to show the 64x64 tile bounds and 16x16 sub-tile bounds. For debugging/visualization.
| * | llvmpipe: use new u_ringbuffer for scene queueKeith Whitwell2010-01-174-89/+46
| | |
| * | Merge remote branch 'origin/master' into lp-binningJosé Fonseca2010-01-16282-1890/+11877
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/llvmpipe/lp_quad.h src/gallium/drivers/llvmpipe/lp_setup.c
| * | | llvmpipe: implement scissor test in triangle setupBrian Paul2010-01-155-3/+15
| | | |
| * | | llvmpipe: remove lp_rast_triangle::min/max fieldsBrian Paul2010-01-152-16/+10
| | | | | | | | | | | | | | | | These values aren't needed outside the do_triangle_ccw() function.
| * | | llvmpipe: skip 4x4 in/out test codeBrian Paul2010-01-151-14/+4
| | | | | | | | | | | | | | | | | | | | It's a litte faster to just do the in/out testing in the shader jit code.
| * | | llvmpipe: added comment about lookup-tables vs. computationBrian Paul2010-01-151-0/+3
| | | |
| * | | llvmpipe: change 'in' to boolean, add commentsBrian Paul2010-01-151-4/+4
| | | |
| * | | llvmpipe: generate two shader varients, one omits triangle in/out testingBrian Paul2010-01-158-52/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When we know that a 4x4 pixel block is entirely inside of a triangle use the jit function which omits the in/out test code. Results in a few percent speedup in many tests.
| * | | llvmpipe: asst code changes in lp_state_fs.cBrian Paul2010-01-151-27/+32
| | | |
| * | | llvmpipe: put labels on some value refsBrian Paul2010-01-151-1/+5
| | | |
| * | | llvmpipe: add extra flags to DEFINES, no CFLAGSBrian Paul2010-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | Doesn't make any real difference but -D flags are put into DEFINES everywhere else.
| * | | llvmpipe: implement scissor testingBrian Paul2010-01-148-7/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The scissor test is implemented as another per-quad operation in the JIT code. The four scissor box params are passed via the lp_jit_context. In the JIT code we compare the quad's x/y coords against the clip bounds and create a new in/out mask that's AND'd with the main quad mask. Note: we should also do scissor testing in the triangle setup code to improve efficiency. That's not done yet.
| * | | llvmpipe: minor comment updateBrian Paul2010-01-141-1/+1
| | | |
| * | | llvmpipe: clean-up, fixing up frame dump/debug codeBrian Paul2010-01-141-7/+12
| | | |
| * | | gallium/util: added debug_dump_texture() and ppm outputBrian Paul2010-01-142-0/+79
| | | | | | | | | | | | | | | | Now we can get dump debug images on Linux too.
| * | | llvmpipe: remove redundant code in llvmpipe_set_blend_color()Brian Paul2010-01-141-3/+0
| | | |
| * | | llvmpipe: assorted clean-ups in texture codeBrian Paul2010-01-143-33/+29
| | | |
| * | | llvmpipe: use one loop in lp_rast_clear_zstencil()Brian Paul2010-01-131-4/+3
| | | | | | | | | | | | | | | | This is just a tiny bit faster.
| * | | llvmpipe: optimize lp_rast_clear_color() for non-gray colorsBrian Paul2010-01-131-6/+22
| | | | | | | | | | | | | | | | | | | | This makes a big difference in progs that clear to a non-gray color. Some demos are 30-50% faster.