summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* android: make DRM optionalChia-I Wu2011-08-274-6/+33
| | | | For BOARD_GPU_DRIVERS=swrast build, DRM is not needed.
* android: add support for nouveauChia-I Wu2011-08-277-0/+203
| | | | Compile tested only.
* android: add support for r300gChia-I Wu2011-08-273-2/+56
| | | | Compile tested only.
* android: add support for i915gChia-I Wu2011-08-274-0/+87
| | | | | | Quickly tested with 945GME. SurfaceFlinger (the display server and compositor) works. 2D apps with RGB or RGBA visuals work. As for 3D apps, some work and some do not.
* android: add support for vmwgfxChia-I Wu2011-08-274-0/+90
| | | | | | | Quickly tested with VMWare Workstation 7.1.4 on Linux with GeForce GT220. SurfaceFlinger (the display server and compositor) works. 2D apps with RGB visual works. However, due to missing PIPE_FORMAT_R8G8B8A8_UNORM support, those with RGBA visual do not.
* winsys/i915: share the source listChia-I Wu2011-08-273-11/+8
| | | | | Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
* winsys/svga: share the source listChia-I Wu2011-08-273-21/+13
| | | | | Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
* nouveau: share the source listsChia-I Wu2011-08-2712-149/+91
| | | | | For each driver, factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
* r300g: share the source listChia-I Wu2011-08-273-114/+63
| | | | | | | | | | | | | | | | Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it. Note that $(TOP)/src/glsl/ralloc.c and $(TOP)/src/mesa/program/register_allocate.c are removed from C_SOURCES in Makefile.sources and added back in Makefile and SConscript. The idea is that they are not part of r300g. But having them in libr300.a makes build non-GL targets such as the compiler tests or g3dvl much easier. Also, for practical reason, TOP would be an undefined variable in Makefile.sources.
* i915g: share the source listChia-I Wu2011-08-273-53/+30
| | | | | Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
* svga: share the source listChia-I Wu2011-08-273-97/+50
| | | | | Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
* targets/egl-static: fix nouveau and vmwgfx for AndroidChia-I Wu2011-08-271-0/+10
| | | | | | | drmVersion and driver specific ioctls are used to get the PCI ID from a DRM fd. Eexpand the mechanism to nouveau and vmwgfx, except that for nouveau, only the vendor ID is needed, and for vmwgfx, always assume SVGA II.
* Merge branch 'master' of git://anongit.freedesktop.org/mesa/mesaStéphane Marchesin2011-08-26307-9191/+30442
|\
| * g3dvl: use pointer_to_uintptr() to silence a cast warningBrian Paul2011-08-261-1/+2
| |
| * svga: include LLVM in name string in debug buildsBrian Paul2011-08-261-2/+11
| |
| * pp: initialize the sample maskChristoph Bumiller2011-08-261-0/+2
| | | | | | | | | | | | | | | | We cannot rely on pipe drivers to default to non-zero. Fixes pp being a no-op on nv50. Reviewed-by: Lauri Kasanen <[email protected]>
| * st/xorg: Fix solid fills for formats other than PICT_a8r8g8b8.Michel Dänzer2011-08-261-13/+13
| | | | | | | | Signed-off-by: Michel Dänzer <[email protected]>
| * r600g: Hook up xorg state tracker.Michel Dänzer2011-08-263-0/+199
| | | | | | | | | | | | | | Mostly copied from r300g. Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
| * r600g: Handle PIPE_TRANSFER_MAP_DIRECTLY.Michel Dänzer2011-08-261-0/+3
| | | | | | | | | | | | | | | | If the state tracker tries to map the resource directly but we can't or don't want to do that, fail to create a transfer. Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
| * st/xorg: Disable dirty throttling by default.Michel Dänzer2011-08-261-1/+1
| | | | | | | | | | Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
| * st/xorg: Only damage non-front source in DRI2 CopyRegion hook.Michel Dänzer2011-08-261-7/+9
| | | | | | | | | | | | | | Based on a vmwgfx xa/saa fix. Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
| * g3dvl: s/inline/INLINE/ to fix MSVC buildBrian Paul2011-08-261-3/+3
| |
| * g3dvl: fix compilation failure on MSVCBrian Paul2011-08-261-1/+2
| | | | | | | | I assume the intention of "mb = {}" was to zero-initialize it.
| * scons: don't compile some files with -gstabs if using mingw32Brian Paul2011-08-261-0/+4
| | | | | | | | | | | | Compiling some (large) files with i686-pc-mingw32-gcc 4.2.2 (at least) and the -gstabs option triggers a compiler error. Use this work-around to simply compile the effected files without -gstabs.
| * g3dvl: Rewrite the mpeg 1&2 bitstream parserChristian König2011-08-265-1751/+934
| | | | | | | | | | | | | | Based on work of Maarten Lankhorst this time. Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
| * g3dvl: Use a single texture for luma and chroma dataChristian König2011-08-266-140/+91
| | | | | | | | | | Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
| * g3dvl: Rework the decoder interface part 5/5Christian König2011-08-265-22/+34
| | | | | | | | | | | | | | | | Make setting the quant matrixes a generic interface. Also removes setting the quant matrix from the XvMC interface Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
| * g3dvl: Rework the decoder interface part 4/5Christian König2011-08-266-29/+11
| | | | | | | | | | | | | | | | Make the picture_structure enum spec complient. Also remove it from the compositor. Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
| * g3dvl: Rework the decoder interface part 3/5Christian König2011-08-2611-361/+437
| | | | | | | | | | | | | | | | 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-2610-16/+61
| | | | | | | | | | | | | | | | 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-267-316/+404
| | | | | | | | | | | | | | | | | | 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]>
| * tgsi: update tgsi.rst for TXQDave Airlie2011-08-261-2/+14
| | | | | | | | | | | | add some info on the TXQ opcode. Signed-off-by: Dave Airlie <[email protected]>
| * i915g: Fix off-by-one in scissors.David Reveman2011-08-251-2/+2
| |
| * i915g: Fix case where texcoords can overlap with fragpos/frontface.Stéphane Marchesin2011-08-251-3/+3
| |
| * i915g: Improve the flush heuristic by using the previous frame's number of ↵Stéphane Marchesin2011-08-254-6/+18
| | | | | | | | vertices.
| * r600g: fix replace_gpr_with_pv_psVadim Girlin2011-08-251-1/+1
| | | | | | | | | | | | | | | | | | | | Instructions with 3 source operands have no write mask, so we may replace their destinations with PV/PS in the next group even if their dst.write is 0. Note: This is a candidate for the 7.11 branch. Signed-off-by: Vadim Girlin <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
| * r600g: fix check_and_set_bank_swizzleVadim Girlin2011-08-251-10/+20
| | | | | | | | | | | | | | | | | | | | Need to do full check when not all bank swizzles in the group are forced (e.g. when trying to merge interp_* group with the next instruction) Note: This is a candidate for the 7.11 branch. Signed-off-by: Vadim Girlin <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
| * pp: add files to Makefile.sourcesBrian Paul2011-08-251-0/+6
| |
| * Merge branch 'kasanen-post-process-v2'Brian Paul2011-08-2520-4/+4754
| |\ | | | | | | | | | | | | | | | 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]>
| | * st/dri: Bind the post-processing queue to driLauri Kasanen2011-08-195-4/+47
| | | | | | | | | | | | | | | Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>