Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-12-09 | llvmpipe: added some debug/info code | Brian Paul | |
2009-12-09 | llvmpipe: simplify the tiles_x, tiles_y code a bit | Brian Paul | |
2009-12-09 | llvmpipe: use the empty_bins queue now | Brian Paul | |
2009-12-09 | llvmpipe: checkpoint: begin plugging in bin queue code | Brian Paul | |
2009-12-09 | llvmpipe: added new lp_bin_queue.[ch] files | Brian Paul | |
The queues will be used for keeping track of full and empty bins so we can overlap setup with the rasterization threads. | |||
2009-12-09 | llvmpipe: use new lp_setup_get_current_bins() function | Brian Paul | |
This stub function will interface to the queue system... | |||
2009-12-09 | llvmpipe: more bin functions for create/destroy/queries | Brian Paul | |
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-07 | llvmpipe: introduce mutex and bin iteration functions | 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: remove dead code left over from a previous commit | Brian Paul | |
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: simplify framebuffer state code | Brian Paul | |
2009-12-04 | llvmpipe: use LP_DBG() macro everywhere | Brian Paul | |
2009-12-04 | llvmpipe: fix-up polygon culling/winding | Brian Paul | |
2009-12-04 | llvmpipe: add missing sources to Makefile | Brian Paul | |
2009-12-04 | llvmpipe: comments and minor clean-ups | Brian Paul | |
2009-12-04 | llvmpipe: move bin-related structures and functions into new lp_bin.[ch] | Brian Paul | |
And put lp_ prefixes on some functions. | |||
2009-12-04 | llvmpipe: remove lp_rast_triangle::oneoverarea field | Brian Paul | |
Makes lp_rast_triangle a little smaller (now 280 bytes on a 32-bit system). | |||
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-04 | llvmpipe: struct cmd_bin | Brian Paul | |
Just introducing a new structure to represent a per-tile bin. | |||
2009-12-04 | llvmpipe: fix typo, whitespace | Brian Paul | |
2009-12-04 | llvmpipe: dynamic allocation of triangle a0/dadx/dady arrays | Brian Paul | |
Much less memory per triangle now. | |||
2009-12-03 | llvmpipe: comments regarding lp_rast_triangle | Brian Paul | |
2009-12-03 | llvmpipe: comment about blend color | Brian Paul | |
2009-12-03 | llvmpipe: comments | Brian Paul | |
2009-12-03 | llvmpipe: new comment in do_triangle_ccw() | Brian Paul | |
2009-12-03 | llvmpipe: fix incorrect array indexing when saving blend color | Brian Paul | |
2009-12-03 | llvmpipe: comments, clean-ups in lp_rast_priv.h | Brian Paul | |
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: comments | Brian Paul | |
2009-12-03 | llvmpipe: set LP_SETUP_NEW_FS in lp_setup_set_fs() | Brian Paul | |
Fixes progs/trivial/tri-blend.c, but I think we're just getting lucky in this case. | |||
2009-12-03 | llvmpipe: more debug info | Brian Paul | |
2009-12-03 | llvmpipe: fix blend debug strings | 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-03 | llvmpipe: additional comment about float->uint conversion | Brian Paul | |
2009-12-03 | llvmpipe: comments | Brian Paul | |
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-12-02 | llvmpipe: whitespace for readability | Brian Paul | |
2009-12-01 | llvmpipe: added assertions | Brian Paul | |
And remove unused BLOCKSIZE. | |||
2009-12-01 | llvmpipe: simplify mask computation | Brian Paul | |
Make this a little easier to understand. | |||
2009-12-01 | llvmpipe: replace shifts with multiplies to be clearer | Brian Paul | |
The compiler will still do the multiplies with shifts. It's just a bit easier to follow the logic with multiplies. | |||
2009-12-01 | llvmpipe: make nr_blocks unsigned | Brian Paul | |
2009-12-01 | llvmpipe: comments, reformatting and assertions in tri rast code | Brian Paul | |