Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-12-08 | llvmpipe: Use number of CPUs as default number of threads. | José Fonseca | |
Also bump MAX_THREADS to 8. | |||
2009-12-07 | llvmpipe: remove some left-over debug code | Brian Paul | |
2009-12-07 | llvmpipe: implement threaded rasterization | Brian Paul | |
The LP_NUM_THREADS env var controls how many threads are created. The default (and max) is 4, for now. If LP_NUM_THREADS = 0, threading is not used. | |||
2009-12-07 | llvmpipe: repartition lp_rasterizer state for threading | Brian Paul | |
Some of the state is per-thread. Put that state in new lp_rasterizer_task struct. | |||
2009-12-07 | llvmpipe: use bin iteration functions when rasterizing bins | Brian Paul | |
2009-12-04 | llvmpipe: still more bin code reorganization | Brian Paul | |
Move tiles_x,y fields from setup state into bin state. Move more bin-adding commands into lp_bin.[ch]. | |||
2009-12-04 | llvmpipe: reorganization of binning data structions and funtions | Brian Paul | |
New lp_bins struct contains all bin information. More move bin-related code into lp_bin.[ch] Use new/updated bin-access functions to hide implementation details. The result is more/cleaner separation between the setup and rast components. This will make double-buffering of the bins easier, etc. | |||
2009-12-04 | llvmpipe: move lp_rasterize_bin() into lp_rast.c | Brian Paul | |
First step of moving bin rasterization/execution code out of lp_setup.c | |||
2009-12-04 | llvmpipe: use LP_DBG() macro everywhere | Brian Paul | |
2009-12-04 | llvmpipe: bin state-change commands | Brian Paul | |
Previously, each triangle had a pointer to the state to use for shading. Now we insert state-change commands into the bins. When we execute one of those commands we just update a 'current state' pointer and use that pointer when calling the jit shader. When inserting state-change commands into a bin we check if the previous command was also a state-change command and simply replace it. This avoids accumulating useless/redundant state-change commands. | |||
2009-12-03 | llvmpipe: checkpoint some initial state binning code | Brian Paul | |
2009-12-03 | llvmpipe: comments and a stub for lp_rast_set_state() | Brian Paul | |
2009-12-03 | llvmpipe: quick & dirty implementation of lp_rast_store_zstencil() | Brian Paul | |
This allows us to do a glReadPixels(GL_DEPTH_COMPONENT) to see what's in the depth buffer to help debugging. | |||
2009-12-02 | llvmpipe: execute shaders on 4x4 blocks instead of 8x2 | Brian Paul | |
This matches the convention used by the recursive rasterizer. Also fixed assorted typos, comments, etc. Now tri-z.c, gears.c, etc look basically right but there's still some cracks in triangle rasterization. | |||
2009-11-30 | llvmpipe: add a bunch of comments | Brian Paul | |
2009-10-22 | llvmpipe: fix the worst of the depth regressions since switch to 4x4 | Keith Whitwell | |
2009-10-21 | llvmpipe: remove one of two definitions of TILESIZE | Keith Whitwell | |
2009-10-20 | llvmpipe: pass mask as a linear encoding of the 4x4 block | Keith Whitwell | |
2009-10-20 | llvmpipe: precalculate some offsets | Keith Whitwell | |
2009-10-19 | llvmpipe: remove a leftover 8x2 usage | Keith Whitwell | |
2009-10-19 | llvmpipe: calculate masks in format desired by shader | Keith Whitwell | |
Also remove branches calculating masks for quads. | |||
2009-10-09 | llvmpipe: Use framebuffer coords consistently. | José Fonseca | |
2009-10-09 | llvmpipe: Undo debug override. | José Fonseca | |
2009-10-09 | llvmpipe: properly clip tile writes | Keith Whitwell | |
2009-10-09 | llvmpipe: Pass framebuffer coords to shader. | José Fonseca | |
2009-10-09 | llvmpipe: correct binning maths for iterating over whole tiles | Keith Whitwell | |
2009-10-09 | llvmpipe: Get jit_context/jit_function across the rasterizer. | José Fonseca | |
2009-10-09 | llvmpipe: trivial/clear works | Keith Whitwell | |
2009-10-09 | llvmpipe: more debug | Keith Whitwell | |
2009-10-09 | llvmpipe: debug, crash fixes | Keith Whitwell | |
2009-10-09 | llvmpipe: use union lp_cmd_rast_arg directly, rather than through a pointer | Keith Whitwell | |
The union itself consists of pointers. We don't need to be passing pointer to pointers. | |||
2009-10-09 | llvmpipe: Follow write_color/write_zstencil. | José Fonseca | |
2009-10-09 | llvmpipe: calculate overall width and height, pass to rasterizer | Keith Whitwell | |
2009-10-08 | llvmpipe: work on clears and coefficients | Keith Whitwell | |
2009-10-08 | llvmpipe: Remove quad headers. | José Fonseca | |
2009-10-08 | llvmpipe: Fix typo. | José Fonseca | |
2009-10-08 | llvmpipe: Final adjustments to rasterizer methods. | José Fonseca | |
2009-10-08 | llvmpipe: Complete more rasterizer methods.. | José Fonseca | |
2009-10-08 | llvmpipe: Implement some of the rasterizer functions. | José Fonseca | |
2009-10-08 | llvmpipe: remove some old sampler support structs | Keith Whitwell | |
2009-10-08 | llvmpipe: Fix up lp_rast_shade_quads. | José Fonseca | |
2009-10-08 | llvmpipe: Update includes and copyright headers. | José Fonseca | |
2009-10-08 | llvmpipe: Add the rast -> jit shader glue. | José Fonseca | |
Ugly code. Will eventually be reduced to a very thin inlined function. | |||
2009-10-08 | llvmpipe: more wipping | Keith Whitwell | |