summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* Squashed commit of gallium-no-texture-blanketKeith Whitwell2010-03-091-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit f90b3f01af82b9522067b1824e21709a6fb2d3af Author: Keith Whitwell <[email protected]> Date: Mon Mar 8 14:39:44 2010 +0000 gallium: remove p_screen::surface_buffer_create This isn't very useful without texture_blanket(), which has also been removed. Note that this function hasn't been removed from the old pipe_winsys (u_simple_screen) still used internally by some drivers (eg softpipe). commit 6c462de39a4b9980a5f034a95e580efdfcb8173b Author: Keith Whitwell <[email protected]> Date: Mon Mar 8 14:27:40 2010 +0000 egl/x11: disable texture_blanket usage commit b42da9160df9f47224e5b3291b972f41767aa6e5 Merge: 4be2436 3ca9336 Author: Keith Whitwell <[email protected]> Date: Mon Mar 8 14:27:24 2010 +0000 Merge commit 'origin/master' into gallium-no-texture-blanket Conflicts: src/gallium/drivers/svga/svga_screen_texture.c commit 4be2436316929e3dfc55bc34d810920c06556b66 Author: Keith Whitwell <[email protected]> Date: Thu Mar 4 14:59:26 2010 +0000 gallium: remove texture blanket call No longer needed, except for nouveau and egl/xll/native_ximage.c. Fix for nouveau is to keep the call, but move it to an internal function within nouveau. Fix for that egl/x11 relies on gallium-sw-api branch or its successor. commit 69b6764330367d63c237d0bde9fb96435d0e0257 Author: Keith Whitwell <[email protected]> Date: Thu Mar 4 13:35:16 2010 +0000 drm_api: wrap comment
* draw: quads never provoke the first vertexMarek Olšák2010-03-092-58/+20
|
* llvmpipe/gallivm: checkpoint: array of pointers to mipmap levelsBrian Paul2010-03-083-27/+48
| | | | | | | Change the texture data_ptr from just a single image pointer to an array of image pointers, indexed by mipmap level. We'll use this for mipmap filtering. For now, the mipmap level is hard-coded to zero.
* gallivm: fix a crash by making sure we set the has_mask flag correctlyZack Rusin2010-03-081-2/+1
|
* Merge branch '7.8'Brian Paul2010-03-081-0/+4
|\
| * gallivm: Initialize variables for default cases.Vinson Lee2010-03-061-0/+4
| | | | | | | | Fixes use of uninitialized variables in non-debug builds.
* | util: Use bitshift arithmetic to unpack pixels.José Fonseca2010-03-061-23/+92
| | | | | | | | All test cases pass now.
* | util: Move the format tests cases here so that they can be easily shared.José Fonseca2010-03-064-0/+615
| |
* | util: Several fixes to clamping and test.José Fonseca2010-03-061-9/+6
| | | | | | | | | | All tests pass here except util_format_b5g5r5a1_unorm_unpack_4ub, due to apparently a gcc 4.4.3 bug.
* | util: Fix the maximum value computation for SSCALED channels.José Fonseca2010-03-061-1/+1
| |
* | util: Add a new flag, for formats that can be described as a bitmask.José Fonseca2010-03-063-7/+12
| |
* | util: Add the shortened format name to the description.José Fonseca2010-03-062-0/+8
| |
* | gallivm: Add some notes about sampler static state construction.José Fonseca2010-03-061-1/+17
| | | | | | | | | | | | | | Recover some logic to make state canonical, although it is admittedly very shy compared with what could be done. We really need an helper module to make state canonical.
* | gallivm: Answer question/comment.José Fonseca2010-03-061-1/+11
| | | | | | | | This reverts commit 71c05689528d7987bfb99c3afe04e456887bc7b7.
* | gallivm: Add a placeholder for TGSI_FILE_PREDICATE registers.José Fonseca2010-03-061-0/+5
| |
* | gallivm: Integrate udis86 on scons builds.José Fonseca2010-03-061-0/+2
| |
* | gallivm: Generate valid IR for LLVM 2.7.José Fonseca2010-03-061-1/+14
|/ | | | | The signatures for pack intrinsics were made more consistent in this version.
* gallivm: checkpoint: code gen for mipmap selectionBrian Paul2010-03-051-0/+65
|
* gallivm: added methods for getting texture depth, num mipmap levelsBrian Paul2010-03-051-0/+12
|
* gallivm: checkpoint: texture LOD computation code genBrian Paul2010-03-051-3/+126
|
* gallivm: added field for sampler lodBrian Paul2010-03-052-4/+6
|
* gallivm: minor arithmetic improvementsBrian Paul2010-03-051-9/+12
|
* gallivm: implement non-normalized texture wrap modesBrian Paul2010-03-051-39/+68
| | | | | Note that only the PIPE_TEX_WRAP_CLAMP,CLAMP_TO_EDGE,CLAMP_TO_BORDER modes work with non-normalized texcoords.
* gallivm: implement texture border color, plus tweaks to some wrap modesBrian Paul2010-03-041-23/+129
| | | | | | | | | | | The progs/test/texwrap demo looks pretty good, but there are still some tiny differences from softpipe. There may be a sub-pixel texcoord interpolation error somewhere. There's some room for optimization. Many of the wrap modes compute intermediate values that are constant for the texture size (see the min/max values). These could be computed earlier and stored somewhere for later use.
* gallivm: added texture border_color fieldBrian Paul2010-03-042-0/+10
|
* gallivm: added question/commentBrian Paul2010-03-041-0/+1
|
* gallivm: commentsBrian Paul2010-03-041-0/+5
|
* gallivm: rework and implement more texture wrap modesBrian Paul2010-03-041-60/+448
| | | | | | | | | All the texture wrap modes are now implemented for linear and nearest sampling. However, texture border color is not yet supported so some wrap modes will produce int coords outside the texture bounds. We'll get garbage values insted of the texture border color for now.
* gallivm: added lp_build_fract()Brian Paul2010-03-042-0/+17
|
* gallivm: added lp_build_set_sign()Brian Paul2010-03-042-0/+39
|
* gallivm: added lp_build_negate()Brian Paul2010-03-042-0/+12
|
* gallivm: clarify unsigned vs. signed integer type constructionBrian Paul2010-03-043-19/+43
| | | | | | The lp_int_type() function was creating an unsigned type. So rename that function to lp_uint_type() and create new lp_int_type() that creates a signed type.
* util: Remove PIPE_FORMAT_R8G8B8X8_SNORM information.José Fonseca2010-03-031-2/+1
|
* gallivm: Centralize initialization. Fix stack alignment issues on Windows.José Fonseca2010-03-032-35/+20
|
* gallivm: Rename lp_bld_misc -> lp_bld_init.José Fonseca2010-03-034-6/+6
|
* Merge branch 'gallium-format-cleanup'José Fonseca2010-03-0212-156/+161
|\
| * util: Tweak comment for D3D10-like formats.José Fonseca2010-03-021-1/+3
| |
| * translate: Rename pipe formats.José Fonseca2010-03-012-6/+6
| |
| * draw: Rename pipe formats.José Fonseca2010-03-013-3/+3
| |
| * util: Rename pipe formats.José Fonseca2010-03-016-127/+126
| |
| * util: Remove PIPE_FORMAT_A8B8G8R8_SNORM.José Fonseca2010-03-011-1/+0
| |
| * util: Generate linear<->sRGB conversion tables.Michal Krol2010-03-011-0/+17
| |
| * util: Fix PIPE_FORMAT_R8G8B8_SRGB swizzles.José Fonseca2010-03-011-1/+1
| | | | | | | | | | | | | | | | | | The only user of PIPE_FORMAT_R8G8B8_SRGB is mesa, which per src/mesa/main/texstore.c interprets it as R8 G8 B8 and not the other way around.
| * util: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.José Fonseca2010-03-014-13/+9
| |
| * util: Fix PIPE_FORMAT_R8G8B8_UNORM description and notes.José Fonseca2010-03-011-3/+1
| | | | | | | | | | | | There is actually no ambiguity in use -- it is always used as R8 G8 B8
| * util: Remove inexisting formats.José Fonseca2010-03-011-7/+0
| | | | | | | | | | | | | | Can't find these formats used in any state tracker or any API. For some of these probably the reverse notation was meant, for which formats already exist.
| * util: A few more links for D3D formats.José Fonseca2010-03-011-2/+3
| |
* | llvmpipe: improve based on review from Jose and fix else clausesZack Rusin2010-03-021-8/+9
| | | | | | | | | | | | else was broken in the outter most else statemants, plus the code didn't need an inverted mask to compute the inverse of the current condition.
* | Merge branch 'gallium-no-rhw-position'Michal Krol2010-03-0211-56/+194
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_state_derived.c
| * | util/blitter: Fix the viewport transformation for Z coordinatesMarek Olšák2010-03-021-2/+2
| | | | | | | | | | | | | | | When clearing buffers, the depth is specified in the range [0, 1] and should be passed through blitter "as is".