summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-24gallium: fix inverted raster pos when drawing into FBOBrian Paul
2008-11-24mesa: pass shader centroid/invariant info through to the TGSI shaderBrian Paul
2008-11-24Merge commit 'origin/master' into gallium-0.2Brian Paul
Conflicts: progs/glsl/Makefile
2008-11-24tgsi: doxygen commentsBrian Paul
2008-11-24tgsi: add tgsi_declaration fields for centroid sampling, invariant optimizationBrian Paul
2008-11-24mesa: copy centroid/invariance/precision info in parse_init_declarator()Brian Paul
2008-11-24mesa: check that varying variable qualifiers agreeBrian Paul
2008-11-24mesa: copy precision/variant/centroid info in slang_fully_specified_type_copy()Brian Paul
2008-11-24mesa: set flags for varying varsBrian Paul
2008-11-24mesa: rename program parameter flags to match other Mesa conventionsBrian Paul
2008-11-24mesa: copy Flags in _mesa_clone_parameter_list()Brian Paul
2008-11-24mesa: dump/debug varying vars listBrian Paul
2008-11-24mesa: added PROG_PARAM_ bits for invariant, flat/linear interpolationBrian Paul
Plus, update the print/debug code.
2008-11-24mesa: add Flags field to gl_program_parameterBrian Paul
Only one flag defined so far: PROG_PARAM_CENTROID_BIT
2008-11-24gallium: massage sp_vbuf_draw() and sp_vbuf_draw_arrays() to look more alikeBrian Paul
Also, update some comments.
2008-11-24mesa: issue error, don't crash, when calling a prototyped, but undefined ↵Brian Paul
function Bug #18659.
2008-11-24mesa: better variable name: s/aux/store/Brian Paul
2008-11-24i965: Add support for accelerated CopyTexSubImage.Eric Anholt
There were hacks in EmitCopyBlit before to adjust offsets so that y=0 after the offsets had been adjusted for a negative pitch. It appears that those hacks were due to an unclear and surprising aspect of the hardware: inverting the pitch results in the blit into the specified rectangle being inverted, without the user needing to adjust y and base offset. Tested with piglit copytexsubimage test on 915GM and GM965. Should fix serious performance issues with ETQW and other applications.
2008-11-24intel: Don't glBitmap fallback with scissoring enabled.Eric Anholt
The blit bitmap code already handles scissoring. This is a 15-100% speedup on blender benchmark.blend thanks to avoiding fallbacks. Bug #17951.
2008-11-24i915: Don't overwrite i915's Viewport function from generic code.Eric Anholt
Instead, have i965 and i915 both call the generic function from their Viewport.
2008-11-24mesa: add gl_program::Input/OutputFlags[] arrayBrian Paul
These arrays will indicate per-input or per-output options for vertex/fragment programs such as centroid-sampling and invariance.
2008-11-24glx: Add missing include for XCB, fixing crash on 64-bit.Bernd Buschinski
Bug #18689
2008-11-24util: Add generic tile and detile functionsJakob Bornecrantz
2008-11-24windows: replace free() with _mesa_unreference_framebuffer()Brian Paul
Fixes invalid memory reference bug when exiting.
2008-11-24mesa: copy centroid/invariance/precision info in parse_init_declarator()Brian Paul
2008-11-24mesa: check that varying variable qualifiers agreeBrian Paul
2008-11-24mesa: copy precision/variant/centroid info in slang_fully_specified_type_copy()Brian Paul
2008-11-24mesa: set flags for varying varsBrian Paul
2008-11-24mesa: rename program parameter flags to match other Mesa conventionsBrian Paul
2008-11-24mesa: copy Flags in _mesa_clone_parameter_list()Brian Paul
2008-11-24mesa: dump/debug varying vars listBrian Paul
2008-11-24mesa: added PROG_PARAM_ bits for invariant, flat/linear interpolationBrian Paul
Plus, update the print/debug code.
2008-11-24mesa: add Flags field to gl_program_parameterBrian Paul
Only one flag defined so far: PROG_PARAM_CENTROID_BIT
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-24mesa: Don't call fence_finish with a null fence.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-21mesa: issue error, don't crash, when calling a prototyped, but undefined ↵Brian Paul
function Bug #18659.
2008-11-21mesa: better variable name: s/aux/store/Brian Paul
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-21i965: Add support for accelerated CopyTexSubImage.Eric Anholt
There were hacks in EmitCopyBlit before to adjust offsets so that y=0 after the offsets had been adjusted for a negative pitch. It appears that those hacks were due to an unclear and surprising aspect of the hardware: inverting the pitch results in the blit into the specified rectangle being inverted, without the user needing to adjust y and base offset. Tested with piglit copytexsubimage test on 915GM and GM965. Should fix serious performance issues with ETQW and other applications.
2008-11-21intel: Don't glBitmap fallback with scissoring enabled.Eric Anholt
The blit bitmap code already handles scissoring. This is a 15-100% speedup on blender benchmark.blend thanks to avoiding fallbacks. Bug #17951.
2008-11-21i915: Don't overwrite i915's Viewport function from generic code.Eric Anholt
Instead, have i965 and i915 both call the generic function from their Viewport.
2008-11-21glut: MinGW portability fixes.José Fonseca
Still, it doesn't run as well as the glut binaries...
2008-11-21gdi: Reimplement using the WGL statetracker.José Fonseca
2008-11-21mesa: Bring in new mesa sub-statetracker.José Fonseca
Some code cleanup is still in order.
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.