Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-12-16 | llvmpipe: do final the pixel in/out triangle test in the fragment shader | Brian Paul | |
The test to determine which of the pixels in a 2x2 quad is now done in the fragment shader rather than in the calling C code. This is a little faster but there's a few more things to do. Note that the step[] array elements are in a different order now. Rather than being in row-major order for the 4x4 grid, they're in "quad-major" order. The setup of the step arrays is a little more complicated now. So is the course/intermediate tile test code, but some lookup tables help with that. Next steps: - early-cull 2x2 quads which are totally outside the triangle. - skip the in/out test for fully contained quads - make the in/out comparison code tighter/faster. | |||
2009-12-13 | llvmpipe: rename bins to scene | Keith Whitwell | |
It was pretty confusing having an entity named "bin" and another named "bins", not least because sometimes there was a need to talk about >1 of the "bins" objects, which couldn't be pluralized any further... Scene is a term used in a bunch of places to talk about what a binner operates on, so it's a decent choice here. | |||
2009-12-11 | llvmpipe: added lp_rast_fence() bin function | Brian Paul | |
2009-12-11 | llvmpipe: added lp_rast_get_num_threads() | Brian Paul | |
2009-12-10 | llvmpipe: updated comments | Brian Paul | |
2009-12-09 | llvmpipe: checkpoint: begin plugging in bin queue code | Brian Paul | |
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-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: 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: 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-11-30 | llvmpipe: add a bunch of comments | Brian Paul | |
2009-10-21 | llvmpipe: remove one of two definitions of TILESIZE | Keith Whitwell | |
2009-10-20 | llvmpipe: precalculate some offsets | Keith Whitwell | |
2009-10-19 | llvmpipe: fixed-point rasterization | 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: get lp_setup_tri building | 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: triangle struct owns its copy of shader inputs | Keith Whitwell | |
2009-10-08 | llvmpipe: work on clears and coefficients | Keith Whitwell | |
2009-10-08 | llvmpipe: Adjust interpolation coeffs declaration. | José Fonseca | |
2009-10-08 | llvmpipe: Call lp_rast_shade_quads from tri rasterizer. | 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: start cleaning up | Keith Whitwell | |
2009-10-08 | llvmpipe: wip me harder | Keith Whitwell | |
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 | |