summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2009-12-05svga: Use _debug_printf, so that output may be dumped in release builds too.José Fonseca
The dump calls should be wrapped in #ifdef DEBUG .. #endif.
2009-12-05llvmpipe: Tweak disassembly to match gdb.José Fonseca
Helps verifying udis86 output.
2009-12-05llvmpipe: Stop disassembling when an unsupported opcode is found.José Fonseca
Otherwise the terminal gets full of garbage.
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: remove dead code left over from a previous commitBrian Paul
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: move lp_rasterize_bin() into lp_rast.cBrian Paul
First step of moving bin rasterization/execution code out of lp_setup.c
2009-12-04llvmpipe: Port vertex sampler support from softpipe.José Fonseca
Just enough boilerplate code to avoid segfaulting.
2009-12-04llvmpipe: Ensure transfers are mapped.José Fonseca
This shouldn't happen but it does by some misterious reason. Fail the assertion but at least do not segfault on release builds.
2009-12-04llvmpipe: Remove debug printf.José Fonseca
2009-12-04llvmpipe: simplify framebuffer state codeBrian Paul
2009-12-04llvmpipe: use LP_DBG() macro everywhereBrian Paul
2009-12-04llvmpipe: fix-up polygon culling/windingBrian Paul
2009-12-04llvmpipe: add missing sources to MakefileBrian 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: remove lp_rast_triangle::oneoverarea fieldBrian Paul
Makes lp_rast_triangle a little smaller (now 280 bytes on a 32-bit system).
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-04identity: fix copy&paste errorRoland Scheidegger
2009-12-04radeong: flush CS if a buffer being mapped is referenced by itMarek Olšák
Also, overlapping occlusion queries seems to work now.
2009-12-04r300g, radeong: fix the CS overflowMarek Olšák
2009-12-04r300g: fix warningsMarek Olšák
2009-12-04svga: fix another pipe_reference strict aliasing violationRoland Scheidegger
2009-12-04llvmpipe: fix typo, whitespaceBrian Paul
2009-12-04llvmpipe: dynamic allocation of triangle a0/dadx/dady arraysBrian Paul
Much less memory per triangle now.
2009-12-04r300g: use $(MAKE) variableColeman Kane
Fixes bug 24501
2009-12-04softpipe: dont claim to support PIPE_FORMAT_NONEKeith Whitwell
2009-12-04softpipe: fix double-minify in texture layoutKeith Whitwell
2009-12-03llvmpipe: comments regarding lp_rast_triangleBrian Paul
2009-12-03llvmpipe: comment about blend colorBrian Paul
2009-12-03llvmpipe: commentsBrian Paul
2009-12-03llvmpipe: new comment in do_triangle_ccw()Brian Paul
2009-12-03llvmpipe: fix incorrect array indexing when saving blend colorBrian Paul
2009-12-04Merge branch 'gallium-noblocks'Roland Scheidegger
Conflicts: src/gallium/state_trackers/xorg/xorg_exa.c
2009-12-03llvmpipe: comments, clean-ups in lp_rast_priv.hBrian Paul
2009-12-03llvmpipe: checkpoint some initial state binning codeBrian Paul
2009-12-03gallium: fix remaining users of pipe_reference functionRoland Scheidegger
2009-12-03gallium: fix reference counting functions to be strict-aliasing compliantRoland Scheidegger
Historically, parts of mesa code are not strict-aliasing safe, hence -fno-strict-aliasing is needed to compile (this got forgotten for scons builds for gallium, which indeed not only caused compiler warnings but also unexplicable crashes in non-debug builds). However, we should try to eliminate code not complying with strict-aliasing code at least for gallium. Hence change pipe_reference functions to make them strict-aliasing compliant. This adds a bit more complexity (especially for derived classes) but is the right thing to do, and it does in fact fix a segfault.
2009-12-03llvmpipe: comments and a stub for lp_rast_set_state()Brian Paul
2009-12-03llvmpipe: commentsBrian Paul
2009-12-03llvmpipe: 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-03llvmpipe: more debug infoBrian Paul
2009-12-03llvmpipe: fix blend debug stringsBrian Paul
2009-12-03llvmpipe: 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-03llvmpipe: additional comment about float->uint conversionBrian Paul
2009-12-03llvmpipe: commentsBrian Paul
2009-12-03Remove pf_swizzle_* internal macros.Michal Krol
2009-12-03Move pf_get_component_bits() to u_format auxiliary module.Michal Krol
2009-12-03Move pf_get_bits/size() to u_format auxiliary module.Michal Krol