summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
Commit message (Collapse)AuthorAgeFilesLines
* st/xorg: fix build when /lib/gallium directory does not exist yetMarcin Slusarz2011-10-171-1/+1
| | | | TARGET was not defined, so make checked directory instead of file
* targets/va/vdpau/xvmc: don't rebuild target lib every timeMarcin Slusarz2011-10-173-3/+3
| | | | Dependency on target directory caused unnecessary relink. Remove them.
* st/xorg: remove target library on make cleanMarcin Slusarz2011-10-171-1/+1
|
* gallium/targets: use c++ compiler for linkingMarcin Slusarz2011-10-179-25/+63
| | | | | | | | | As pointed out by Michel Dänzer, gcc -lstdc++ doesn't work on all systems, because it may require other libraries which are only pulled in implicitly by g++. And libstdc++ is available only with GNU compiler. Use c++ compiler for linking and remove redundant LDFLAGS += -lstdc++ all over the tree.
* dri-vmwgfx: Hook up a drm_descriptor configuration functionThomas Hellstrom2011-10-141-2/+18
| | | | | | | | | Returns a configuration that makes the dri state-tracker-manager throttle. Also disable kernel-based throttling. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
* drm_driver: Add a configuration function to the driver descriptor.Thomas Hellstrom2011-10-1426-26/+26
| | | | | | | | Adds a possibility for the state tracker manager to query the target for a specific configuration. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
* st/xorg: fix build without LLVMMarcin Slusarz2011-10-131-0/+2
|
* configure: replace pkg-config calls with $(PKG_CONFIG) in the makefiles.Stéphane Marchesin2011-10-0414-15/+15
| | | | | | | Us poor souls who cross compile mesa want to be able to specify which pkg-config to pick, or at least just change one place. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
* r600g: move all files from winsys/r600 into drivers/r600Marek Olšák2011-09-309-11/+6
| | | | | | Be sure to reconfigure after this commit. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
* xorg/vmwgfx: Kill this target. It's not used anymore.Thomas Hellstrom2011-09-3012-2782/+0
| | | | | | | | | | | This fixes a build error introduced with commit "winsys/svga: Update to vmwgfx kernel module 2.1" if both the svga driver and the xorg state tracker was enabled at the same time. If needed we can re-add a minimal target for basic functionality. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
* st/vdpau: Link vdpau targets with librt to avoid unresolved symbols error ↵Emeric Grange2011-09-251-1/+1
| | | | | | | | | | | | | | | related to the use of the clock_gettime() function This patch fix a "Unresolved Symbols" run time error when using G3DVL through the VDPAU state tracker, by linking the vdpau targets with librt. Reported by Arkadiusz Miśkiewicz. Caused by this commit : commit e911dbb56374edf9f3b7c4cec0cf9a22738bb198 Author: Emeric Grange <emeric.grange@gmail.com> Date: Mon Sep 12 23:39:33 2011 +0200 Signed-off-by: Emeric Grange <emeric.grange@gmail.com>
* st/egl: add support for null platformChia-I Wu2011-09-201-0/+3
| | | | | The backend calls null_sw_create() to create sw_winsys. And that is pretty much it...
* nv50/ir: import new shader backend codeChristoph Bumiller2011-09-141-0/+1
|
* libgl-gdi: Fix mingw-w64 build.José Fonseca2011-08-301-1/+3
| | | | Mingw-w64 actually seems to be closer to MSVC in terms of .DEF parsing.
* targets/xorg-vmwgfx: Fix include styleKai Wasserbäch2011-08-291-1/+1
| | | | | | | | | | | As explained in the thread starting at [0], the internal include style should be »#include "path/to/header.h"« for non-system includes. [0] <http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e> Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org> Signed-off-by: Brian Paul <brianp@vmware.com>
* android: make DRM optionalChia-I Wu2011-08-272-4/+11
| | | | For BOARD_GPU_DRIVERS=swrast build, DRM is not needed.
* android: add support for nouveauChia-I Wu2011-08-271-0/+3
| | | | Compile tested only.
* android: add support for r300gChia-I Wu2011-08-271-0/+3
| | | | Compile tested only.
* android: add support for i915gChia-I Wu2011-08-271-0/+3
| | | | | | 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-271-0/+3
| | | | | | | 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.
* 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.
* r600g: Hook up xorg state tracker.Michel Dänzer2011-08-263-0/+199
| | | | | | | Mostly copied from r300g. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
* android: add support for r600gChia-I Wu2011-08-251-0/+4
| | | | | | | | Tested with a Radeon HD 6250. SurfaceFlinger (the display server and compositor) works. 2D apps with RGB or RGBA visuals work. As for 3D apps, some work but some don't (with serious rendering defects). Reviewed-by: Marek Olšák <maraeo@gmail.com>
* st/egl: improve error loggingChia-I Wu2011-08-211-1/+9
| | | | This helps diagnose problems in EGL initialization.
* android: build targets/egl-staticChia-I Wu2011-08-211-0/+52
| | | | | This builds the static library libmesa_egl_gallium from targets/egl-static.
* targets/egl-static: do not rely on libudev on AndroidChia-I Wu2011-08-211-0/+64
| | | | | | There is no libudev on Android. Use DRM to get the PCI ID directly. Reviewed-by: Benjamin Franzke <benjaminfranzke@googlemail.com>
* r600g: fix scons buildMarek Olšák2011-08-171-0/+1
|
* r600g: first step into winsys/radeonMarek Olšák2011-08-1612-20/+33
| | | | Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
* gallium/gbm: Add dependencies for libraries linked into pipe_*.so.Michel Dänzer2011-08-121-1/+1
| | | | Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
* gbm: link gbm_gallium_drm.so against math libraryBenjamin Franzke2011-08-041-1/+1
| | | | | | | | | | | This avoids the following runtime error with EGL on platforms that require linking with libm for nontrivial math functions: failed to load module: /xorg/lib64/gbm/gbm_gallium_drm.so: undefined symbol: powf (Based on Kristóf RALOVICHs patch and Ian's suggestions in http://lists.freedesktop.org/archives/mesa-dev/2011-August/010036.html)
* targets/{egl,gbm}: omit unneeded libdrm_radeonChia-I Wu2011-07-292-4/+0
|
* egl/gallium: fix build without softpipe and llvmpipeTobias Droste2011-07-271-3/+9
| | | | | | Signed-off-by: Tobias Droste <tdroste@gmx.de> Acked-by: Jakob Bornecrantz <wallbraker@gmail.com> Reviewed-by: Marek Olšák <maraeo@gmail.com>
* winsys/radeon: add R300 infix to winsys feature namesMarek Olšák2011-07-251-1/+0
|
* xvmc-softpipe: remove LLVM_LIBSMarek Olšák2011-07-181-1/+1
| | | | | | this is added conditionally in Makefile.xmvc Spotted by Chris Rankin.
* xvmc-nouveau: Resolve buildEmil Velikov2011-07-162-1/+22
| | | | | | | | | | | | The following resolves the build issues and missing symbols Add "xvmc-nouveau/target.c" - missing symbol "driver_description" Add "drivers/nvc0/libnvc0.a" - missing symbol "nvc0_screen_create" Remove "drivers/softpipe/libsoftpipe.a" - unnessecary dependency resolves build (when building without swrast) Add "drivers/trace/libtrace.a" in Makefile Note: With/without those patches xvmc-nouveau still segfaults Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* g3dvl: link r300 and r600 targets width libdrm instead of libdrm_radeonChristian König2011-07-156-6/+6
|
* gallium/targets: link vdpau, va, and xvmc with LLVM libs when requestedMarek Olšák2011-07-153-3/+25
| | | | Signed-off-by: Christian König <deathsimple@vodafone.de>
* gallium/targets: do not link every driver with libllvmpipe.aMarek Olšák2011-07-146-2/+8
| | | | Only some targets need that, the others don't.
* Rename swrastg_dri to swrast_driMarek Olšák2011-07-142-4/+4
| | | | | I prefer it this way and it has been suggested earlier by others too. Opinions?
* Merge branch 'pipe-video'Christian König2011-07-1319-0/+561
|\
| * [g3dvl] softpipe is no longer needed for dri-nouveauChristian König2011-07-111-1/+0
| |
| * Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-07-111-5/+8
| |\ | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/r600/r600_pipe.c src/gallium/drivers/r600/r600_state_inlines.h
| * \ Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-07-0440-858/+1150
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac src/gallium/drivers/r600/r600_state_inlines.h src/gallium/tests/trivial/Makefile src/gallium/winsys/g3dvl/dri/XF86dri.c src/gallium/winsys/g3dvl/dri/driclient.c src/gallium/winsys/g3dvl/dri/driclient.h src/gallium/winsys/g3dvl/dri/xf86dri.h src/gallium/winsys/g3dvl/dri/xf86dristr.h src/gallium/winsys/r600/drm/r600_bo.c
| * \ \ Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-06-091-1/+80
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/tests/unit/u_format_test.c src/gallium/winsys/r600/drm/r600_hw_context.c
| * \ \ \ Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-06-052-2/+2
| |\ \ \ \
| * | | | | Initial r300g supportChristian König2011-05-296-0/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based uppon a patch from Pali Rohár <pali.rohar@gmail.com>. This seems to get at least YUV->RGB conversion working. So a simple "mplayer -vo vdpau" now seems to work fine.
| * | | | | vdpau: rename vdpau driver to r600/softpieChristian König2011-05-183-1/+4
| | | | | |
| * | | | | [g3dvl] softpipe now needs the llvm libsChristian König2011-05-161-1/+1
| | | | | |
| * | | | | Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-05-151-0/+1
| |\ \ \ \ \
| * \ \ \ \ \ Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-05-073-1/+3
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/r600/r600_state.c