summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* [g3dvl] using reciprocals for size calc is sometimes not precise enoughChristian König2011-05-071-9/+9
|
* Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-05-0714-46/+589
|\ | | | | | | | | Conflicts: src/gallium/drivers/r600/r600_state.c
| * gallium/draw: Fix enum type taken by draw_get_shader_param().Michel Dänzer2011-05-031-1/+1
| | | | | | | | | | | | | | | | | | | | Pointed out by clang: src/gallium/auxiliary/draw/draw_context.h:251:41: warning: implicit conversion from enumeration type 'enum pipe_cap' to different enumeration type 'enum pipe_shader_cap' [-Wconversion] return tgsi_exec_get_shader_param(param); ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
| * tgsi: remove set-but-unused variablesMarek Olšák2011-05-011-4/+0
| |
| * draw: remove set-but-unused variableMarek Olšák2011-05-011-2/+1
| |
| * rbug: remove set-but-unused variablesMarek Olšák2011-05-013-28/+0
| |
| * util: implement R11G11B10_FLOAT pack/unpack functionsMarek Olšák2011-04-294-1/+336
| | | | | | | | Reviewed-by: Brian Paul <[email protected]>
| * mesa, util: move RGB9E5 conversion functions to gallium/utilMarek Olšák2011-04-292-1/+165
| | | | | | | | | | | | | | Also use MAX3 and incorporate Ian's suggestion in texformat.c. I don't think wrapping u_format_rgb9e5.h in another header and thus making it more complicated is worth it.
| * util: implement R9G9B9E5 pack and unpack functionsMarek Olšák2011-04-291-5/+82
| | | | | | | | | | | | softpipe and llvmpipe support done (sampler only). Reviewed-by: Brian Paul <[email protected]>
| * util: make macros MIN3, MAX3, MIN4, MAX4 little more efficientMarek Olšák2011-04-271-4/+4
| |
| * gallivm: fix warning: ‘value’ may be used uninitialized in this functionMarek Olšák2011-04-271-1/+1
| | | | | | | | The path where it's uninitialized is guarded by an assert.
| * os: simplify ifdefnobled2011-04-271-1/+1
| | | | | | | | | | | | | | The actual code that needs this include is just using "if defined (PIPE_OS_UNIX)", and the two conditions should match. This should also make the file compile under Hurd.
* | [g3dvl] move zscan into shadersChristian König2011-05-055-130/+131
| |
* | [g3dvl] remove quantizer_scale from picture structureChristian König2011-05-041-34/+36
| |
* | [g3dvl] remove dc_dct_pred from picture structureChristian König2011-05-041-15/+16
| |
* | [g3dvl] divide mpg12 width height by 16Christian König2011-05-042-12/+11
| |
* | [g3dvl] remove the dubble zscan from the mpg12 decoderChristian König2011-05-041-57/+25
| |
* | [g3dvl] remove the unused bitstream parser componentsChristian König2011-05-043-278/+2
| |
* | [g3dvl] Implement MPEG2 VLDChristian König2011-05-046-0/+2190
| | | | | | | | | | Based uppon xine's slice_xvmc.c. This gets VDPAU up and running.
* | [g3dvl] make clear color configureableChristian König2011-04-272-2/+18
| |
* | [g3dvl] make reset_dirty_area a public interfaceChristian König2011-04-271-0/+1
| |
* | [g3dvl] implement clearing of dirty destination surface areasChristian König2011-04-272-13/+75
| |
* | [g3dvl] move compositor src and dst normalisation into layer settingChristian König2011-04-272-41/+64
| |
* | [g3dvl] fix setting width, height and chroma format in video bufferChristian König2011-04-271-0/+3
| |
* | [g3dvl] fix a couple of bugs around paletted subpicturesChristian König2011-04-272-16/+34
| |
* | [g3dvl] merge idct stage 2 and mc ycbcr stage into a single drawChristian König2011-04-256-258/+344
| |
* | [g3dvl] rework fence handling and add r600g workaroundChristian König2011-04-241-4/+1
| |
* | [g3dvl] start supporting different render target formatsChristian König2011-04-247-102/+173
| | | | | | | | Let's start with NV12, but anything else shouldn't be much of a problem any more.
* | [g3dvl] remove resource_format workaroundChristian König2011-04-241-1/+6
| |
* | Merge remote branch 'origin/master' into pipe-videoChristian König2011-04-2338-173/+575
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configs/linux-dri src/gallium/drivers/r600/r600_pipe.c src/gallium/drivers/r600/r600_state.c src/gallium/include/pipe/p_format.h src/gallium/tests/graw/fragment-shader/frag-abs.sh src/gallium/tests/graw/fragment-shader/frag-add.sh src/gallium/tests/graw/fragment-shader/frag-cb-1d.sh src/gallium/tests/graw/fragment-shader/frag-cb-2d.sh src/gallium/tests/graw/fragment-shader/frag-dp3.sh src/gallium/tests/graw/fragment-shader/frag-dp4.sh src/gallium/tests/graw/fragment-shader/frag-dst.sh src/gallium/tests/graw/fragment-shader/frag-ex2.sh src/gallium/tests/graw/fragment-shader/frag-face.sh src/gallium/tests/graw/fragment-shader/frag-flr.sh src/gallium/tests/graw/fragment-shader/frag-frc.sh src/gallium/tests/graw/fragment-shader/frag-kil.sh src/gallium/tests/graw/fragment-shader/frag-lg2.sh src/gallium/tests/graw/fragment-shader/frag-lit.sh src/gallium/tests/graw/fragment-shader/frag-lrp.sh src/gallium/tests/graw/fragment-shader/frag-mad-immx.sh src/gallium/tests/graw/fragment-shader/frag-mad.sh src/gallium/tests/graw/fragment-shader/frag-max.sh src/gallium/tests/graw/fragment-shader/frag-min.sh src/gallium/tests/graw/fragment-shader/frag-mov.sh src/gallium/tests/graw/fragment-shader/frag-mul.sh src/gallium/tests/graw/fragment-shader/frag-rcp.sh src/gallium/tests/graw/fragment-shader/frag-rsq.sh src/gallium/tests/graw/fragment-shader/frag-sge.sh src/gallium/tests/graw/fragment-shader/frag-slt.sh src/gallium/tests/graw/fragment-shader/frag-srcmod-abs.sh src/gallium/tests/graw/fragment-shader/frag-srcmod-absneg.sh src/gallium/tests/graw/fragment-shader/frag-srcmod-neg.sh src/gallium/tests/graw/fragment-shader/frag-srcmod-swz.sh src/gallium/tests/graw/fragment-shader/frag-sub.sh src/gallium/tests/graw/fragment-shader/frag-tempx.sh src/gallium/tests/graw/fragment-shader/frag-xpd.sh src/gallium/tests/graw/vertex-shader/vert-abs.sh src/gallium/tests/graw/vertex-shader/vert-add.sh src/gallium/tests/graw/vertex-shader/vert-arl.sh src/gallium/tests/graw/vertex-shader/vert-arr.sh src/gallium/tests/graw/vertex-shader/vert-cb-1d.sh src/gallium/tests/graw/vertex-shader/vert-cb-2d.sh src/gallium/tests/graw/vertex-shader/vert-dp3.sh src/gallium/tests/graw/vertex-shader/vert-dp4.sh src/gallium/tests/graw/vertex-shader/vert-dst.sh src/gallium/tests/graw/vertex-shader/vert-ex2.sh src/gallium/tests/graw/vertex-shader/vert-flr.sh src/gallium/tests/graw/vertex-shader/vert-frc.sh src/gallium/tests/graw/vertex-shader/vert-lg2.sh src/gallium/tests/graw/vertex-shader/vert-lit.sh src/gallium/tests/graw/vertex-shader/vert-lrp.sh src/gallium/tests/graw/vertex-shader/vert-mad.sh src/gallium/tests/graw/vertex-shader/vert-max.sh src/gallium/tests/graw/vertex-shader/vert-min.sh src/gallium/tests/graw/vertex-shader/vert-mov.sh src/gallium/tests/graw/vertex-shader/vert-mul.sh src/gallium/tests/graw/vertex-shader/vert-rcp.sh src/gallium/tests/graw/vertex-shader/vert-rsq.sh src/gallium/tests/graw/vertex-shader/vert-sge.sh src/gallium/tests/graw/vertex-shader/vert-slt.sh src/gallium/tests/graw/vertex-shader/vert-srcmod-abs.sh src/gallium/tests/graw/vertex-shader/vert-srcmod-absneg.sh src/gallium/tests/graw/vertex-shader/vert-srcmod-neg.sh src/gallium/tests/graw/vertex-shader/vert-srcmod-swz.sh src/gallium/tests/graw/vertex-shader/vert-sub.sh src/gallium/tests/graw/vertex-shader/vert-xpd.sh src/gallium/tools/trace/dump.py src/gallium/tools/trace/format.py src/gallium/tools/trace/model.py src/gallium/tools/trace/parse.py
| * draw: fix point/line/tri flushing bug in vbuf codeBrian Paul2011-04-221-4/+10
| | | | | | | | | | | | | | | | Need to reset the point/line/tri functions to point to the "first" versions whenever we flush vertices. Fixes unfilled polygon rendering errors seen in demos/samples/logo.c. See comments for more info. NOTE: This is a candidate for the 7.10 branch.
| * galahad,util: warn on resource target mismatch in copy_regionMarek Olšák2011-04-211-0/+3
| | | | | | | | Reviewed-by: Jakob Bornecrantz <[email protected]>
| * util: add a simple memcpy path for copying buffers in util_resource_copy_regionMarek Olšák2011-04-211-9/+13
| | | | | | | | Reviewed-by: Jakob Bornecrantz <[email protected]>
| * translate: disable clamping of instanced array indexesBrian Paul2011-04-192-9/+16
| | | | | | | | | | | | This fixes piglit's draw-instanced-divisor test for softpipe on both the generic and SSE paths. This is temporary until we have the correct per-array max_index information.
| * translate: s/varient/variant/Brian Paul2011-04-151-44/+44
| |
| * gallium: add and use generic function for querying patented format support (v2)Marek Olšák2011-04-152-0/+59
| | | | | | | | v2: Unsigned floats are allowed regardless of the configure switch.
| * gallium: add A/L/LA/I floating point formatsLuca Barbieri2011-04-151-0/+8
| |
| * u_vbuf_mgr: fixed vbo max_index calculationpepp2011-04-111-1/+1
| | | | | | | | Signed-off-by: Marek Olšák <[email protected]>
| * u_vbuf_mgr: fix crash with unsupported vertex format in hw VBOsMarek Olšák2011-04-082-2/+6
| |
| * llvmpipe: Take the sampler view's first_level into account when sampling.Fabian Bieler2011-04-089-30/+65
| |
| * util: add cpu detection for sse 4.2 and avxBrian Paul2011-04-072-0/+6
| |
| * util: simplify bit shifting in util_cpu_detect()Brian Paul2011-04-071-11/+11
| |
| * draw: Fix thinko in debug warnings.José Fonseca2011-04-061-3/+3
| |
| * translate: Respect translate_buffer::max_index.José Fonseca2011-04-013-2/+28
| |
| * draw: Prevent out-of-bounds vertex buffer access.José Fonseca2011-04-0111-7/+157
| | | | | | | | Based on some code and ideas from Keith Whitwell.
| * draw: Revert code reorg in previous change.José Fonseca2011-03-311-4/+4
| | | | | | | | | | | | | | | | | | | | Because fetch_count = max_index - min_index + 1 overflows for min_index = 0 and max_index = 0xffffffff. Fixes fdo 35815.
| * draw: implement vertex color clamping, and disable SSE and PPC pathsLuca Barbieri2011-03-314-9/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (some little changes by Marek Olšák) Squashed commit of the following: commit 737c0c6b7d591ac0fc969a7590e1691eeef0ce5e Author: Luca Barbieri <[email protected]> Date: Fri Aug 27 02:13:57 2010 +0200 draw: disable SSE and PPC paths (use LLVM instead) These paths don't support vertex clamping, and are anyway obsoleted by LLVM. If you want to re-enable them, add vertex clamping and test that it works with the ARB_color_buffer_float piglit tests. commit fed3486a7ca0683b403913604a26ee49a3ef48c7 Author: Luca Barbieri <[email protected]> Date: Thu Aug 26 18:27:38 2010 +0200 draw_llvm: respect vertex color clamp commit ef0efe9f3d1d0f9b40ebab78940491d2154277a9 Author: Luca Barbieri <[email protected]> Date: Thu Aug 26 18:26:43 2010 +0200 draw: respect vertex clamping in interpreter path
| * gallium: list use inline function to avoid macro shot comingJerome Glisse2011-03-301-43/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Macro can lead to hard to debug list bugs. For instance consider the following : LIST_ADD(item, list->prev) 3 instruction of the macro became : (list->prev)->next->prev = item which is equivalent to : list->prev = item Thus list prev field changes and next instruction in the macro (list->prev)->next = item became : item->next = item And you endup with list corruption, other case lead to similar list corruption. Inline function are not affected by this short coming Signed-off-by: Jerome Glisse <[email protected]>
| * draw: Forgot to remove one istart usage.José Fonseca2011-03-301-1/+1
| |
| * draw: Fix bug when drawing ushort indices.José Fonseca2011-03-301-6/+8
| | | | | | | | | | | | | | | | | | | | When the condition min_index == 0 && sizeof(ib[0]) == sizeof(draw_elts[0]) was true, we were wrongly ignoring istart and processing indices 0. Reorder some statements to make the code easier to understand.