summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* vl: Don't wrap blocks in pipe_user_buffers.Younes Manton2010-03-121-10/+12
| | | | | Mallocing/free eat up a noticeable amount of CPU time for no practical benefit.
* vl: Use pipe_surface instead of pipe_texture in interfaces.Younes Manton2010-03-124-66/+53
|
* vl: Get rid of pipe_video_surface.Younes Manton2010-03-121-1/+0
|
* gallium: Add common video format enums.Younes Manton2010-03-121-0/+7
|
* Merge remote branch 'origin/master' into pipe-videoYounes Manton2010-03-12247-11955/+25341
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac src/gallium/auxiliary/vl/Makefile src/gallium/auxiliary/vl/SConscript src/gallium/auxiliary/vl/vl_compositor.c src/gallium/auxiliary/vl/vl_compositor.h src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.h src/gallium/drivers/nouveau/nouveau_winsys.h src/gallium/drivers/softpipe/sp_video_context.c src/gallium/include/pipe/p_video_state.h src/gallium/include/state_tracker/drm_api.h src/gallium/state_trackers/xorg/xvmc/surface.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.h src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/g3dvl/nouveau/Makefile
| * 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".
| | * | util: Fix u_blitter setup code after bypass_vs_clip_and_viewport removal.Michal Krol2010-03-012-11/+51
| | | | | | | | | | | | | | | | Not tested.
| | * | util: Fix blitter vertex and viewport setup.Michal Krol2010-02-251-6/+21
| | | |
| | * | util: Reset clip state when doing blitting.Michal Krol2010-02-242-1/+11
| | | |
| | * | cso: Track clip state with cso context.Michal Krol2010-02-242-0/+67
| | | |
| | * | gallium: Remove bypass_vs_clip_and_viewport from rasteriser state.Michal Krol2010-02-228-40/+46
| | | | | | | | | | | | | | | | Needs testing.
| * | | llvmpipe: implement some control-flowZack Rusin2010-03-011-11/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | implements if/else/endif constructs and lays down the code for looping and others. we create a conditional execution mask which decides which of the four inputs are enabled for any store. it's used only if an execution mask is present, otherwise we go through a direct store.
| * | | tgsi: Cleanup exec code for CLAMP, CMP and CND.Michal Krol2010-03-011-28/+39
| | |/ | |/|
| * | util: A few more todo marks.José Fonseca2010-03-011-0/+3
| | |
| * | util: More documentation for u_format.csvJosé Fonseca2010-03-011-0/+57
| | |
| * | util: Tweak comments regarding R8G8B8A8/X8_UNORM.José Fonseca2010-03-011-2/+2
| | |
| * | python: Don't mention deprecated drivers=trace option.José Fonseca2010-03-011-0/+4
| | | | | | | | | | | | Now trace always built.
| * | util: Fix X8/A8B8G8R8_SNORM's swizzle.José Fonseca2010-02-271-2/+2
| | |
| * | gallium: define GENERATED auxiliary filesBrian Paul2010-02-261-1/+7
| | | | | | | | | | | | Don't need special default dependency on u_format_pack.h anymore.
| * | util: Define SRGB's channels as normalized.José Fonseca2010-02-261-9/+9
| | | | | | | | | | | | A better approximation than uscaled...
| * | util: Code generate functions to pack and unpack a single pixel.José Fonseca2010-02-265-159/+501
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should work correctly for all pixel formats except SRGB formats. Generated code made much simpler by defining the pixel format as a C structure. For example this is the generated structure for PIPE_FORMAT_B6UG5SR5S_NORM: union util_format_b6ug5sr5s_norm { uint16_t value; struct { int r:5; int g:5; unsigned b:6; } chan; }; Not used everywhere yet because it seems compiled code is slower than bitshift arithmetic by some misterious reason. So we should generate bitshift arithmetic at least for the simple UNORM pixel formats.
| * | util: Factor some code into u_format_parse.pyJosé Fonseca2010-02-263-26/+94
| | |
| * | util: Add util_bswap16.José Fonseca2010-02-261-0/+11
| | |
| * | util: Use python names consistent with u_format.hJosé Fonseca2010-02-263-114/+126
| | |