summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-08-27android: add support for i915gChia-I Wu4-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.
2011-08-27android: add support for vmwgfxChia-I Wu4-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.
2011-08-27winsys/i915: share the source listChia-I Wu3-11/+8
Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
2011-08-27winsys/svga: share the source listChia-I Wu3-21/+13
Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
2011-08-27nouveau: share the source listsChia-I Wu12-149/+91
For each driver, factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
2011-08-27r300g: share the source listChia-I Wu3-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.
2011-08-27i915g: share the source listChia-I Wu3-53/+30
Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
2011-08-27svga: share the source listChia-I Wu3-97/+50
Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
2011-08-27targets/egl-static: fix nouveau and vmwgfx for AndroidChia-I Wu1-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.
2011-08-26mapi: Commit generated files modified by previous commitIan Romanick9-3657/+4952
Some of the changes are spurious because somebody forgot to do this when adding glFramebufferTextureLayerARB.
2011-08-26mapi: Silence many "warning: unused parameter"Ian Romanick2-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 <olv@lunarg.com>
2011-08-26mesa/tnl_dd: Remove unused source tree mesa/tnl_dd/immIan Romanick9-2036/+1
Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-08-26mesa/tnl_dd: Remove unused header file t_dd_vbtmp.hIan Romanick2-676/+1
Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-08-26mesa/tnl_dd: Remove unused header file t_dd_rendertmp.hIan Romanick3-440/+4
Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-08-26mesa: Remove support for BeOSIan Romanick9-1883/+5
Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-08-26dri: Remove unused header files mmx.h and spantmp.hIan Romanick2-885/+0
These header files were only used by drivers removed in a previous commit. Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-08-26dri: Remove driRenderbuffer::backBuffer fieldIan Romanick1-8/+0
The tdfx driver was the only user. Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-08-26dri: Remove all DRI1 driversIan Romanick227-85777/+5
Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-08-26mesa: Remove obsolete Windows gldirect and ICD driversIan Romanick60-35854/+2
Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-08-26mesa: Remove obsolete linux-fbdev software driverIan Romanick2-864/+0
Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-08-26mesa: Remove stray, unused fileIan Romanick1-58/+0
Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-08-26i965: Factor our source lists into Makefile.sourcesChad Versace2-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 <olv@lunarg.com> Signed-off-by: Chad Versace <chad@chad-versace.us>
2011-08-26Merge branch 'master' of git://anongit.freedesktop.org/mesa/mesaStéphane Marchesin661-21948/+48753
2011-08-26g3dvl: use pointer_to_uintptr() to silence a cast warningBrian Paul1-1/+2
2011-08-26svga: include LLVM in name string in debug buildsBrian Paul1-2/+11
2011-08-26pp: initialize the sample maskChristoph Bumiller1-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 <cand@gmx.com>
2011-08-26st/xorg: Fix solid fills for formats other than PICT_a8r8g8b8.Michel Dänzer1-13/+13
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
2011-08-26r600g: Hook up xorg state tracker.Michel Dänzer3-0/+199
Mostly copied from r300g. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-26r600g: Handle PIPE_TRANSFER_MAP_DIRECTLY.Michel Dänzer1-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 <michel.daenzer@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-26st/xorg: Disable dirty throttling by default.Michel Dänzer1-1/+1
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-26st/xorg: Only damage non-front source in DRI2 CopyRegion hook.Michel Dänzer1-7/+9
Based on a vmwgfx xa/saa fix. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-26g3dvl: s/inline/INLINE/ to fix MSVC buildBrian Paul1-3/+3
2011-08-26g3dvl: fix compilation failure on MSVCBrian Paul1-1/+2
I assume the intention of "mb = {}" was to zero-initialize it.
2011-08-26scons: don't compile some files with -gstabs if using mingw32Brian Paul2-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.
2011-08-26g3dvl: Rewrite the mpeg 1&2 bitstream parserChristian König5-1751/+934
Based on work of Maarten Lankhorst this time. Signed-off-by: Christian König <deathsimple@vodafone.de> Reviewed-by: Younes Manton <younes.m@gmail.com>
2011-08-26g3dvl: Use a single texture for luma and chroma dataChristian König6-140/+91
Signed-off-by: Christian König <deathsimple@vodafone.de> Reviewed-by: Younes Manton <younes.m@gmail.com>
2011-08-26g3dvl: Rework the decoder interface part 5/5Christian König5-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 <deathsimple@vodafone.de> Reviewed-by: Younes Manton <younes.m@gmail.com>
2011-08-26g3dvl: Rework the decoder interface part 4/5Christian König6-29/+11
Make the picture_structure enum spec complient. Also remove it from the compositor. Signed-off-by: Christian König <deathsimple@vodafone.de> Reviewed-by: Younes Manton <younes.m@gmail.com>
2011-08-26g3dvl: Rework the decoder interface part 3/5Christian König11-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 <deathsimple@vodafone.de> Reviewed-by: Younes Manton <younes.m@gmail.com>
2011-08-26g3dvl: Rework the decoder interface part 2/5Christian König10-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 <deathsimple@vodafone.de> Reviewed-by: Younes Manton <younes.m@gmail.com>
2011-08-26g3dvl: Rework the decoder interface part 1/5Christian König7-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 <deathsimple@vodafone.de> Reviewed-by: Younes Manton <younes.m@gmail.com>
2011-08-26tgsi: update tgsi.rst for TXQDave Airlie1-2/+14
add some info on the TXQ opcode. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-08-25i915g: Fix off-by-one in scissors.David Reveman1-2/+2
2011-08-25i915g: Fix case where texcoords can overlap with fragpos/frontface.Stéphane Marchesin1-3/+3
2011-08-25i915g: Improve the flush heuristic by using the previous frame's number of ↵Stéphane Marchesin4-6/+18
vertices.
2011-08-25r600g: fix replace_gpr_with_pv_psVadim Girlin1-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 <vadimgirlin@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-25r600g: fix check_and_set_bank_swizzleVadim Girlin1-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 <vadimgirlin@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-25glcpp: Add GL_ARB_conservative_depth #define.Kenneth Graunke1-1/+3
Forgotten in the patch that enabled the extension. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2011-08-25i965: Remove all bits of NRM3 and NRM4 codeIan Romanick1-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.
2011-08-25glsl: fix crash when a const is passed to texelFetchOffsetDave Airlie1-0/+1
while debugging texelFetchOffset we kept hitting the assert. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>