summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* Nouveau: fix minor API change in surface_copyPekka Paalanen2008-11-304-4/+4
| | | | Signed-off-by: Pekka Paalanen <[email protected]>
* Nouveau: update nouveau_class.hPekka Paalanen2008-11-303-60/+1807
| | | | | | Fresh from renouveau. Signed-off-by: Pekka Paalanen <[email protected]>
* Nouveau: nv20 (nv10) immediate vertex submissionPekka Paalanen2008-11-301-35/+191
| | | | | | This is nv10 commands, but is in nv20 source files. Signed-off-by: Pekka Paalanen <[email protected]>
* Nouveau: properly redo nv20_vertex_layout.Pekka Paalanen2008-11-301-15/+68
| | | | | | This is still for NV10 hardware. Signed-off-by: Pekka Paalanen <[email protected]>
* tgsi: Implement OPCODE_SSG/SGN.Michal Krol2008-11-262-2/+46
|
* tgsi: Implement OPCODE_ARR.Michal Krol2008-11-262-5/+7
|
* tgsi: Implement OPCODE_ROUND for SSE2 backend.Michal Krol2008-11-261-1/+28
|
* gallium: added centroid/invarient fields to declarationsBrian Paul2008-11-252-0/+8
|
* softpipe: Fix function prototype.Michal Krol2008-11-252-2/+2
|
* Merge commit 'origin/gallium-0.1' into gallium-0.2Alan Hourihane2008-11-2519-111/+700
|\ | | | | | | | | | | | | Conflicts: scons/gallium.py src/gallium/auxiliary/pipebuffer/pb_buffer.h
| * pipebuffer: Fix buffer overflow.José Fonseca2008-11-251-1/+1
| |
| * pipebuffer: Ondemand buffer manager.José Fonseca2008-11-244-0/+319
| | | | | | | | | | A variation of malloc buffers which get transferred to real graphics memory when there is an attempt to validate them.
| * pipebuffer: Implement proper buffer validation.José Fonseca2008-11-2414-108/+367
| |
| * gallium: Define convenience shortcuts for CPU/GPU READ/WRITE flag combinations.José Fonseca2008-11-241-0/+8
| |
| * scons: Support MinGW32 cross compiler.José Fonseca2008-11-201-0/+6
| | | | | | | | | | | | | | | | 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
* | tgsi: doxygen commentsBrian Paul2008-11-241-20/+20
| |
* | tgsi: add tgsi_declaration fields for centroid sampling, invariant optimizationBrian Paul2008-11-243-1/+13
| |
* | gallium: massage sp_vbuf_draw() and sp_vbuf_draw_arrays() to look more alikeBrian Paul2008-11-241-12/+17
| | | | | | | | Also, update some comments.
* | util: Add generic tile and detile functionsJakob Bornecrantz2008-11-243-0/+130
| |
* | softpipe: remove old/unneeded dependencies between TGSI exec and softpipeBrian2008-11-239-148/+216
| | | | | | | | | | Use tgsi_sampler struct as a base class. Softpipe subclasses it and adds the fields it needs.
* | CELL: use variant-length fragment ops programsRobert Ellison2008-11-2111-68/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | gdi: Reimplement using the WGL statetracker.José Fonseca2008-11-217-2464/+352
| |
* | CELL: improve twiddling/untwiddling error textRobert Ellison2008-11-201-2/+2
| | | | | | | | | | | | 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.
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-11-197-98/+333
|\|
| * python/retrace: Dump constants.José Fonseca2008-11-201-2/+15
| |
| * python: Allow to read from buffers.José Fonseca2008-11-202-1/+31
| |
| * python/retrace: Fix formatting of shaders.José Fonseca2008-11-191-5/+11
| |
| * python/retrace: Ignore irrelevant calls.José Fonseca2008-11-191-0/+10
| |
| * python/retrace: Highlight the trace dump to help to visualize.José Fonseca2008-11-194-35/+185
| |
| * python/retrace: Use the usual BSD-style license.José Fonseca2008-11-193-54/+78
| |
| * gallium: Use costum log2 for all windows builds.José Fonseca2008-11-171-6/+8
| |
| * gallium: State when there are no memory leaks detected.José Fonseca2008-11-171-0/+6
| |
| * gallium: Make handle_table reentrant.José Fonseca2008-11-171-8/+26
| | | | | | | | | | | | | | 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.
* | tgsi: Return 0.0 for negative constant register indices.Michal Krol2008-11-181-8/+16
| |
* | tgsi: Keep address register as a floating point.Michal Krol2008-11-181-20/+9
| |
* | scons: Support MinGW32 cross compiler.José Fonseca2008-11-181-0/+6
| | | | | | | | | | | | | | | | 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
* | gallium: State when there are no memory leaks detected.José Fonseca2008-11-171-0/+6
| |
* | gallium: Make handle_table reentrant.José Fonseca2008-11-171-8/+26
| | | | | | | | | | | | | | 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.
* | gallivm: fix some small stuff.Stephane Marchesin2008-11-162-3/+3
| |
* | i915: Silence warningsJakob Bornecrantz2008-11-163-4/+8
| |
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-11-154-118/+212
|\| | | | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_util.c
| * gallium: increase table size for fast log/pow functionsBrian Paul2008-11-142-4/+6
| | | | | | | | The various conformance tests pass now.
| * util: Use OpenGL rasterization rules in blits and mipmap generation.Brian Paul2008-11-142-0/+2
| |
| * translate: pull in prefetch and other optimizations from draw_vs_aos.cKeith Whitwell2008-11-142-112/+204
| |
| * util: Optimise log2().Michal Krol2008-11-121-1/+2
| |
| * util: Add log2() definition for MSC.Michal Krol2008-11-121-0/+5
| |
| * draw: Add missing include.Michal Krol2008-11-121-0/+1
| |
| * gallium: fix comment again. A half-closed interval was intended.Brian2008-11-101-2/+2
| | | | | | | | Never saw the [a,b[ notation before.
* | i915: Silence warningJakob Bornecrantz2008-11-151-1/+1
| |
* | CELL: fix stencil twiddling, stencil invertRobert Ellison2008-11-132-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.