summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* mapi: Commit generated files modified by previous commitIan Romanick2011-08-269-3657/+4952
| | | | | Some of the changes are spurious because somebody forgot to do this when adding glFramebufferTextureLayerARB.
* mapi: Silence many "warning: unused parameter"Ian Romanick2011-08-262-1/+17
| | | | | | | | When generating dispatch templates, emit the '(void) blah;' magic to make GCC happy. This reduces a lot of warning spam if you build with -Wunused-parameter or -Wextra. Reviewed-by: Chia-I Wu <[email protected]>
* mesa/tnl_dd: Remove unused source tree mesa/tnl_dd/immIan Romanick2011-08-269-2036/+1
| | | | | | | | | | Acked-by: Kristian Høgsberg <[email protected]> Acked-by: Marek Olšák <[email protected]> Acked-by: Alan Coopersmith <[email protected]> Acked-by: Jakob Bornecrantz <[email protected]> Acked-by: Dave Airlie <[email protected]> Build-Tested-by: Jakob Bornecrantz <[email protected]> Tested-by: Eugeni Dodonov <[email protected]>
* mesa/tnl_dd: Remove unused header file t_dd_vbtmp.hIan Romanick2011-08-262-676/+1
| | | | | | | | | | Acked-by: Kristian Høgsberg <[email protected]> Acked-by: Marek Olšák <[email protected]> Acked-by: Alan Coopersmith <[email protected]> Acked-by: Jakob Bornecrantz <[email protected]> Acked-by: Dave Airlie <[email protected]> Build-Tested-by: Jakob Bornecrantz <[email protected]> Tested-by: Eugeni Dodonov <[email protected]>
* mesa/tnl_dd: Remove unused header file t_dd_rendertmp.hIan Romanick2011-08-263-440/+4
| | | | | | | | | | Acked-by: Kristian Høgsberg <[email protected]> Acked-by: Marek Olšák <[email protected]> Acked-by: Alan Coopersmith <[email protected]> Acked-by: Jakob Bornecrantz <[email protected]> Acked-by: Dave Airlie <[email protected]> Build-Tested-by: Jakob Bornecrantz <[email protected]> Tested-by: Eugeni Dodonov <[email protected]>
* mesa: Remove support for BeOSIan Romanick2011-08-269-1883/+5
| | | | | | | | | | Acked-by: Kristian Høgsberg <[email protected]> Acked-by: Marek Olšák <[email protected]> Acked-by: Alan Coopersmith <[email protected]> Acked-by: Jakob Bornecrantz <[email protected]> Acked-by: Dave Airlie <[email protected]> Build-Tested-by: Jakob Bornecrantz <[email protected]> Tested-by: Eugeni Dodonov <[email protected]>
* dri: Remove unused header files mmx.h and spantmp.hIan Romanick2011-08-262-885/+0
| | | | | | | | | | | | These header files were only used by drivers removed in a previous commit. Acked-by: Kristian Høgsberg <[email protected]> Acked-by: Marek Olšák <[email protected]> Acked-by: Alan Coopersmith <[email protected]> Acked-by: Jakob Bornecrantz <[email protected]> Acked-by: Dave Airlie <[email protected]> Build-Tested-by: Jakob Bornecrantz <[email protected]> Tested-by: Eugeni Dodonov <[email protected]>
* dri: Remove driRenderbuffer::backBuffer fieldIan Romanick2011-08-261-8/+0
| | | | | | | | | | | | The tdfx driver was the only user. Acked-by: Kristian Høgsberg <[email protected]> Acked-by: Marek Olšák <[email protected]> Acked-by: Alan Coopersmith <[email protected]> Acked-by: Jakob Bornecrantz <[email protected]> Acked-by: Dave Airlie <[email protected]> Build-Tested-by: Jakob Bornecrantz <[email protected]> Tested-by: Eugeni Dodonov <[email protected]>
* dri: Remove all DRI1 driversIan Romanick2011-08-26227-85777/+5
| | | | | | | | | | Acked-by: Kristian Høgsberg <[email protected]> Acked-by: Marek Olšák <[email protected]> Acked-by: Alan Coopersmith <[email protected]> Acked-by: Jakob Bornecrantz <[email protected]> Acked-by: Dave Airlie <[email protected]> Build-Tested-by: Jakob Bornecrantz <[email protected]> Tested-by: Eugeni Dodonov <[email protected]>
* mesa: Remove obsolete Windows gldirect and ICD driversIan Romanick2011-08-2660-35854/+2
| | | | | | | | | | Acked-by: Kristian Høgsberg <[email protected]> Acked-by: Marek Olšák <[email protected]> Acked-by: Alan Coopersmith <[email protected]> Acked-by: Jakob Bornecrantz <[email protected]> Acked-by: Dave Airlie <[email protected]> Build-Tested-by: Jakob Bornecrantz <[email protected]> Tested-by: Eugeni Dodonov <[email protected]>
* mesa: Remove obsolete linux-fbdev software driverIan Romanick2011-08-262-864/+0
| | | | | | | | | | Acked-by: Kristian Høgsberg <[email protected]> Acked-by: Marek Olšák <[email protected]> Acked-by: Alan Coopersmith <[email protected]> Acked-by: Jakob Bornecrantz <[email protected]> Acked-by: Dave Airlie <[email protected]> Build-Tested-by: Jakob Bornecrantz <[email protected]> Tested-by: Eugeni Dodonov <[email protected]>
* mesa: Remove stray, unused fileIan Romanick2011-08-261-58/+0
| | | | | | | | | | Acked-by: Kristian Høgsberg <[email protected]> Acked-by: Marek Olšák <[email protected]> Acked-by: Alan Coopersmith <[email protected]> Acked-by: Jakob Bornecrantz <[email protected]> Acked-by: Dave Airlie <[email protected]> Build-Tested-by: Jakob Bornecrantz <[email protected]> Tested-by: Eugeni Dodonov <[email protected]>
* i965: Factor our source lists into Makefile.sourcesChad Versace2011-08-262-127/+136
| | | | | | | | | In preparation for porting i965 to Android, factor its source lists into a shared makefile. This prevents duplication of source lists, and hence prevents the Android from breaking as often. Acked-by: Chia-I Wu <[email protected]> Signed-off-by: Chad Versace <[email protected]>
* Merge branch 'master' of git://anongit.freedesktop.org/mesa/mesaStéphane Marchesin2011-08-26661-21948/+48753
|\
| * 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-262-0/+9
| | | | | | | | | | | | 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]>
| * glcpp: Add GL_ARB_conservative_depth #define.Kenneth Graunke2011-08-251-1/+3
| | | | | | | | | | | | | | Forgotten in the patch that enabled the extension. Reviewed-by: Ian Romanick <[email protected]> Signed-off-by: Kenneth Graunke <[email protected]>
| * i965: Remove all bits of NRM3 and NRM4 codeIan Romanick2011-08-251-31/+0
| | | | | | | | | | | | | | Nothing in Mesa generates these opcodes, and i965 hardware cannot support it natively. If support were ever added for this opcode in Mesa, there had better be a lowering pass for hardware that doesn't support it natively.
| * glsl: fix crash when a const is passed to texelFetchOffsetDave Airlie2011-08-251-0/+1
| | | | | | | | | | | | | | while debugging texelFetchOffset we kept hitting the assert. Signed-off-by: Dave Airlie <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>