Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | draw: Silence pointer-to-integer cast warning. | Michal Krol | 2009-04-10 | 1 | -1/+1 |
| | |||||
* | draw: Fix vertex_header initialisation. | Michal Krol | 2009-04-10 | 1 | -1/+1 |
| | |||||
* | draw: Fix LIT instruction. | Michal Krol | 2009-04-09 | 1 | -2/+2 |
| | |||||
* | draw: added Nan/Inf assertion in debug code | Brian Paul | 2009-03-31 | 1 | -0/+1 |
| | |||||
* | draw: Use size_t (for x86_64). | José Fonseca | 2009-03-25 | 1 | -5/+4 |
| | |||||
* | draw: update aa points shader comment | Keith Whitwell | 2009-03-23 | 1 | -1/+1 |
| | |||||
* | draw: use AOS_ERROR rather than clash-prone ERROR() macro | Keith Whitwell | 2009-03-18 | 3 | -9/+9 |
| | |||||
* | gallium: consolidate bypass_vs and bypass_clipping flags | Keith Whitwell | 2009-03-13 | 6 | -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änzer | 2009-03-04 | 3 | -3/+0 |
| | |||||
* | gallium: Unify reference counting. | Michel Dänzer | 2009-03-04 | 2 | -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 libraries | Jakob Bornecrantz | 2009-02-20 | 1 | -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 null | Jakob Bornecrantz | 2009-02-14 | 1 | -2/+3 |
| | |||||
* | Merge branch 'gallium-texture-transfer' | Michel Dänzer | 2009-02-18 | 2 | -16/+15 |
|\ | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_tile_cache.c | ||||
| * | Merge branch 'master' into gallium-texture-transfer | Keith Whitwell | 2009-02-16 | 3 | -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änzer | 2009-02-05 | 2 | -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 Whitwell | 2009-02-18 | 1 | -0/+1 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_vs_aos.c | ||||
| * | | | draw: Reuse xmm registers. | Keith Whitwell | 2009-02-17 | 1 | -0/+13 |
| | | | | |||||
* | | | | Merge commit 'origin/draw-vbuf-interface' | Keith Whitwell | 2009-02-18 | 7 | -177/+174 |
|\ \ \ \ | |||||
| * | | | | draw: second argument to unmap is max, not count | Keith Whitwell | 2009-02-17 | 4 | -9/+12 |
| | | | | | |||||
| * | | | | draw: add map/unmap directives for swtnl driver interface | Keith Whitwell | 2009-02-17 | 7 | -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é Fonseca | 2009-02-18 | 2 | -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 Whitwell | 2009-02-18 | 1 | -0/+12 |
| | | | | |||||
* | | | | gallium: fix glean's vertProg1 | Alan Hourihane | 2009-02-16 | 1 | -10/+18 |
|/ / / | | | | | | | | | | RSQ test 2 (reciprocal square toot of negative value) | ||||
* | | | draw: Cap max vertices instead of failing assert. | José Fonseca | 2009-02-11 | 1 | -2/+3 |
| | | | |||||
* | | | draw: Fix build -- rename Size to NrTokens. | Michal Krol | 2009-02-10 | 2 | -2/+2 |
| |/ |/| | |||||
* | | gallium: standardize on stride instead of pitch in the interface | Zack Rusin | 2009-01-27 | 4 | -8/+8 |
| | | |||||
* | | draw: silence some warnings | Keith Whitwell | 2009-01-27 | 1 | -1/+4 |
| | | |||||
* | | draw: queiten compiler warnings | Keith Whitwell | 2009-01-27 | 1 | -1/+4 |
| | | |||||
* | | gallium: code to dump/debug PPC code (disabled) | Brian Paul | 2009-01-10 | 1 | -0/+5 |
| | | |||||
* | | draw: Add missing include. | José Fonseca | 2009-01-09 | 1 | -0/+2 |
| | | |||||
* | | draw: Predeclare struct. | José Fonseca | 2009-01-08 | 1 | -1/+2 |
| | | |||||
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2 | José Fonseca | 2009-01-08 | 2 | -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 Whitwell | 2008-12-23 | 2 | -4/+28 |
| | | |||||
* | | draw: Avoid integer overflow converting pointers on 64bit archs. | José Fonseca | 2008-12-31 | 1 | -1/+1 |
| | | | | | | | | Not really an error, as we only care for the lower 4 bits. | ||||
* | | draw: Do not specify types in bitfields. | José Fonseca | 2008-12-30 | 1 | -3/+3 |
| | | | | | | | | As advised by gcc -pedantic. | ||||
* | | gallium: fix some asserts | Alan Hourihane | 2008-12-16 | 1 | -4/+4 |
| | | |||||
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Alan Hourihane | 2008-12-15 | 1 | -1/+1 |
|\| | | | | | | | | | | | Conflicts: src/gallium/winsys/gdi/SConscript | ||||
| * | draw: Silencium compiler warnings on Windows. | Michal Krol | 2008-12-11 | 1 | -1/+1 |
| | | |||||
* | | gallium: catch vertex overflow higher up | Alan Hourihane | 2008-12-11 | 1 | -6/+7 |
| | | |||||
* | | gallium: added missing brace to fix broken build | Brian Paul | 2008-12-10 | 1 | -1/+1 |
| | | |||||
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Brian Paul | 2008-12-10 | 4 | -6/+20 |
|\| | |||||
| * | gallium: added draw_set_mrd() function to fix polygon offset | Brian Paul | 2008-12-10 | 4 | -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 qualifiers | Keith Whitwell | 2008-12-10 | 2 | -4/+4 |
| | | |||||
| * | draw: Add missing include. | Michal Krol | 2008-11-12 | 1 | -0/+1 |
| | | |||||
* | | gallium: change 65535 to UNDEFINED_VERTEX_ID | Alan Hourihane | 2008-12-10 | 4 | -9/+9 |
| | | |||||
* | | gallium: more vertex count checks | Alan Hourihane | 2008-12-10 | 3 | -4/+31 |
| | | |||||
* | | gallium: temporary check for > 65535 vertices | Alan Hourihane | 2008-12-10 | 4 | -0/+11 |
| | | |||||
* | | gallium: added draw_texture_samplers() to support texture fetches from ↵ | Brian | 2008-12-04 | 4 | -3/+27 |
| | | | | | | | | | | | | vertex shaders This may only be practical for the softpipe driver at this time. | ||||
* | | draw: Add missing include. | Michal Krol | 2008-11-12 | 1 | -0/+1 |
| | | |||||
* | | gallium: use PIPE_ARCH_SSE to protect use of SSE instrinsics only | Brian | 2008-11-09 | 1 | -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. |