summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe
Commit message (Collapse)AuthorAgeFilesLines
* llvmpipe: count/report time spent in LLVM compilationsBrian Paul2010-01-273-4/+24
|
* 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
|
* 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-1611-49/+59
|\ | | | | | | | | | | Conflicts: src/gallium/drivers/llvmpipe/lp_quad.h src/gallium/drivers/llvmpipe/lp_setup.c
| * Merge branch 'gallium-noconstbuf'Roland Scheidegger2010-01-154-9/+8
| |\ | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_draw_arrays.c src/mesa/state_tracker/st_draw_feedback.c
| | * gallium: remove const qualifier from pipe_buffer argument in set_constant_bufferRoland Scheidegger2010-01-112-2/+2
| | |
| | * gallium: adapt drivers to pipe_constant_buffer removalRoland Scheidegger2009-12-244-9/+8
| | |
| * | gallium: Rename ALIGN_STACK -> PIPE_ALIGN_STACK for consistency.José Fonseca2010-01-124-4/+4
| | |
| * | gallium: Simplify PIPE_ALIGN_VAR.José Fonseca2010-01-124-17/+17
| | | | | | | | | | | | | | | | | | gcc allows pre-fix variable attributes. Suggested by Ian Romanick.
| * | gallium: Generalize the alignment macros to other compilers and any alignment.José Fonseca2010-01-124-17/+18
| | |
| * | llvmpipe: Update instructions.José Fonseca2010-01-101-21/+18
| | | | | | | | | | | | | | | | | | | | | Explain how to build for windows. Both MSVC 9 and cross MinGW supported. Stop documenting LLVM 2.5 as supported. It still supported at the moment but it will soon stop being.
| * | llvmpipe: Yet another hack to get release LLVM static libraries to link in ↵José Fonseca2010-01-101-0/+14
| | | | | | | | | | | | debug builds.
* | | 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
| | |
* | | 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.
* | | llvmpipe: minor assorted clean-upsBrian Paul2010-01-131-10/+12
| | |
* | | llvmpipe: check render targets before other texturesBrian Paul2010-01-131-6/+9
| | |
* | | llvmpipe: also check render target textures in lp_setup_is_texture_referenced()Brian Paul2010-01-131-0/+9
| | |