summaryrefslogtreecommitdiff
path: root/src/gallium/targets
AgeCommit message (Collapse)AuthorFilesLines
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-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-25android: add support for r600gChia-I Wu1-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>
2011-08-21st/egl: improve error loggingChia-I Wu1-1/+9
This helps diagnose problems in EGL initialization.
2011-08-21android: build targets/egl-staticChia-I Wu1-0/+52
This builds the static library libmesa_egl_gallium from targets/egl-static.
2011-08-21targets/egl-static: do not rely on libudev on AndroidChia-I Wu1-0/+64
There is no libudev on Android. Use DRM to get the PCI ID directly. Reviewed-by: Benjamin Franzke <benjaminfranzke@googlemail.com>
2011-08-17r600g: fix scons buildMarek Olšák1-0/+1
2011-08-16r600g: first step into winsys/radeonMarek Olšák12-20/+33
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-12gallium/gbm: Add dependencies for libraries linked into pipe_*.so.Michel Dänzer1-1/+1
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
2011-08-04gbm: link gbm_gallium_drm.so against math libraryBenjamin Franzke1-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)
2011-07-29targets/{egl,gbm}: omit unneeded libdrm_radeonChia-I Wu2-4/+0
2011-07-27egl/gallium: fix build without softpipe and llvmpipeTobias Droste1-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>
2011-07-25winsys/radeon: add R300 infix to winsys feature namesMarek Olšák1-1/+0
2011-07-18xvmc-softpipe: remove LLVM_LIBSMarek Olšák1-1/+1
this is added conditionally in Makefile.xmvc Spotted by Chris Rankin.
2011-07-16xvmc-nouveau: Resolve buildEmil Velikov2-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>
2011-07-15g3dvl: link r300 and r600 targets width libdrm instead of libdrm_radeonChristian König6-6/+6
2011-07-15gallium/targets: link vdpau, va, and xvmc with LLVM libs when requestedMarek Olšák3-3/+25
Signed-off-by: Christian König <deathsimple@vodafone.de>
2011-07-14gallium/targets: do not link every driver with libllvmpipe.aMarek Olšák6-2/+8
Only some targets need that, the others don't.
2011-07-14Rename swrastg_dri to swrast_driMarek Olšák2-4/+4
I prefer it this way and it has been suggested earlier by others too. Opinions?
2011-07-13Merge branch 'pipe-video'Christian König19-0/+561
2011-07-13targets/egl-static: fix a linking errorChia-I Wu1-1/+1
rbug is always linked in and it needs libpthread.
2011-07-11[g3dvl] softpipe is no longer needed for dri-nouveauChristian König1-1/+0
2011-07-11Merge remote-tracking branch 'origin/master' into pipe-videoChristian König1-5/+8
Conflicts: src/gallium/drivers/r600/r600_pipe.c src/gallium/drivers/r600/r600_state_inlines.h
2011-07-07scons: Generate libGL.so.1.5 and libGL.so.1 symlinks.José Fonseca1-5/+8
In build/xxx/src/gallium/targets/libgl-xlib/SConscript
2011-07-04Merge remote-tracking branch 'origin/master' into pipe-videoChristian König40-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
2011-07-04Merge branch 'xa_branch'Thomas Hellstrom4-0/+141
Conflicts: configure.ac Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2011-07-04xa-vmwgfx: Remove unnecessary includeThomas Hellstrom1-1/+0
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2011-06-30scons: Expose pkg-config in a simpler manner.José Fonseca6-17/+15
2011-06-30scons: Buid libGL.so (WIP).José Fonseca1-1/+1
2011-06-30target/egl-static: fix a compiler warningChia-I Wu1-0/+3
2011-06-28targets/egl-static: fix library search orderChia-I Wu1-2/+2
Use $(MKLIB) -ldflags '-L$(TOP)/$(LIB_DIR)' instead of $(MKLIB) -L$(TOP)/$(LIB_DIR) to make sure the local library path appears before system's.
2011-06-27st/xa: Add a function to check for supported formatsThomas Hellstrom1-1/+1
Typically this was done by having a surface creation function fail if the format was not supported. However, in some situations when changing hardware surface formats, it's desirable to do this check before attempting costly readback operations. Also updated the surface_redefine interface. Bump minor. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2011-06-26targets/egl-static: fix building without libudevChia-I Wu1-1/+2
Thanks to José for pointing out.
2011-06-26targets/egl-static: refactor drm_fd_get_screen_nameChia-I Wu1-28/+53
Add drm_fd_get_pci_id to get the PCI ID. Fix a leak with udev on error.
2011-06-26targets/gbm: attemp to fix unresolved symbolsChia-I Wu1-9/+22
Move system libraries (usually .so) out of --start-group / --end-group pair. Add possiblly missing archives, defines, and shared libraries.
2011-06-25targets/egl-static: do not use DRI_LIB_DEPSChia-I Wu1-3/+3
It brings in libraries that are not necessarily needed.
2011-06-24targets/egl: removedChia-I Wu12-949/+0
Not used.
2011-06-24targets/egl-static: replace targets/eglChia-I Wu1-0/+201
Build egl_gallium from targets/egl-static intead of targets/egl. The latter exposes (unversioned) gallium interfaces and is frowned upon.
2011-06-24targets/egl-static: allow st/mesa to be dynamically loadedChia-I Wu4-19/+148
When shared glapi is not enabled, there are two glapi providers and we cannot decide which one to link to at build time. It results in unresolved symbols in st/mesa. This commit makes st/mesa a loadable module when shared glapi is not enabled, and hopes that the apps will link to one of the glapi providers (GL or GLES).
2011-06-24targets/egl-static: add support for driver lookupChia-I Wu1-0/+82
Use pci id to driver map to look up the driver name. This is based on a433755ec5c48088a0d8a340851a1a8be9e58897.
2011-06-24targets/gbm: build pipe driversChia-I Wu9-4/+309
Build pipe drivers here instead of using those built by the soon-to-be-removed targets/egl. [with an update by Benjamin Franzke to use --{start|end}-group]
2011-06-24st/egl: drop guess_gl_api from egl_g3d_loaderChia-I Wu2-37/+1
It is not used and confusing.
2011-06-23st/egl: Hookup gbm for drm backendBenjamin Franzke1-1/+1
2011-06-23gbm: Add gallium (drm) backendBenjamin Franzke4-0/+333
2011-06-22xorg/nouveau: blacklist all pre NV30 cardsMarcin Slusarz2-9/+57
Bail out early in probe, so other driver can take control of the card. Doing it in screen_create would be too late.
2011-06-21st/xa: Solid fill (tested) and composite (yet untested)Thomas Hellstrom1-1/+2
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2011-06-21st/xa: Really support xa_surface_format. Bump minor.Thomas Hellstrom1-1/+1
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2011-06-20xorg/nouveau: rename to nouveau2Marcin Slusarz2-8/+8
Signed-off-by: Marek Olšák <maraeo@gmail.com>
2011-06-20st/xorg: add GALLIUM_AUXILIARIES to target dependenciesMarcin Slusarz1-1/+1
Without it changes to GALLIUM_AUXILIARIES don't induce target rebuild Signed-off-by: Marek Olšák <maraeo@gmail.com>
2011-06-16target/dri-vmwgfx: Throttle dri clients by default.Thomas1-0/+1
Throttle pretty hard in order to prioritize user-space interactivity over 3D application speed. May revisit this later. Signed-off-by: Thomas <thellstrom@vmware.com>