summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
Commit message (Collapse)AuthorAgeFilesLines
* freedreno: gallium driver for adrenoRob Clark2013-03-114-0/+122
| | | | | | | | | | | | | | | | | | | Currently works on a220. Others in the a2xx family look pretty similar and should be pretty straightforward to support with the same driver. The a3xx has a new shader ISA, and while many registers appear similar, the register addresses have been completely shuffled around. I am not sure yet whether it is best to support with the same driver, but different compiler, or whether it should be split into a different driver. v1: original v2: build file updates from review comments, and remove GPL licensed header files from msm kernel v3: smarter temp/pred register assignment, fix clear and depth/stencil format issues, resource_transfer fixes, scissor fixes Signed-off-by: Rob Clark <[email protected]>
* vdpau-softpipe: Build correct source file - vl_winsys_xsp.cJakub Bogusz2013-03-031-1/+1
| | | | | | Copy-and-paste problem introduced by commit 7f24483e. Reviewed-by: Matt Turner <[email protected]>
* svga: always link with C++Brian Paul2013-03-011-5/+1
| | | | | | | | | Even when we don't have LLVM since there's other C++ code in the resulting DRI driver object. Note: This is a candidate for the stable branches. Reviewed-by: Matt Turner <[email protected]>
* clover: Fix build with LLVM 3.3 v2Tom Stellard2013-02-281-1/+1
| | | | | | | | v2: - Fix order that the clang libraries are passed to the linker to avoid missing symbol errors. Acked-by: Francisco Jerez <[email protected]>
* targets/xa-vmwgfx: Force c++ linker to fix undefined symbolsAndreas Boll2013-02-221-0/+2
| | | | | | | NOTE: This is a candidate for the 9.1 branch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=61200 Reviewed-by: Matt Turner <[email protected]>
* libgl-xlib/build: Link with C++ when LLVM is usedMatt Turner2013-01-241-1/+9
| | | | | | Also link-in libX11 and libXext. Tested-by: Brian Paul <[email protected]>
* Revert "Revert "targets/opencl: Link against libgallium.la instead of ↵Tom Stellard2013-01-241-3/+1
| | | | | | | | | libgallium.a"" This reverts commit 7824ab807050c03c6df01c44774914dcbef88248. Now that we force linking with LLVM shared libs when building clover, we can link against libgallium.la with no problems.
* scons: Fix dependencies of generated headers.José Fonseca2013-01-211-3/+1
| | | | | | | | | | | | | | It appears that scons implicit dependency scanners fail to chain dependencies of generated headers when these are outside the build tree. This patch ensures generated source files are _always_ put in the build tree. I'm not 100% this will fix all depency issues, but from my experiments it does seem to fix this. NOTE: For this to be effective it is necessary to clean the source tree from generated header/source files. Reviewed-by: Brian Paul <[email protected]>
* build: Remove dead SHARED_GLAPI variableMatt Turner2013-01-201-1/+0
| | | | | | | The static Makefiles used it. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Andreas Boll <[email protected]>
* radeonsi/vdpau: remove nonsense state tracker depChristian König2013-01-161-1/+0
| | | | | | | Added with automake conversion, but makes no sense at all. Signed-off-by: Christian König <[email protected]> Reviewed-by: Andreas Boll <[email protected]>
* libgl-gdi: Avoid hangs on DLL_PROCESS_DETACH.Rob Schneider2013-01-151-2/+4
| | | | | | | | | | | | At process exit DLL_PROCESS_DETACH is signaled to DllMain(), where then a final cleanup is triggered. In stw_cleanup() code is triggered that tries to communicate a shutdown to the spawned threads -- however at that time those threads have already been terminated by the OS and so the process hangs. v2: skip stw_cleanup_thread() too Signed-off-by: José Fonseca <[email protected]>
* Revert "targets/opencl: Link against libgallium.la instead of libgallium.a"Tom Stellard2013-01-151-1/+3
| | | | | | | | | | | | | | | This reverts commit 4148a29ed83d1d85bff3d4e40e847128011c3f20. This is a work-around for bug: https://bugs.freedesktop.org/show_bug.cgi?id=59334 We really should be linking against libgallium.la instead of libgallium.a, but until we can figure why linking against libgallium.la causes runtime failures in clover we will continue to link against libgallium.a Acked-by: Andreas Boll <[email protected]> Tested-by: Aaron Watry <[email protected]>
* libgl-xlib: softpipe and llvmpipe aren't mutually exclusive at link timeJon TURNEY2013-01-151-2/+1
| | | | | | | | | | | | | | Since automake changes, softpipe and llvmpipe are mutually exclusive at link time. This doesn't make much sense to me as we can choose between them at run-time using GALLIUM_DRIVER. Creating library file: .libs/libGL.dll.a .libs/xlib.o: In function `sw_screen_create_named': /jhbuild/checkout/mesa/mesa/src/gallium/targets/libgl-xlib/../../../../src/gallium/auxiliary/target-helpers/inline_sw_helper.h:35: undefined reference to `_softpipe_create_screen' Signed-off-by: Jon TURNEY <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* libgl-xlib: link with -lrtBrian Paul2013-01-141-1/+2
| | | | | | | | | | | Fixes a runtime error: glxgears: symbol lookup error: /home/brian/mesa/lib/gallium/libGL.so.1: undefined symbol: clock_gettime v2: use $(CLOCK_LIB) and $(PTHREAD_LIBS) per Andreas Boll. Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Andreas Boll <[email protected]>
* r300g: kill the X.Org state tracker targetMarek Olšák2013-01-143-245/+0
| | | | | | This won't ever be made default and we don't need it anyway. We should also consider doing this for other drivers.
* xmlpool: Fix out-of-tree builds.Johannes Obermayr2013-01-136-0/+6
| | | | Reviewed-by: Kenneth Graunke <[email protected]>
* target/dri-swrast: fix for nonstandard LLVM prefixNathan Schulte2013-01-131-0/+1
| | | | | | | | | | | | Include LLVM_LDFLAGS when building with LLVM. Fixes the following build errors: CXXLD swrast_dri.la /usr/bin/ld: cannot find -lLLVMR600CodeGen /usr/bin/ld: cannot find -lLLVMR600Desc /usr/bin/ld: cannot find -lLLVMR600Info /usr/bin/ld: cannot find -lLLVMR600AsmPrinter Reviewed-by: Andreas Boll <[email protected]>
* targets/dri-r600: Force c++ linker in all casesAndreas Boll2013-01-131-8/+2
| | | | Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59282
* Remove hacks for static MakefilesMatt Turner2013-01-131-4/+0
| | | | | | | | | | | v2: Andreas Boll <[email protected]> - don't remove compatibility with scripts for the old build system v3: Andreas Boll <[email protected]> - remove more obsolete hacks v4: Andreas Boll <[email protected]> - add a previously removed TOP variable to fix vgapi build
* scons: Update for xmlpool/options.h generation.José Fonseca2013-01-121-0/+1
|
* targets/opencl: Link against libgallium.la instead of libgallium.aTom Stellard2013-01-111-1/+1
|
* targets/egl-static: fix link failure to libwayland-drmKnut Andre Tidemann2013-01-111-1/+1
| | | | | | | | | Fixes the following build error: CXXLD egl_gallium.la g++: error: ../../../../src/egl/wayland/wayland-drm/.libs/.libs/libwayland-drm.a: No such file or directory Reviewed-by: Andreas Boll <[email protected]>
* targets/dri-swrast: Force c++ linker in all cases.Johannes Obermayr2013-01-111-8/+2
| | | | | | | | Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=59226 Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Andreas Boll <[email protected]> Tested-by: Vinson Lee <[email protected]>
* Clean up .gitignore filesMatt Turner2013-01-1028-28/+0
|
* Remove gallium targets' Makefile.{dri,vdpau,xorg,xvmc}Matt Turner2013-01-104-338/+0
|
* targets/pipe-loader: Convert to automakeMatt Turner2013-01-105-186/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | C++ linking (controlled by the nodist_EXTRA idiom) is needed unconditionally for: nouveau (uses C++ in the driver) r300 (since LLVM is always required) radeonsi (since LLVM is always required) swrast (if builting LLVM pipe) and conditionally (depends whether LLVM is enabled) for i915 r600 vmwgfx and never needed for swrast (softpipe). Unfortunately, automake seems to *always* link with C++ if nodist_EXTRA is specified, even inside a false conditional. Not sure if this is a bug, but it does seem to be weird behavior. v2: Johannes Obermayr <[email protected]> - Fix some undefined symbols. v3: Johannes Obermayr <[email protected]> - Install pipe_* to $(libdir)/gallium-pipe. v4: Johannes Obermayr <[email protected]> - Build it only once on --enable-gallium-gbm / --enable-opencl.
* targets/gbm: Convert to automakeMatt Turner2013-01-103-41/+67
|
* targets/egl-static: Convert to automakeMatt Turner2013-01-103-215/+238
| | | | | | | | | | | | | v2: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system - Add missing Automake.inc v3: Johannes Obermayr <[email protected]> - Fix linking. v4: Andreas Boll <[email protected]> - Port changes from ff574d653b0731a324fd30324b0f211502219abf gallium/egl-static: Fix unresolved symbol 'clock_gettime'
* targets/xa-vmwgfx: Convert to automakeMatt Turner2013-01-104-121/+65
| | | | | v2: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system
* targets/xvmc-softpipe: Convert to automakeMatt Turner2013-01-103-21/+73
| | | | | | | | v2: Andreas Boll <[email protected]> - add missing xvmc state tracker to _LIBADD variable v3: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system
* targets/xvmc-r600: Convert to automakeMatt Turner2013-01-103-24/+75
| | | | | | | | v2: Andreas Boll <[email protected]> - Add missing xvmc state tracker to _LIBADD variable v3: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system
* targets/xvmc-r300: Convert to automakeMatt Turner2013-01-103-25/+69
| | | | | | | | v2: Andreas Boll <[email protected]> - Add missing xvmc state tracker to _LIBADD variable v3: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system
* targets/xvmc-nouveau: Convert to automakeMatt Turner2013-01-103-29/+70
| | | | | | | | v2: Andreas Boll <[email protected]> - Add missing xvmc state tracker to _LIBADD variable v3: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system
* targets/xorg-radeonsi: Convert to automakeMatt Turner2013-01-103-24/+71
| | | | | v2: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system
* targets/xorg-r600: Convert to automakeMatt Turner2013-01-103-24/+77
| | | | | v2: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system
* targets/xorg-r300: Convert to automakeMatt Turner2013-01-103-25/+72
| | | | | v2: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system
* targets/xorg-nouveau: Convert to automakeMatt Turner2013-01-104-32/+73
| | | | | v2: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system
* targets/xorg-i915: Convert to automakeMatt Turner2013-01-103-24/+77
| | | | | v2: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system
* targets/vdpau-softpipe: Convert to automakeMatt Turner2013-01-103-21/+73
| | | | | | | | v2: Andreas Boll <[email protected]> - Add missing vdpau state tracker to _LIBADD variable v3: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system
* targets/vdpau-radeonsi: Convert to automakeMatt Turner2013-01-103-30/+71
| | | | | | | | v2: Andreas Boll <[email protected]> - Add missing vdpau state tracker to _LIBADD variable v3: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system
* targets/vdpau-r600: Convert to automakeMatt Turner2013-01-103-24/+75
| | | | | | | | v2: Andreas Boll <[email protected]> - Add missing vdpau state tracker to _LIBADD variable v3: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system
* targets/vdpau-r300: Convert to automakeMatt Turner2013-01-103-28/+71
| | | | | | | | v2: Andreas Boll <[email protected]> - Add missing vdpau state tracker to _LIBADD variable v3: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system
* targets/vdpau-nouveau: Convert to automakeMatt Turner2013-01-103-30/+71
| | | | | | | | v2: Andreas Boll <[email protected]> - Add missing vdpau state tracker to _LIBADD variable v3: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system
* targets/libgl-xlib: Convert to automakeMatt Turner2013-01-103-117/+71
| | | | | v2: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system
* targets/dri-vmwgfx: Convert to automakeMatt Turner2013-01-103-24/+78
| | | | | v2: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system
* targets/dri-swrast: Convert to automakeMatt Turner2013-01-103-39/+79
| | | | | v2: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system
* targets/dri-radeonsi: Convert to automakeMatt Turner2013-01-103-26/+72
| | | | | v2: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system
* targets/dri-r600: Convert to automakeMatt Turner2013-01-103-26/+80
| | | | | v2: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system
* targets/dri-r300: Convert to automakeMatt Turner2013-01-103-26/+72
| | | | | v2: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system
* targets/dri-nouveau: Convert to automakeMatt Turner2013-01-103-28/+74
| | | | | v2: Andreas Boll <[email protected]> - Provide compatibility with scripts for the old Mesa build system