summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw
Commit message (Collapse)AuthorAgeFilesLines
* draw: Silence pointer-to-integer cast warning.Michal Krol2009-04-101-1/+1
|
* draw: Fix vertex_header initialisation.Michal Krol2009-04-101-1/+1
|
* draw: Fix LIT instruction.Michal Krol2009-04-091-2/+2
|
* draw: added Nan/Inf assertion in debug codeBrian Paul2009-03-311-0/+1
|
* draw: Use size_t (for x86_64).José Fonseca2009-03-251-5/+4
|
* draw: update aa points shader commentKeith Whitwell2009-03-231-1/+1
|
* draw: use AOS_ERROR rather than clash-prone ERROR() macroKeith Whitwell2009-03-183-9/+9
|
* gallium: consolidate bypass_vs and bypass_clipping flagsKeith Whitwell2009-03-136-17/+19
| | | | | | | | | The draw module provides a similar interface to the driver which is retained as various bits of hardware may be able to take on incremental parts of the vertex pipeline. However, there's no need to advertise all this complexity to the state tracker. There are basically two modes now - normal and passthrough/screen-coords.
* gallium: Remove some superfluous instances of #include "p_inlines.h".Michel Dänzer2009-03-043-3/+0
|
* gallium: Unify reference counting.Michel Dänzer2009-03-042-4/+4
| | | | | | | | | | | | | | The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create().
* 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.