summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* gallium: Add pipe_transfer_reference().Michel Dänzer2009-02-181-0/+25
|
* Merge branch 'gallium-texture-transfer'Michel Dänzer2009-02-1837-779/+956
|\ | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_tile_cache.c
| * i915simple: Minimal fixup for introduction of struct pipe_transfer.Michel Dänzer2009-02-185-76/+122
| |
| * gallium: fix mergeKeith Whitwell2009-02-161-29/+5
| | | | | | | | | | It looks like I resolved the merge conflicts but did not save my emacs buffers before committing...
| * Merge branch 'master' into gallium-texture-transferKeith Whitwell2009-02-16519-30166/+28965
| |\ | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_cb_accum.c src/mesa/state_tracker/st_cb_drawpixels.c
| * | gallium: Various coordinate fixups for texture transfers.Michel Dänzer2009-02-133-9/+9
| | | | | | | | | | | | Fixes glReadPixels, gl(Copy)TexSubImage, glCopyPixels.
| * | gallium: Fix a couple of potential NULL pointer dereferences.Michel Dänzer2009-02-122-26/+37
| | | | | | | | | | | | A lot more test programs work.
| * | gallium: Fix GL_DEPTH CopyPixels tile coordinates.Michel Dänzer2009-02-121-1/+1
| | |
| * | gallium: Fix accumulation buffer tile coordinates.Michel Dänzer2009-02-121-5/+5
| | |
| * | gallium/winsys/xlib: Use XShmPutImage when possible.Michel Dänzer2009-02-121-0/+2
| | |
| * | softpipe: Unbreak keeping track of cached surface.Michel Dänzer2009-02-121-4/+3
| | | | | | | | | | | | glxgears works.
| * | gallium/winsys/xlib: Fix stride calculations.Michel Dänzer2009-02-122-6/+8
| | |
| * | Cosmetic: Rename struct pipe_transfer pointers from 'ps' to 'pt'.Michel Dänzer2009-02-122-27/+27
| | | | | | | | | | | | Missed these for the initial gallium-texture-transfer commit.
| * | g3dvl: Fixups for introduction of pipe_transfer.Michel Dänzer2009-02-111-8/+10
| | |
| * | gallium: No longer allow CPU mapping surfaces directly.Michel Dänzer2009-02-0531-682/+797
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead, a new pipe_transfer object has to be created and mapped for transferring data between the CPU and a texture. This gives the driver more flexibility for textures in address spaces that aren't CPU accessible. This is a first pass; softpipe/xlib builds and runs glxgears, but it only shows a black window. Looks like something's off related to the Z buffer, so the depth test always fails.
* | | Merge commit 'origin/gallium-0.1'Keith Whitwell2009-02-181-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_vs_aos.c
| * | | draw: Reuse xmm registers.Keith Whitwell2009-02-171-0/+13
| | | |
| * | | glsl: make minimum struct size = 2, not 1Brian Paul2009-01-091-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1-component structs such as "struct foo { float x; }" could get placed at any position within a register. This caused some trouble computing the field offset which assumed all struct objects were placed at R.x. It would be unusual to hit this case in normal shaders. (cherry picked from master, commit ca03e881a8d8fa3e36a601238559c20311373633)
| * | | glsl: fix typo in the vec2 += operator functionBrian Paul2009-01-082-2/+2
| | | |
| * | | glsl: fix broken +=, -=, *=, /= operatorsBrian Paul2009-01-082-737/+786
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These functions need to return the final computed value. Now expressions such as a = (b += c) work properly. Also, no need to use __asm intrinsics in these functions. The resulting code is the same when using ordinary arithmetic operators and is more legible.
* | | | r300-gallium: Factor out common functionality in vbuf emit.Corbin Simpson2009-02-181-19/+34
| | | |
* | | | Merge commit 'origin/draw-vbuf-interface'Keith Whitwell2009-02-1814-366/+624
|\ \ \ \
| * | | | r300-gallium: Add draw_arrays for swtcl_emit.Corbin Simpson2009-02-171-2/+30
| | | | | | | | | | | | | | | | | | | | The more I look at this, the more bugs I see.
| * | | | r300-gallium: Properly init shader state.Corbin Simpson2009-02-171-0/+2
| | | | |
| * | | | r300-gallium: Consolidate state updates.Corbin Simpson2009-02-171-2/+8
| | | | |
| * | | | r300-gallium: Hook up new swtcl vbuf stage.Corbin Simpson2009-02-171-0/+23
| | | | | | | | | | | | | | | | | | | | Hold on to your hats.
| * | | | r300-gallium: Turn swtcl_emit into a vbuf_render stage.Corbin Simpson2009-02-171-95/+195
| | | | | | | | | | | | | | | | | | | | Movin' out of the Stone Ages.
| * | | | r300-gallium: Update r300_reg from classic Mesa.Corbin Simpson2009-02-171-44/+44
| | | | | | | | | | | | | | | | | | | | Mostly needed a few defines for index buffers, but there's other goodies too.
| * | | | nv20: Use the new draw vbuf interfaceJakob Bornecrantz2009-02-171-15/+43
| | | | |
| * | | | nv10: Use the new draw vbuf internfaceJakob Bornecrantz2009-02-171-8/+28
| | | | |
| * | | | nv04: Use the new draw vbuf interfaceJakob Bornecrantz2009-02-171-5/+17
| | | | |
| * | | | i915: Use the new draw vbuf interfaceJakob Bornecrantz2009-02-131-13/+44
| | | | |
| * | | | draw: second argument to unmap is max, not countKeith Whitwell2009-02-174-9/+12
| | | | |
| * | | | softpipe: update to new draw interfacesKeith Whitwell2009-02-171-13/+32
| | | | |
| * | | | draw: add map/unmap directives for swtnl driver interfaceKeith Whitwell2009-02-177-177/+171
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously draw module asked for a pointer into (mapped) vertex data, which it would incrementally fill and emit draw commands against. This was hard for the drivers to deal with, especially in the case where a draw command would force a flush and thus an unmap of the vertex data. With this change, the draw module explicitly maps & then unmaps vertex data prior to emitting draw commands.
* | | | util: Move p_debug.h into util module.José Fonseca2009-02-1873-79/+80
| | | | | | | | | | | | | | | | | | | | The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible.
* | | | util: (Re)enable memory debugging for all windows platforms.José Fonseca2009-02-181-1/+1
| | | |
* | | | wgl: Report memory leaks.José Fonseca2009-02-182-0/+14
| | | |
* | | | draw: Reuse xmm registers.Keith Whitwell2009-02-181-0/+12
| | | |
* | | | r300-gallium: Properly init shader state.Corbin Simpson2009-02-171-0/+2
| | | |
* | | | r300-gallium: Consolidate state updates.Corbin Simpson2009-02-171-2/+8
| | | |
* | | | mesa: add some debug code to help diagnose incomplete FBO attachments (disabled)Brian Paul2009-02-171-0/+27
| | | |
* | | | glsl: fix mistake in a commentBrian Paul2009-02-171-1/+1
| | | |
* | | | mesa: turn on reporting of GLSL version 1.20Brian Paul2009-02-172-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | The new array features, precision/invariant/centroid qualifiers, etc. were done a while back. The glGetString(GL_SHADING_LANGUAGE_VERSION) query returns "1.20" now (for drivers that support it anyway).
* | | | glsl: fix an array indexing bugBrian Paul2009-02-171-10/+43
| | | | | | | | | | | | | | | | | | | | This fixes a bug found with swizzled array indexes such as in "array[index.z]" where "index" is an ivec4.
* | | | glsl: added --params option to stand-alone GLSL compilerBrian Paul2009-02-171-0/+8
| | | | | | | | | | | | | | | | Prints program parameter info
* | | | mesa: when printing/dumping instruction, include relative addressing infoBrian Paul2009-02-171-13/+11
| | | | | | | | | | | | | | | | Not all cases were handled before.
* | | | intel: Fix tri clear to do FBO color attachments as well.Eric Anholt2009-02-171-8/+25
| | | | | | | | | | | | | | | | | | | | This is a 2% win in fbo_firecube, and would avoid a sw fallback for masked clears.
* | | | i965: Fix fallback on stencil drawing to fbo when the visual lacks stencil.Eric Anholt2009-02-171-2/+2
| | | | | | | | | | | | | | | | Noticed this with the fbotexture demo.
* | | | intel: Clean up several 965 memory leaks on context destroy.Eric Anholt2009-02-175-2/+8
| | | |