summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_setup_context.h
AgeCommit message (Collapse)Author
2010-01-15llvmpipe: implement scissor test in triangle setupBrian Paul
2010-01-14llvmpipe: implement scissor testingBrian Paul
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.
2010-01-13llvmpipe: check for texture usage in all scenesBrian Paul
2010-01-13llvmpipe: minor comment upgradesBrian Paul
2010-01-06llvmpipe: fix double freeKeith Whitwell
2010-01-06llvmpipe: merge setup and draw vbuf submodulesKeith Whitwell
The setup tiling engine is now plugged directly into the draw module as a rendering backend. Removed a couple of layering violations such that the setup code no longer reaches out into the surrounding llvmpipe state or context.
2009-12-17llvmpipe: keep copy of framebuffer state in setup contextKeith Whitwell
Avoids crashes when first frame is rendered before window is mapped. Avoids potential issue where fb state is changed before setup context is flushed.
2009-12-13llvmpipe: rename bins to sceneKeith 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-09llvmpipe: checkpoint: begin plugging in bin queue codeBrian Paul
2009-12-09llvmpipe: use new lp_setup_get_current_bins() functionBrian Paul
This stub function will interface to the queue system...
2009-12-04llvmpipe: still more bin code reorganizationBrian Paul
Move tiles_x,y fields from setup state into bin state. Move more bin-adding commands into lp_bin.[ch].
2009-12-04llvmpipe: reorganization of binning data structions and funtionsBrian 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-04llvmpipe: simplify framebuffer state codeBrian Paul
2009-12-04llvmpipe: comments and minor clean-upsBrian Paul
2009-12-04llvmpipe: move bin-related structures and functions into new lp_bin.[ch]Brian Paul
And put lp_ prefixes on some functions.
2009-12-04llvmpipe: bin state-change commandsBrian 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-04llvmpipe: struct cmd_binBrian Paul
Just introducing a new structure to represent a per-tile bin.
2009-12-03llvmpipe: commentsBrian Paul
2009-12-03llvmpipe: commentsBrian Paul
2009-11-30llvmpipe: add a bunch of commentsBrian Paul
2009-10-21llvmpipe: remove one of two definitions of TILESIZEKeith Whitwell
2009-10-19llvmpipe: fixed-point rasterizationKeith Whitwell
2009-10-19llvmpipe: Allocate the blend color from the data store, and ensure it's aligned.José Fonseca
2009-10-18llvmpipe: Maintain a copy of the shader constants to prevent clobbering.José Fonseca
2009-10-09llvmpipe: Get jit_context/jit_function across the rasterizer.José Fonseca
2009-10-09llvmpipe: Put jit_context in store.José Fonseca
2009-10-09llvmpipe: Pass state to setup.José Fonseca
2009-10-09llvmpipe: use union lp_cmd_rast_arg directly, rather than through a pointerKeith Whitwell
The union itself consists of pointers. We don't need to be passing pointer to pointers.
2009-10-09llvmpipe: hook up some state, add stub line and point functionsKeith Whitwell
2009-10-09llvmpipe: calculate overall width and height, pass to rasterizerKeith Whitwell
2009-10-08llvmpipe: get lp_setup compilingKeith Whitwell
2009-10-08llvmpipe: work on clears and coefficientsKeith Whitwell
2009-10-08llvmpipe: start cleaning upKeith Whitwell
2009-10-08llvmpipe: Update more copyright headers.José Fonseca
2009-10-08llvmpipe: wip me harderKeith Whitwell
2009-10-08llvmpipe: import experimental softpipe rasterizer code, wip binning codeKeith Whitwell
WIP, does't build or run. Rasterizer code is based on Nick Capen's devmaster posts and the larrabee articles, but currently doesn't share either the performance or correctness of either...