aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* g3dvl: Rework the decoder interface part 3/5Christian König2011-08-266-82/+301
| | | | | | | | Revert back to a macroblock based interface. The structure used tries to keep as close to the spec as possible. Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
* g3dvl: Rework the decoder interface part 2/5Christian König2011-08-262-0/+19
| | | | | | | | Implement PIPE_CAP_NUM_BUFFERS_DESIRED giving the decoder control over the number of buffers a state tracker should allocate. Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
* g3dvl: Rework the decoder interface part 1/5Christian König2011-08-262-220/+254
| | | | | | | | | First of all get ride of the decode_buffer structure, while still giving the decoder the ability to organize it's buffers depending on the needs of the state tracker. Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
* pp: add files to Makefile.sourcesBrian Paul2011-08-251-0/+6
|
* Merge branch 'kasanen-post-process-v2'Brian Paul2011-08-2515-0/+4707
|\ | | | | | | | | | | Conflicts: src/gallium/auxiliary/Makefile src/gallium/auxiliary/SConscript
| * pp/main queue: Add the PP headersLauri Kasanen2011-08-193-0/+215
| | | | | | | | | | Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * pp/main queue: Add pp_program.[ch]Lauri Kasanen2011-08-192-0/+201
| | | | | | | | | | Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * pp/main queue: Add pp_init.cLauri Kasanen2011-08-191-0/+283
| | | | | | | | | | Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * pp/main queue: Add pp_run.cLauri Kasanen2011-08-191-0/+188
| | | | | | | | | | Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * pp: Add Jimenez' MLAALauri Kasanen2011-08-192-0/+646
| | | | | | | | | | Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * pp: Add the MLAA areamapLauri Kasanen2011-08-191-0/+2821
| | | | | | | | | | | | | | | | The areamap contains precomputed data on different aliasing types. It is necessary for good performance. Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * pp: Cel-shade filterLauri Kasanen2011-08-192-0/+117
| | | | | | | | | | Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * pp: Color filtersLauri Kasanen2011-08-192-0/+149
| | | | | | | | | | Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * pp: DocsLauri Kasanen2011-08-191-0/+87
| | | | | | | | | | Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * aux/Makefile,SConscript: Build PPLauri Kasanen2011-08-192-0/+12
| | | | | | | | | | Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* | tgsi: add TXF support.Dave Airlie2011-08-252-1/+59
| | | | | | | | | | | | | | | | | | | | | | This is a straight texel fetch with no filtering or clamping. It uses integers to specify the i/j/k (from EXT_gpu_shader4). To enable this I had to add another hook into the tgsi sampler so that we could easily bypass all the filtering sample does. Signed-off-by: Dave Airlie <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* | tgsi: add TXQ support. (v2)Dave Airlie2011-08-252-1/+31
| | | | | | | | | | | | | | | | | | | | this adds another callback in the sampler struct containing get_dims entry point. This is used to query the driver for the texture resource dimensions for the resource bound to the current sampler. v2: remove unusued variable, fix indent Signed-off-by: Dave Airlie <[email protected]>
* | auxiliary/os: add wrappers for mmap/munmapChia-I Wu2011-08-241-0/+87
| | | | | | | | | | | | The use of mmap() in winsys requires large file support. Not all OSes have LFS so a wrapper should be used. In particular, os_mmap() should call __mmap2() on Android.
* | make: Add missing source file.José Fonseca2011-08-231-0/+1
| |
* | auxiliary: share the source listsChia-I Wu2011-08-234-591/+207
| | | | | | | | | | | | | | | | | | | | Factor out source lists from Makefile to Makefile.sources, and let Makefile, SConscript, and Android.mk share it. Note that files in $(GENERATED_SOURCES) are removed from $(C_SOURCES). Acked-by: José Fonseca <[email protected]> Acked-by: Chad Versace <[email protected]>
* | android: build gallium auxiliariesChia-I Wu2011-08-211-0/+252
| | | | | | | | This builds the static library libmesa_gallium from gallium auxiliaries.
* | gallium: add PIPE_OS_ANDROID supportChia-I Wu2011-08-212-2/+12
|/ | | | | | | Android uses Linux kernel and its own C runtime. It resembles PIPE_OS_LINUX a lot with some minor exceptions. Reviewed-by: Brian Paul <[email protected]>
* r600g: expose ARB_ES2_compatibility by claiming fixed-point format supportMarek Olšák2011-08-162-31/+32
| | | | | | I also needed to make some changes in u_vbuf_mgr in order to override the caps from the driver and enable the fallback even though the driver claims the format is supported.
* u_blitter: restore some states conditionallyMarek Olšák2011-08-161-12/+17
|
* u_blitter: rename util_blitter_copy_region -> util_blitter_copy_textureMarek Olšák2011-08-162-17/+20
|
* Merge branch 'glsl-to-tgsi'Bryan Cain2011-08-042-1/+14
|\ | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_atom_pixeltransfer.c src/mesa/state_tracker/st_program.c
| * tgsi: add support for TGSI_OPCODE_MOD in tgsi_execBryan Cain2011-08-011-1/+12
| |
| * gallium: add PIPE_SHADER_CAP_INTEGERSBryan Cain2011-08-011-0/+2
| |
* | util: fix a typo in util_format_swizzle_4fMarek Olšák2011-08-031-1/+1
| | | | | | | | Reported by Gustaw Smolarczyk.
* | gallium/util: add functions for manipulating swizzlesMarek Olšák2011-08-022-0/+69
| | | | | | | | Some of those have been in drivers already.
* | util: enable S3TC support when the force_s3tc_enable env var is set to "true"Bryan Cain2011-07-261-2/+9
| | | | | | | | NOTE: This is a candidate for the 7.10 and 7.11 branches.
* | gallium: change formats merged with pipe-video to type "other"Christian König2011-07-251-7/+7
| | | | | | | | Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=39276
* | g3dvl: remove unused vs output from create_ref_vert_shaderChristian König2011-07-251-4/+1
| | | | | | | | | | The position of the quad vertex is calculated in calc_position, so we don't need the output here any more.
* | gallivm: Add a note about log2 computation and denormalized numbers.José Fonseca2011-07-221-0/+6
| |
* | gallivm: Fix lp_build_exp2 order 4-5 polynomial coefficients and bump order.José Fonseca2011-07-221-12/+12
| | | | | | | | | | | | | | Not sure how I computed these, but they were wrong (which explains why bumping the polynomial order before never improved precision). This allows to pass the EXP test cases of PSPrecision/VSPrecision DCTs.
* | gallivm: Increase lp_build_rsqrt() precision.José Fonseca2011-07-221-1/+1
| | | | | | | | | | | | | | Add an iteration step, which makes rqsqrt precision go from 12bits to 24, and fixes RSQ/NRM test case of PSPrecision/VSPrevision DCTs. There are no uses of this function outside shader translation.
* | gallivm: Update minimax comments.José Fonseca2011-07-221-6/+17
| |
* | gallivm: Fix lp_build_exp/lp_build_log.José Fonseca2011-07-221-2/+2
| | | | | | | | | | Never used so far -- we only used the base 2 variants -- which is why it went unnoticed so far.
* | util: Store alpha value too.José Fonseca2011-07-221-1/+1
| |
* | Revert "g3dvl: Preserve previously rendered components for MC output."Younes Manton2011-07-211-4/+4
| | | | | | | | | | | | This reverts commit b56daf71d2f63d044d4c53ab49c6f87e02991a28. The bug is actually in softpipe's blend and writemask interaction.
* | Merge branch 'gallium-polygon-stipple'Brian Paul2011-07-213-20/+64
|\ \
| * | util: assorted updates to polygon stipple helperBrian Paul2011-07-211-10/+33
| | |
| * | tgsi: add info fields for fragcoord origin, center, etcBrian Paul2011-07-212-10/+31
| | |
* | | u_vbuf_mgr: restore buffer offsetsChia-I Wu2011-07-211-0/+10
| | | | | | | | | | | | | | | | | | | | | u_vbuf_upload_buffers modifies the buffer offsets. If they are not restored, and any of the vertex formats is not supported natively, the next u_vbuf_mgr_draw_begin call will translate the vertex buffers with incorrect buffer offsets.
* | | g3dvl: remove unused vertex shader inputsMarek Olšák2011-07-202-4/+4
| | | | | | | | | | | | See also comments in the code.
* | | g3dvl: Preserve previously rendered components for MC output.Younes Manton2011-07-201-4/+4
| | | | | | | | | | | | Fixes xvmc-softpipe MC entrypoint, amongst others.
* | | g3dvl: Init/clean pipe fully when a shader-based decoder isn't used.Younes Manton2011-07-202-0/+26
| | | | | | | | | | | | Fixes VDPAU CSC-only mode.
* | | llvmpipe: fix build with LLVM 3.0svnTobias Droste2011-07-191-13/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | LLVM 3.0svn introduced a new type system. It defines a new way to create named structs and removes the (now not needed) LLVMInvalidateStructLayout function. See revision 134829 of LLVM. Signed-off-by: Tobias Droste <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* | | gallivm: Rename createAsmInfo to createMCAsmInfo with llvm-3.0.Vinson Lee2011-07-161-0/+4
| | | | | | | | | | | | | | | llvm-3.0svn r135219 renamed createAsmInfo to createMCAsmInfo in include/llvm/Target/TargetRegistry.h.
* | | g3dvl: no need for flushing inside the compositor any moreChristian König2011-07-152-6/+2
| | | | | | | | | | | | Move that also inside the state tracker where needed.