summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe
Commit message (Collapse)AuthorAgeFilesLines
* gallium: Replace uint64 by standard uint64_t.José Fonseca2009-01-082-4/+4
| | | | | uint64 is not (so?) standard, and often redefined by third parties, causing name clashes.
* softpipe: increase number of texture samplers/units to PIPE_MAX_SAMPLERS (16)Brian Paul2009-01-021-2/+2
|
* Merge commit 'origin/gallium-0.1' into gallium-0.2José Fonseca2008-12-311-17/+34
|\
| * softpipe: Don't fill surfaces's winsys fields.José Fonseca2008-12-221-2/+0
| | | | | | | | | | This is sometimes checked to distinguish between texture views and (deprecated) standalone surfaces.
| * softpipe: Call surface_alloc_storage to get the pipebuffer for display targets.José Fonseca2008-12-221-15/+34
| | | | | | | | | | Otherwise blitting from display target surfaces to front screen fails in several platforms.
| * softpipe: initialize refcount and winsysJerome Glisse2008-12-221-0/+2
| |
| * softpipe: convert to use texture instead of surfaceJerome Glisse2008-12-221-35/+30
| |
* | gallium: Remove unused variables.José Fonseca2008-12-301-1/+0
| |
* | softpipe: initialize refcount and winsysJerome Glisse2008-12-181-0/+2
| |
* | softpipe: convert to use texture instead of surfaceJerome Glisse2008-12-181-35/+30
| |
* | softpipe: fix vertex shader texture samplingBrian Paul2008-12-175-43/+98
| | | | | | | | | | Need to disable/bypass lambda calculation since derivatives of texcoords are meaningless for adjacent vertices.
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Alan Hourihane2008-12-151-0/+2
|\| | | | | | | | | | | Conflicts: src/gallium/winsys/gdi/SConscript
| * softpipe: Add missing header include.Michal Krol2008-12-111-0/+2
| |
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul2008-12-101-0/+20
|\|
| * gallium: added draw_set_mrd() function to fix polygon offsetBrian Paul2008-12-101-0/+20
| | | | | | | | | | | | | | | | 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...
* | softpipe: plug in softpipe's texture samplers into draw module.Brian2008-12-042-0/+18
| |
* | gallium: added PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS queryBrian2008-12-041-0/+2
| |
* | softpipe: minor tweaks, clean-upsBrian2008-12-011-13/+4
| |
* | softpipe: compute nearest/linear texcoords four at a time.Brian2008-12-011-335/+413
| | | | | | | | A small step toward SIMD-izing the code.
* | gallium: minor texture-related clean-ups, comments, etcBrian2008-12-012-17/+17
| |
* | softpipe: Fix function prototype.Michal Krol2008-11-252-2/+2
| |
* | gallium: massage sp_vbuf_draw() and sp_vbuf_draw_arrays() to look more alikeBrian Paul2008-11-241-12/+17
| | | | | | | | Also, update some comments.
* | softpipe: remove old/unneeded dependencies between TGSI exec and softpipeBrian2008-11-237-135/+210
| | | | | | | | | | Use tgsi_sampler struct as a base class. Softpipe subclasses it and adds the fields it needs.
* | 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/+8
|\|
| * softpipe: debug code (disabled)Brian Paul2008-11-061-0/+8
| |
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul2008-11-051-1/+2
|\| | | | | | | | | | | | | | | | | 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-051-1/+2
| | | | | | | | | | This prevents vertex shaders from referencing invalid memory locations when the shader is operating on less than four vertices or fragments.
* | gallium: remove unused varBrian Paul2008-10-211-3/+0
| |
* | gallium: fix the shader-rebind test in softpipe, as was done for the draw ↵Brian Paul2008-10-151-4/+1
| | | | | | | | module.
* | gallium: temporariliy revert softpipe shader optimizationBrian Paul2008-10-151-1/+2
| |
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-10-101-6/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/gallivm/instructionssoa.cpp src/gallium/auxiliary/gallivm/soabuiltins.c src/gallium/auxiliary/rtasm/rtasm_x86sse.c src/gallium/auxiliary/rtasm/rtasm_x86sse.h src/mesa/main/texenvprogram.c src/mesa/shader/arbprogparse.c src/mesa/shader/prog_statevars.c src/mesa/state_tracker/st_draw.c src/mesa/vbo/vbo_exec_draw.c
| * make draw's vertex_info struct smaller/quicker to compare with memcmp()Keith Whitwell2008-10-061-6/+6
| |
* | gallium: Introduce PIPE_ARCH_SSE define for SSE support.José Fonseca2008-10-071-1/+1
| | | | | | | | | | | | | | Besides meaning x86 and x86-64 architecture, it also depends on SSE2 support enabled on gcc. This fixes the linux-debug build.
* | softpipe: Obey const qualifier.José Fonseca2008-09-191-2/+2
| |
* | cell: dump generated code if CELL_DEBUG=asmBrian Paul2008-09-171-5/+24
|/
* softpipe: Code (commented out) to dump BMPs.José Fonseca2008-09-091-0/+13
|
* softpipe: Silence compiler warning on Windows.Michal Krol2008-09-091-0/+2
|
* softpipe: Protect pipe_condvar_signal/broadcast calls with a mutex.Michal Krol2008-09-081-4/+7
|
* softpipe: Set SP_NUM_QUAD_THREADS 1 effectively disabling multithreaded ↵Michal Krol2008-09-081-1/+1
| | | | | | | softpipe. We want to make it env variable, or even better, autodetect as the feature makes softpipe run slower on a single CPU.
* softpipe: More improvements for multithreaded softpipe.Michal Krol2008-09-081-17/+38
| | | | Store only input and inout of a quad_header in job que.
* softpipe: Split changing fields of quad_header into input, inout and output ↵Michal Krol2008-09-0815-173/+183
| | | | parts.
* softpipe: Improve multithreaded softpipe.Michal Krol2008-09-081-16/+87
| | | | Use condition vars to communicate between threads instead of stalling.
* softpipe: First attempts at multithreaded softpipe.Michal Krol2008-09-084-107/+254
| | | | Configured for 2 cores.
* softpipe: convert clear color to surface format if neededBrian Paul2008-09-051-1/+30
|
* softpipe: use the new util_surface_copy/fill() functionsBrian Paul2008-09-041-120/+2
|
* softpipe: Add missing include.José Fonseca2008-09-041-0/+1
|
* softpipe: Use pipe_buffer_* inlines as much as possible.José Fonseca2008-09-042-6/+6
|
* gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context.José Fonseca2008-09-033-5/+5
| | | | | We want to use the pipe_buffer_* inlines everywhere, but a pipe context is not always available nor is it needed.
* gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul2008-08-2430-44/+49
| | | | Also, rename p_tile.[ch] to u_tile.[ch]