summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe
Commit message (Collapse)AuthorAgeFilesLines
* gallium: don't use arrays for texture width,height,depthKeith Whitwell2009-11-193-56/+58
|
* softpipe: Implement PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE for destination.José Fonseca2009-11-051-2/+10
| | | | It is a valid and tested combination on D3D9.
* softpipe: Sanitise shader semantic and interpolator handling.Michal Krol2009-11-021-24/+10
| | | | | Handle the remaining semantic names and indices. Respect color interpolator when not flatshading.
* softpipe: Respect gl_rasterization_rules in primitive setup.Michal Krol2009-10-301-14/+26
|
* Merge branch 'mesa_7_6_branch'Brian Paul2009-10-101-1/+6
|\
| * softpipe: revert 564df9dc5f6335eb8dc68f3c69cf054d2142663cBrian Paul2009-10-101-1/+6
| | | | | | | | | | | | | | | | | | | | This change silenced valgrind warnings but broke progs/tests/drawbuffers. The problem is we don't know the surface's state when we start caching it (it may or may not be initialized/cleared/etc). So "clearing" it here was presumptuous. Leaving the code in place (but disabled) for reference and when using valgrind. Fixes bug 24401
* | softpipe: fix multi-drawbuffers regressionBrian Paul2009-10-101-3/+3
| | | | | | | | This is part of the fix for bug 24401.
* | softpipe: restore/fix print_vertex() debug helperBrian Paul2009-10-091-2/+6
| |
* | softpipe: new commentsBrian Paul2009-10-071-0/+39
| |
* | softpipe: whitespace and comment fixesBrian Paul2009-10-071-11/+8
| |
* | softpipe: prefix non-static functions with sp_Brian Paul2009-10-073-55/+55
| |
* | Merge branch 'mesa_7_6_branch'Brian Paul2009-10-051-1/+1
|\| | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_cpu_detect.c
| * gallium: replace // comments with /* */Brian Paul2009-10-021-1/+1
| |
* | gallium: Preparations for adding more PIPE_TRANSFER_* usage flags.Michel Dänzer2009-10-021-12/+3
| | | | | | | | | | | | Always test for PIPE_TRANSFER_READ/WRITE using the bit-wise and operator, and add a pipe_transfer_buffer_flags() helper for getting the buffer usage flags corresponding to them.
* | g3dvl: Copyright blocks.Younes Manton2009-10-012-0/+54
| |
* | g3dvl: Color space conv interface & vl impl.Younes Manton2009-10-011-0/+10
| | | | | | | | | | | | | | | | Interface is pipe_video_context::set_csc_matrix(). vl_csc.h defines some helpers to generate CSC matrices based on one of the color standard and a user defined ProcAmp (brightness, contrast, saturation, hue).
* | gallium: remove depth.occlusion_count flagKeith Whitwell2009-10-011-1/+0
| | | | | | | | | | | | | | This was redundant as drivers can just keep track of whether they are inside a begin/end query pair. We want to add more query types later and also support nested queries, none of which map well onto a flag like this. No driver appeared to be using the flag.
* | Merge branch 'mesa_7_6_branch'Brian Paul2009-09-291-0/+5
|\| | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile configs/default docs/relnotes.html src/gallium/drivers/softpipe/sp_context.c src/gallium/drivers/softpipe/sp_tile_cache.c src/mesa/main/version.h
| * softpipe: initialize the clear_flags bitvector in sp_create_tile_cache()Brian Paul2009-09-291-0/+5
| | | | | | | | | | This silences tons of valgrind warnings in programs that don't call glClear(), such as progs/demos/gamma.
| * softpipe: Grab a ref when the fb is set.Brian Paul2009-09-292-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | Nasty bug when the surface is freed and another is allocated right on top of it. The next time we set the fb state SP thinks it's the same surface and doesn't flush, and when the flush eventually happens the surface belongs to a completely different texture. (cherry picked from commit a77226071f6814a53358a5d6caff685889d0e4ec) Conflicts: src/gallium/drivers/softpipe/sp_context.c
* | softpipe: Fix MSVC build.José Fonseca2009-09-281-1/+2
| |
* | g3dvl: Formatting and cleanups.Younes Manton2009-09-273-179/+172
| |
* | g3dvl: pipe_video_context interface, softpipe impl, auxiliary libsYounes Manton2009-09-276-2/+379
| |
* | softpipe: Grab a ref when the fb is set.Younes Manton2009-09-272-4/+9
| | | | | | | | | | | | | | Nasty bug when the surface is freed and another is allocated right on top of it. The next time we set the fb state SP thinks it's the same surface and doesn't flush, and when the flush eventually happens the surface belongs to a completely different texture.
* | softpipe: Grab fs output z from the correct file.Michal Krol2009-09-251-1/+1
| |
* | softpipe: Do not advertise support for L16 and YCBCR formats.Michal Krol2009-09-251-0/+3
| |
* | Merge branch 'mesa_7_6_branch'Brian Paul2009-09-241-1/+1
|\| | | | | | | | | | | Conflicts: src/mesa/vbo/vbo_exec_array.c
| * Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul2009-09-241-1/+1
| |\
| | * softpipe: Increase GL_MAX_3D_TEXTURE_SIZE to 256.Vinson Lee2009-09-241-1/+1
| | |
* | | softpipe: fix compiler warningsKeith Whitwell2009-09-242-2/+2
| | |
* | | softpipe: Use portable INLINE macro.José Fonseca2009-09-241-1/+1
| | |
* | | softpipe: Update SConscript.José Fonseca2009-09-241-6/+0
| | |
* | | softpipe: replace macros with inline functionsBrian Paul2009-09-231-21/+32
| | | | | | | | | | | | And update comments.
* | | softpipe: white-space/formatting fixes and updated commentsBrian Paul2009-09-231-86/+87
| | |
* | | Merge branch 'mesa_7_6_branch'Brian Paul2009-09-233-8/+8
|\| | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_tile_cache.c
| * | softpipe: added max texture/surface size sanity checkBrian Paul2009-09-231-0/+6
| | |
| * | softpipe: increase MAX_WIDTH/HEIGTH 4096 to match max texture sizeBrian Paul2009-09-231-2/+2
| | |
| * | Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul2009-09-211-2/+2
| |\|
| | * softpipe: Fix cube face selection.Brian Paul2009-09-211-2/+2
| | | | | | | | | | | | | | | | | | | | | If arx and ary are equal, we still want to choose from one of them, and not arz. (cherry picked from commit de685b37a91bc95dd4093a44a49b7b47385b1f7c)
* | | Merge branch 'softpipe-opt'Keith Whitwell2009-09-2342-4267/+4510
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: progs/demos/cubemap.c src/gallium/drivers/softpipe/sp_tex_sample.c src/gallium/drivers/softpipe/sp_texture.c
| * | | softpipe: fix bugs in POT texture sampling when texture is not squareroot2009-09-221-6/+28
| | | | | | | | | | | | | | | | | | | | Before, if level was greater than the logbase2(base size) we were doing a negative bit shift and winding up with garbage values.
| * | | softpipe: additional assertionsBrian Paul2009-09-221-0/+4
| | | |
| * | | softpipe: disable a _debug_printf()Brian Paul2009-09-221-0/+2
| | | |
| * | | softpipe: need to write depth/stencil values even when stencil failsKeith Whitwell2009-09-221-12/+10
| | | |
| * | | softpipe: set quad->facing valueKeith Whitwell2009-09-221-0/+1
| | | |
| * | | softpipe: fix polygon stippleKeith Whitwell2009-09-221-2/+0
| | | |
| * | | softpipe: fix occlusion countingKeith Whitwell2009-09-221-2/+17
| | | |
| * | | softpipe: use one fewer divide in sample_cubeKeith Whitwell2009-08-241-3/+6
| | | | | | | | | | | | | | | | | | | | GCC won't do this for us. Makes a bigger difference to cubemap fps than previous set of compilcated rearrangements.
| * | | softpipe: separate out 2d and cube img filter functionsKeith Whitwell2009-08-241-4/+88
| | | |
| * | | softpipe: make the various get_texel routines more similarKeith Whitwell2009-08-241-92/+176
| | | | | | | | | | | | | | | | | | | | Remove arguments, return const float * by default. Add specialized 3d versions and remove 3d texture support from the others.