summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* gallium/auxiliary: Add -fno-rtti to CXXFLAGS on LLVM >= 3.2.Johannes Obermayr2012-12-031-1/+5
| | | | | | | | Also remove the recently added and overloaded LLVM_CXXFLAGS from CXXFLAGS. Note: This is a candidate for the stable branches. Reviewed-by: Tom Stellard <[email protected]>
* auxillary: Append LLVM_CXXFLAGS to CXXFLAGSTom Stellard2012-11-131-0/+1
|
* util: Reimplement half <-> float conversions.James Benton2012-06-291-2/+0
| | | | | | | | | | Removed u_half.py used to generate the table for previous method. Previous implementation of float to half conversion was faulty for denormalised and NaNs and would require extra logic to fix, thus making the speedup of using tables irrelevant. Reviewed-by: Jose Fonseca <[email protected]>
* gallium: Add pipe loader for device enumeration and driver multiplexing.Francisco Jerez2012-05-111-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | The goal is to have a uniform interface to create winsys and pipe_screen instances for any driver, exposing the device enumeration capabilities that might be supported by the operating system (for now there's a "drm" back-end using udev and a "sw" back-end that always returns the same built-in devices). The typical use case of this library will be: > > struct pipe_loader_device devs[n]; > struct pipe_screen *screen; > > pipe_loader_probe(&devs, n); >[pick some device from the array...] > > screen = pipe_loader_create_screen(dev, library_search_path); >[do something with screen...] > > screen->destroy(screen); > pipe_loader_release(&devs, N); > A part of the code was taken from targets/gbm/pipe_loader.c, which will be removed and replaced with calls into this library by a future commit.
* auxiliary: share the source listsChia-I Wu2011-08-231-198/+3
| | | | | | | | | | 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]>
* [g3dvl] and finally remove pipe_video_contextChristian König2011-07-081-1/+1
|
* Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-06-091-1/+1
|\ | | | | | | | | | | Conflicts: src/gallium/tests/unit/u_format_test.c src/gallium/winsys/r600/drm/r600_hw_context.c
| * draw: rename draw_vs_varient.c to draw_vs_variant.cBrian Paul2011-06-071-1/+1
| |
* | [g3dvl] remove the unused bitstream parser componentsChristian König2011-05-041-3/+2
| |
* | [g3dvl] Implement MPEG2 VLDChristian König2011-05-041-0/+1
| | | | | | | | | | Based uppon xine's slice_xvmc.c. This gets VDPAU up and running.
* | Merge remote branch 'origin/master' into pipe-videoChristian König2011-04-231-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Prevent out-of-bounds vertex buffer access.José Fonseca2011-04-011-0/+1
| | | | | | | | Based on some code and ideas from Keith Whitwell.
* | [g3dvl] start implementing zscan and quantificationChristian König2011-04-231-0/+1
| | | | | | | | Not 100% complete, but at least a good start.
* | [g3dvl] rename vl_mpeg12_mc_renderer into vl_mcChristian König2011-04-171-1/+1
| | | | | | | | | | It's still not 100% free from mpeg12 specific stuff, but should now be a good start for other codecs.
* | [g3dvl] and finally split the decoder part out of the contextChristian König2011-04-061-1/+2
| | | | | | | | This should give a good basis to implement vdpau ontop of it.
* | [g3dvl] rename ycbcr buffer to video buffer and add some more functionalityChristian König2011-04-041-1/+1
| |
* | [g3dvl] introduction of ycbcr buffersChristian König2011-03-271-1/+2
| | | | | | | | Moves most of the buffer creation out of the idct code.
* | Merge remote branch 'origin/master' into pipe-videoChristian König2011-03-191-1/+3
|\| | | | | | | | | | | Conflicts: src/gallium/drivers/r600/r600_asm.c src/gallium/tests/unit/SConscript
| * gallivm: Use LLVM MC disassembler, instead of udis86.José Fonseca2011-03-131-1/+1
| | | | | | | | | | Included in LLVM 2.7+. Unlink udis86, should support all instructions that LLVM can emit.
| * gallium/util: new polygon stipple utility helperBrian Paul2011-03-101-0/+1
| | | | | | | | | | | | | | The polygon stipple fallback does not have to be implemented in the draw module (it doesn't need window coords, etc). Drivers can use this utility and avoid sw vertex fallbacks if pstipple is enabled. Note: this is WIP and not used by any driver yet.
| * gallium/util: add LATC supportMarek Olšák2011-03-081-0/+1
| | | | | | | | | | | | Again, a lot of code is shared with RGTC. The layout is UTIL_FORMAT_LAYOUT_RGTC, because LATC is just swizzled RGTC.
* | [g3dvl] move mpeg12 context out of softpipeChristian König2011-03-171-0/+1
| |
* | Merge remote branch 'origin/master' into pipe-videoChristian König2011-03-031-0/+1
|\|
| * gallium: add RGTC UNORM support to u_format.Dave Airlie2011-03-021-0/+1
| | | | | | | | | | | | | | | | SNORM needs a bit of work in the state tracker in order for mipmap generation to work I believe. I'm also not sure that having unorm fetches for an snorm format is sane.
* | Merge remote branch 'origin/master' into pipe-videoChristian König2011-02-241-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac src/gallium/auxiliary/Makefile src/gallium/auxiliary/SConscript src/gallium/drivers/r600/r600_asm.c src/gallium/drivers/r600/r600_asm.h src/gallium/drivers/r600/r600_shader.c src/gallium/drivers/r600/r600_state_inlines.h src/gallium/drivers/r600/r600_texture.c
| * util: import a new vertex buffer managerMarek Olšák2011-02-071-1/+2
| | | | | | | | | | | | | | This code has originally matured in r300g and was ported to r600g several times. It was obvious it's a code duplication. See also comments in the header file.
* | Merge remote branch 'origin/master' into pipe-videoChristian König2010-12-111-5/+2
|\| | | | | | | | | | | Conflicts: src/gallium/drivers/r600/r600_pipe.c src/gallium/drivers/r600/r600_texture.c
| * mesa: consolidate some compiler -D flagsBrian Paul2010-12-031-3/+0
| | | | | | | | | | -D__STDC_CONSTANT_MACROS and -D__STDC_LIMIT_MACROS are only needed for LLVM build.
| * gallivm/llvmpipe: squash merge of the llvm-context branchBrian Paul2010-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This branch defines a gallivm_state structure which contains the LLVMBuilderRef, LLVMContextRef, etc. All data structures built with this object can be periodically freed during a "garbage collection" operation. The gallivm_state object has to be passed to most of the builder functions where LLVMBuilderRef used to be used. Conflicts: src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c src/gallium/drivers/llvmpipe/lp_state_setup.c
| * util: rename u_mempool -> u_slabMarek Olšák2010-11-301-1/+1
| |
* | use a shadow buffer for vertex data to optimize memory accessChristian König2010-12-031-1/+2
| |
* | Merge remote branch 'origin/master' into pipe-videoChristian König2010-11-211-1/+1
|\| | | | | | | | | | | Conflicts: src/gallium/auxiliary/Makefile src/gallium/auxiliary/SConscript
| * gallium: Remove redundant sw and debug target helpersJakob Bornecrantz2010-11-171-2/+1
| |
* | [g3dvl] add skeleton and incomplete idctChristian König2010-11-141-1/+2
| |
* | Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into pipe-videoChristian König2010-10-281-5/+6
|\| | | | | | | | | Conflicts: src/gallium/include/pipe/p_format.h
| * Fix build on systems where "python" is python 3.Kenneth Graunke2010-10-271-5/+5
| | | | | | | | | | | | | | | | | | | | | | First, it changes autoconf to use a "python2" binary when available, rather than plain "python" (which is ambiguous). Secondly, it changes the Makefiles to use $(PYTHON) $(PYTHON_FLAGS) rather than calling python directly. Signed-off-by: Xavier Chantry <[email protected]> Signed-off-by: Matthew William Cox <[email protected]> Signed-off-by: Kenneth Graunke <[email protected]>
| * gallivm: More detailed analysis of tgsi shaders.José Fonseca2010-10-111-0/+1
| | | | | | | | To allow more optimizations, in particular for direct textures.
* | Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into pipe-videoChristian König2010-10-121-17/+36
|\| | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac src/gallium/drivers/nvfx/Makefile src/gallium/include/pipe/p_defines.h src/gallium/include/pipe/p_screen.h src/gallium/include/state_tracker/dri1_api.h src/gallium/include/state_tracker/drm_api.h src/gallium/winsys/nouveau/drm/nouveau_drm_api.c
| * Merge branch 'sprite-coord'Brian Paul2010-09-211-0/+1
| |\
| | * gallium: rework handling of sprite_coord_enable stateBrian Paul2010-09-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the pipe_rasterizer_state::sprite_coord_enable field in the draw module (and softpipe) according to what's specified in the documentation. The draw module can now add any number of extra vertex attributes to a post-transformed vertex and generate texcoords for those attributes per sprite_coord_enable. Auto-generated texcoords for sprites only worked for one texcoord unit before. The frag shader gl_PointCoord input is now implemented like any other generic/texcoord attribute. The draw module now needs to be informed about fragment shaders since we need to look at the fragment shader's inputs to know which ones need auto-generated texcoords. Only softpipe has been updated so far.
| * | util/r300g: split the r300 index buffer modifier functions out to utilDave Airlie2010-09-201-0/+1
| |/ | | | | | | | | | | These can be used by other drivers, like r600g. Signed-off-by: Dave Airlie <[email protected]>
| * gallivm: Start collecting bitwise arithmetic helpers in a new module.José Fonseca2010-09-161-0/+1
| |
| * gallivm: expand AoS sampling to cover all filtering modesBrian Paul2010-09-151-0/+1
| | | | | | | | ...and all texture targets (1D/2D/3D/CUBE).
| * gallivm: Basic AoS TGSI -> LLVM IR.José Fonseca2010-09-111-0/+1
| | | | | | | | Essentially a variation of the SoA version.
| * auxiliary: Reorder list of files in Makefile.Vinson Lee2010-08-211-14/+14
| | | | | | | | This patch reorders the list of files so that the order is more alphabetic.
| * gallium/auxiliary: add semantic linkage utility codeLuca Barbieri2010-08-211-0/+1
| |
| * auxiliary: add reference count debugging codeLuca Barbieri2010-08-201-0/+1
| |
| * os_stream: add printf facilityLuca Barbieri2010-08-201-0/+1
| |
| * auxiliary: add functions to describe gallium objectsLuca Barbieri2010-08-201-0/+1
| |
| * draw: Remove varray and vcache.Chia-I Wu2010-08-161-3/+0
| | | | | | | | They have been deprecated by vsplit.