summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2008-11-30Nouveau: nv{10,20} set_primitive API fixPekka Paalanen
Also changes nvgl_primitive() to return zero, i.e. error, on unknown primitive. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-11-30Nouveau: nv20 build fix: forgotten includePekka Paalanen
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-11-30Nouveau: fix minor API change in surface_copyPekka Paalanen
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-11-30Nouveau: update nouveau_class.hPekka Paalanen
Fresh from renouveau. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-11-30Nouveau: nv20 (nv10) immediate vertex submissionPekka Paalanen
This is nv10 commands, but is in nv20 source files. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-11-30Nouveau: properly redo nv20_vertex_layout.Pekka Paalanen
This is still for NV10 hardware. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-11-26tgsi: Implement OPCODE_SSG/SGN.Michal Krol
2008-11-26tgsi: Implement OPCODE_ARR.Michal Krol
2008-11-26tgsi: Implement OPCODE_ROUND for SSE2 backend.Michal Krol
2008-11-25gallium: added centroid/invarient fields to declarationsBrian Paul
2008-11-25softpipe: Fix function prototype.Michal Krol
2008-11-25Merge commit 'origin/gallium-0.1' into gallium-0.2Alan Hourihane
Conflicts: scons/gallium.py src/gallium/auxiliary/pipebuffer/pb_buffer.h
2008-11-25pipebuffer: Fix buffer overflow.José Fonseca
2008-11-24tgsi: doxygen commentsBrian Paul
2008-11-24tgsi: add tgsi_declaration fields for centroid sampling, invariant optimizationBrian Paul
2008-11-24gallium: massage sp_vbuf_draw() and sp_vbuf_draw_arrays() to look more alikeBrian Paul
Also, update some comments.
2008-11-24util: Add generic tile and detile functionsJakob Bornecrantz
2008-11-24pipebuffer: Ondemand buffer manager.José Fonseca
A variation of malloc buffers which get transferred to real graphics memory when there is an attempt to validate them.
2008-11-24pipebuffer: Implement proper buffer validation.José Fonseca
2008-11-24gallium: Define convenience shortcuts for CPU/GPU READ/WRITE flag combinations.José Fonseca
2008-11-23softpipe: remove old/unneeded dependencies between TGSI exec and softpipeBrian
Use tgsi_sampler struct as a base class. Softpipe subclasses it and adds the fields it needs.
2008-11-21CELL: use variant-length fragment ops programsRobert Ellison
This is a set of changes that optimizes the memory use of fragment operation programs (by using and transmitting only as much memory as is needed for the fragment ops programs, instead of maximal sizes), as well as eliminate the dependency on hard-coded maximal program sizes. State that is not dependent on fragment facing (i.e. that isn't using two-sided stenciling) will only save and transmit a single fragment operation program, instead of two identical programs. - Added the ability to emit a LNOP (No Operation (Load)) instruction. This is used to pad the generated fragment operations programs to a multiple of 8 bytes, which is necessary for proper operation of the dual instruction pipeline, and also required for proper SPU-side decoding. - Added the ability to allocate and manage a variant-length struct cell_command_fragment_ops. This structure now puts the generated function field at the end, where it can be as large as necessary. - On the PPU side, we now combine the generated front-facing and back-facing code into a single variant-length buffer (and only use one if the two sets of code are identical) for transmission to the SPU. - On the SPU side, we pull the correct sizes out of the buffer, allocate a new code buffer if the one we have isn't large enough, and save the code to that buffer. The buffer is deallocated when the SPU exits. - Commented out the emit_fetch() static function, which was not being used.
2008-11-21gdi: Reimplement using the WGL statetracker.José Fonseca
2008-11-20CELL: improve twiddling/untwiddling error textRobert Ellison
As suggested by Brian Paul: in the case of a twiddling error, instead of reporting the bad format number (which is all but unusable), report the more useful enum name.
2008-11-20scons: Support MinGW32 cross compiler.José Fonseca
To build an alternative opengl32.dll with Gallium's software-rasterizer from a debian-based distribution run: sudo apt-get install mingw32 scons platform=windows toolchain=crossmingw machine=x86 winsys=gdi dri=no
2008-11-19Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell
2008-11-20python/retrace: Dump constants.José Fonseca
2008-11-20python: Allow to read from buffers.José Fonseca
2008-11-19python/retrace: Fix formatting of shaders.José Fonseca
2008-11-19python/retrace: Ignore irrelevant calls.José Fonseca
2008-11-19python/retrace: Highlight the trace dump to help to visualize.José Fonseca
2008-11-19python/retrace: Use the usual BSD-style license.José Fonseca
2008-11-18tgsi: Return 0.0 for negative constant register indices.Michal Krol
2008-11-18tgsi: Keep address register as a floating point.Michal Krol
2008-11-18scons: Support MinGW32 cross compiler.José Fonseca
To build an alternative opengl32.dll with Gallium's software-rasterizer from a debian-based distribution run: sudo apt-get install mingw32 scons platform=windows toolchain=crossmingw machine=x86 winsys=gdi dri=no
2008-11-17gallium: Use costum log2 for all windows builds.José Fonseca
2008-11-17gallium: State when there are no memory leaks detected.José Fonseca
2008-11-17gallium: Make handle_table reentrant.José Fonseca
Ensure that the object has consistent state also when calling the destroy callback. Namely, ensure the object passed to the callback is removed from the table prior to calling the destroy callback to avoid a infinite loop or double free.
2008-11-17gallium: State when there are no memory leaks detected.José Fonseca
2008-11-17gallium: Make handle_table reentrant.José Fonseca
Ensure that the object has consistent state also when calling the destroy callback. Namely, ensure the object passed to the callback is removed from the table prior to calling the destroy callback to avoid a infinite loop or double free.
2008-11-16gallivm: fix some small stuff.Stephane Marchesin
2008-11-16i915: Silence warningsJakob Bornecrantz
2008-11-15Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell
Conflicts: src/mesa/drivers/dri/common/dri_util.c
2008-11-15i915: Silence warningJakob Bornecrantz
2008-11-14gallium: increase table size for fast log/pow functionsBrian Paul
The various conformance tests pass now.
2008-11-14util: Use OpenGL rasterization rules in blits and mipmap generation.Brian Paul
2008-11-14translate: pull in prefetch and other optimizations from draw_vs_aos.cKeith Whitwell
2008-11-13CELL: fix stencil twiddling, stencil invertRobert Ellison
Many stencil tests were failing because of a failure to read the stencil buffer, due to "twiddling" (or "untwiddling") "an unsupported texture format". This is fixed for the case of a stencil/Z S824Z format (which twiddles just like the 32-bit color formats). tests/stencilwrap.c was failing on the GL_INVERT test, because the emitted code for "spe_xori" turned out not to be an actual "xori" instruction, but rather a "stqd" instruction, because of a typo in the rtasm code. This is now fixed, and tests/stencil_wrap now works.
2008-11-13Merge branch 'gallium-0.2' of ↵Stephane Marchesin
git+ssh://marcheu@git.freedesktop.org/git/nouveau/mesa into gallium-0.2
2008-11-12tgsi: More comments on source register indirect and 2D indexing.Michal Krol