summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw
Commit message (Collapse)AuthorAgeFilesLines
* gallium: Improve makefiles for librariesJakob Bornecrantz2009-02-201-4/+0
| | | | | | | | The template makefile that most libraries in gallium included was based on dri and had a bunch unrelevant junk in it. Update it and improve the depending makefiles.
* draw: Fix segfault if rast is nullJakob Bornecrantz2009-02-141-2/+3
|
* Merge branch 'gallium-texture-transfer'Michel Dänzer2009-02-182-16/+15
|\ | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_tile_cache.c
| * Merge branch 'master' into gallium-texture-transferKeith Whitwell2009-02-163-4/+5
| |\ | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_cb_accum.c src/mesa/state_tracker/st_cb_drawpixels.c
| * | gallium: No longer allow CPU mapping surfaces directly.Michel Dänzer2009-02-052-16/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | |
* | | | Merge commit 'origin/draw-vbuf-interface'Keith Whitwell2009-02-187-177/+174
|\ \ \ \
| * | | | draw: second argument to unmap is max, not countKeith Whitwell2009-02-174-9/+12
| | | | |
| * | | | 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-182-3/+3
| | | | | | | | | | | | | | | | | | | | The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible.
* | | | draw: Reuse xmm registers.Keith Whitwell2009-02-181-0/+12
| | | |
* | | | gallium: fix glean's vertProg1Alan Hourihane2009-02-161-10/+18
|/ / / | | | | | | | | | RSQ test 2 (reciprocal square toot of negative value)
* | | draw: Cap max vertices instead of failing assert.José Fonseca2009-02-111-2/+3
| | |
* | | draw: Fix build -- rename Size to NrTokens.Michal Krol2009-02-102-2/+2
| |/ |/|
* | gallium: standardize on stride instead of pitch in the interfaceZack Rusin2009-01-274-8/+8
| |
* | draw: silence some warningsKeith Whitwell2009-01-271-1/+4
| |
* | draw: queiten compiler warningsKeith Whitwell2009-01-271-1/+4
| |
* | gallium: code to dump/debug PPC code (disabled)Brian Paul2009-01-101-0/+5
| |
* | draw: Add missing include.José Fonseca2009-01-091-0/+2
| |
* | draw: Predeclare struct.José Fonseca2009-01-081-1/+2
| |
* | Merge commit 'origin/gallium-0.1' into gallium-0.2José Fonseca2009-01-082-4/+28
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/tgsi/tgsi_exec.c src/gallium/drivers/cell/spu/spu_command.h src/gallium/include/pipe/p_shader_tokens.h src/mesa/main/config.h src/mesa/main/mtypes.h src/mesa/shader/prog_execute.c src/mesa/shader/slang/slang_emit.c src/mesa/state_tracker/st_program.c src/mesa/state_tracker/wgl/stw_wgl.h src/mesa/state_tracker/wgl/stw_wgl_pixelformat.h
| * draw: allow driver-override of draw_need_pipeline()Keith Whitwell2008-12-232-4/+28
| |
* | draw: Avoid integer overflow converting pointers on 64bit archs.José Fonseca2008-12-311-1/+1
| | | | | | | | Not really an error, as we only care for the lower 4 bits.
* | draw: Do not specify types in bitfields.José Fonseca2008-12-301-3/+3
| | | | | | | | As advised by gcc -pedantic.
* | gallium: fix some assertsAlan Hourihane2008-12-161-4/+4
| |
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Alan Hourihane2008-12-151-1/+1
|\| | | | | | | | | | | Conflicts: src/gallium/winsys/gdi/SConscript
| * draw: Silencium compiler warnings on Windows.Michal Krol2008-12-111-1/+1
| |
* | gallium: catch vertex overflow higher upAlan Hourihane2008-12-111-6/+7
| |
* | gallium: added missing brace to fix broken buildBrian Paul2008-12-101-1/+1
| |
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul2008-12-104-6/+20
|\|
| * gallium: added draw_set_mrd() function to fix polygon offsetBrian Paul2008-12-104-2/+16
| | | | | | | | | | | | | | | | The Minimum Resolvable Depth factor depends on the driver and can't just be computed from the number of Z buffer bits. Glean's polygon offset test now passes with softpipe. Still need to determine the MRD factor for other gallium drivers, if they use the draw module's polygon offset stage...
| * draw: add const qualifiersKeith Whitwell2008-12-102-4/+4
| |
| * draw: Add missing include.Michal Krol2008-11-121-0/+1
| |
* | gallium: change 65535 to UNDEFINED_VERTEX_IDAlan Hourihane2008-12-104-9/+9
| |
* | gallium: more vertex count checksAlan Hourihane2008-12-103-4/+31
| |
* | gallium: temporary check for > 65535 verticesAlan Hourihane2008-12-104-0/+11
| |
* | gallium: added draw_texture_samplers() to support texture fetches from ↵Brian2008-12-044-3/+27
| | | | | | | | | | | | vertex shaders This may only be practical for the softpipe driver at this time.
* | draw: Add missing include.Michal Krol2008-11-121-0/+1
| |
* | gallium: use PIPE_ARCH_SSE to protect use of SSE instrinsics onlyBrian2008-11-091-1/+1
| | | | | | | | | | | | This allows us to use SSE codegen with debug builds again. When PIPE_ARCH_SSE is set (w/ gcc -msse -msse2) we will also use the gcc SSE intrinsic functions.
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul2008-11-061-0/+89
|\|
| * gallium: debug code to print vertex array data (disabled)Brian Paul2008-11-061-0/+89
| |
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul2008-11-054-1/+46
|\| | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/rtasm/rtasm_execmem.c src/mesa/shader/slang/slang_emit.c src/mesa/shader/slang/slang_log.c src/mesa/state_tracker/st_atom_framebuffer.c
| * gallium: call tgsi_set_exec_mask() and use exec mask in SSE ARL codeBrian Paul2008-11-052-0/+20
| | | | | | | | | | This prevents vertex shaders from referencing invalid memory locations when the shader is operating on less than four vertices or fragments.
| * gallium: added some debug code (disabled)Brian Paul2008-11-051-0/+24
| |
| * gallium: disable some debug outputBrian Paul2008-11-051-1/+2
| |
| * draw: Implement TGSI_OPCODE_TRUNC.michal2008-11-051-0/+14
| |
* | draw: Implement TGSI_OPCODE_TRUNC.michal2008-11-051-0/+14
| |
* | gallium: no longer pass max_inst to ppc_init_func()Brian Paul2008-10-291-1/+1
| |
* | gallium: clean-upsBrian Paul2008-10-291-10/+4
| |