path: root/src/gallium/targets
AgeCommit message (Collapse)AuthorFilesLines
2013-11-23gallium: Pass version scripts to linker using --version-script=Tom Stellard4-4/+4
This fixes build failures with the gold linker. CC: "10.0" <> (cherry picked from commit 17930a66aad6774224296ad9c845d30e01e4ffe5)
2013-11-15egl-static: Only export necessary symbols v3Tom Stellard2-0/+5
This fixes a crash in glamor when mesa links against static LLVM. v2: - Inline LINKER_SCRIPT variable v3: Kai Wasserbäch - Fix out out-of-tree-builds Tested-by: Kai Wasserbäch <kai@dev.carbon-project.or> (cherry picked from commit 594fa4a208b138b0b9b24cc8de62e6681ebb8d21)
2013-11-15pipe-loader: Only export necessary symbols v3Tom Stellard2-0/+5
This makes it possible to use clover with statically linked LLVM. v2: - Inline LINKER_SCRIPT variable v3: Kai Wasserbäch - Fix out out-of-tree-builds Tested-by: Kai Wasserbäch <kai@dev.carbon-project.or> (cherry picked from commit 6d6c749215739d0b5f5143dd00a782082b3d03a2)
2013-11-07xorg-nouveau: Delete.Matt Turner4-284/+0
2013-11-07xorg-i915: Delete.Matt Turner4-250/+0
Acked-by: Jakob Bornecrantz <> Acked-by: Stéphane Marchesin <>
2013-11-05target/haiku-softpipe: Fix viewport issuesAlexander von Gluck IV4-29/+138
* Call mesa viewport call on winndow resize * Add initial postprocessing code * Pass hgl_context to private statetracker as it is more useful than GalliumContext * Use Lock and Unlock functions to standardize GalliumContext locking * Create texture resources in texture validation Acked-by: Brian Paul <>
2013-11-02gallium/targets: remove vdpau-softpipeMarek Olšák2-76/+0
Reviewed-by: Christian König <>
2013-11-02gallium/targets: remove xvmc-softpipeMarek Olšák2-76/+0
Reviewed-by: Christian König <>
2013-11-02gallium/targets: remove r300/vdpauMarek Olšák2-78/+0
Reviewed-by: Christian König <>
2013-11-02gallium/targets: remove r300/xvmcMarek Olšák2-73/+0
Reviewed-by: Christian König <>
2013-11-02gallium/targets: remove radeonsi/xorgMarek Olšák3-220/+0
Reviewed-by: Christian König <>
2013-11-02gallium/targets: remove r600/xorgMarek Olšák3-226/+0
Reviewed-by: Christian König <>
2013-10-29automake: properly handle non-default expat installationEmil Velikov1-0/+1
Use PKG_CHECK_MODULE over requesting the user to setup the option at configure time. Drop unused EXPAT_INCLUDE and update all targets. NOTE: The this commit removes the --with-expat configure option. One should ensure that the expat they wish to use has expat.pc file accessible by pkg-config. v2: * Add note about the removal of --with-expat (per Tom Stellard) * Drop EXPAT_CFLAGS for targets that do not build DRI_COMMON (spotted by Matt Turner) v3: * Rebase on top of megadrivers (drop EXPAT_CFLAGS from swrast) Acked-by: Matt Turner <> (v2) Reviewed-by: Tom Stellard <> (v2) Signed-off-by: Emil Velikov <> Conflicts: src/mesa/drivers/dri/common/
2013-10-29targets/xorg-nouveau: drop usage of dri1 function DRICreatePCIBusIDEmil Velikov1-13/+14
The function should have never used it in the first place as it was a left over from the DRI1 days of the nouveau ddx. While we're around check if KMS is supported before opening the nouveau device, and add support for Fermi & Kepler cards. Compile tested only due to the lack of a Fermi/Kepler card. Signed-off-by: Emil Velikov <>
2013-10-29gallium/targets/xorg: drop set but unused variable entityEmil Velikov4-12/+0
The function xf86GetEntityInfo() retrieves the entity rather than doing any changes. Remove this no-op code. Signed-off-by: Emil Velikov <> Reviewed-by: Tom Stellard <>
2013-10-29haiku-softpipe: Minor cleanup and color space fixesAlexander von Gluck IV2-20/+13
* Use more consistant data sources * Fix improper color space assignments * Remove unnecessary comments and code * Drop unnecessary round_up function (this was leftover from moving winsys code out of renderer) Acked-by: Brian Paul <>
2013-10-21clover: Implement support for the ICD extension.Francisco Jerez2-0/+6
Tested-by: Tom Stellard <>
2013-10-21clover: Prepare the build system for ICD support.Tom Stellard1-8/+7
Signed-off-by: Francisco Jerez <>
2013-10-15swrast: add correct include for out-of-tree buildsEmil Velikov1-0/+1
The xmlpool/options.h file was not accessible when building out-of-tree leading to failure. Bugzilla: Reported-by: Fabio Pedretti <> Tested-by: Fabio Pedretti <> Tested-by: Andre Heider <> Signed-off-by: Emil Velikov <> Reviewed-by: Brian Paul <> Reviewed-by: Andreas Boll <>
2013-10-10haiku: Fix llvmpipe and clean up softpipe tracingAlexander von Gluck IV4-8/+6
* Fix LLVM library and defines * Only enable tracing when scons build=debug Acked-by: Brian Paul <>
2013-10-10haiku: Remove common directory search pathAlexander von Gluck IV1-2/+0
* /boot/common no longer exists in Haiku as of a few days ago (and this is undefined) Acked-by: Brian Paul <>
2013-10-10dri: Merge drisw_util.c into dri_util.cEric Anholt3-7/+14
The only important difference was not calling drmGetVersion, and making the swrast extension vtable. That doesn't justify duplicating the other 330 lines of code. v2: fix the scons build (code by Emil Velikov) v3: fix scons build with swrast-only (code by Emil Velikov) v4: Drop the new define I added, when we already have __NOT_HAVE_DRM_H. Signed-off-by: Emil Velikov <>
2013-10-09gallium/targets/libgl-xlib: X11/Xlib.h: No such file or directoryGaetan Nadon1-1/+1
The compiler cannot find the Xlib.h in the installed system headers. All supplied include directives point to inside the mesa module. The X11_CFLAGS variable is undefined (not defined in config.status). It appears the intent was to use X11_INCLUDES defined in The Xlib.h file is not installed on my workstation. It is supplied in the libx11-dev package. This allows an X developer control over which version of this file is used for X development. Acked-by: Brian Paul <> Signed-off-by: Gaetan Nadon <>
2013-10-09gallium/dri targets: use DRI_DRIVER_LDFLAGSMarek Olšák9-9/+9
which contains -Wl,-Bsymbolic. If I understand it correctly, it prevents symbols from clashing if multiple drivers are loaded at the same time. Tested-by: Emil Velikov <>
2013-10-08gallium/swrast: don't export any private symbolsMarek Olšák1-1/+2
Reviewed-by: Tom Stellard <>
2013-10-08gallium/radeon: don't export any private symbolsMarek Olšák10-10/+20
Reviewed-by: Tom Stellard <>
2013-10-07radeon/vdpau: only export necessary symbolsChristian König3-0/+9
Export only the absolutely necessary symbols in radeon vdpau targets. Signed-off-by: Christian König <>
2013-10-04haiku: Ensure correct libraries are referenced.Alexander von Gluck IV1-1/+0
2013-10-04haiku: Clean up code, use target-helpersAlexander von Gluck IV1-10/+6
* Thanks for the help xexaxo!
2013-10-04haiku: Drop haiku-softpipe.c; fix extern CAlexander von Gluck IV4-103/+1
* It isn't needed any longer as we're moving in the code that called it. * The winsys code is C, so make sure we include the header in the extern C
2013-10-04haiku: Correct Haiku softpipe libraryAlexander von Gluck IV1-1/+1
* Use LoadableModule vs SharedLibrary
2013-10-04haiku: Add first Haiku renderer (softpipe)Alexander von Gluck IV8-4/+1249
* This shared library gets parsed by the system as a system "add-on"
2013-10-04haiku: Build Haiku's libGL from within MesaAlexander von Gluck IV7-0/+1241
* This in essence means that Mesa would be taking control of Haiku's OpenGL kit. * This works by dispatching renderers from the OpenGL add-ons directory
2013-10-01st/glx: consolidate C sources list into Makefile.sourcesEmil Velikov1-1/+1
Move glx/{,xlib/} to preserve file list Signed-off-by: Emil Velikov <> Reviewed-by: Tom Stellard <>
2013-10-01gallium/targets: Make use of prebuilt Obermayr8-38/+17 is available whenever a non swrast driver is built. All the classic dri drivers make use of the prebuild library but all of the gallium ones rebuild it explicitly. While we're here gallium/{llvm,soft}pipe does not require HAVE_COMMON_DRI thus do not set in during configure. v2: [Emil] Add commit message and drop HAVE_COMMON_DRI from v3: [Emil] Rebase and resolve targets/r*/dri conflicts Signed-off-by: Emil Velikov <> Reviewed-by: Tom Stellard <>
2013-09-25radeon/winsys: keep screen pointer in winsys v2Christian König3-18/+24
Only create one screen for each winsys instance. This helps with buffer sharing and interop handling. v2: rebased and some minor cleanup Signed-off-by: Christian König <> Reviewed-by: Marek Olšák <>
2013-09-25build/radeonsi: group all targets in common subdirChristian König9-97/+74
Allows us to share more code between different targets. Signed-off-by: Christian König <> Acked-by: Marek Olšák <>
2013-09-25build/r600: group all targets in common subdirChristian König11-123/+76
Allows us to share more code between different targets. Signed-off-by: Christian König <> Acked-by: Marek Olšák <>
2013-09-25build/r300: group build target in common subdirChristian König8-79/+58
Allows us to share more code between different targets. Signed-off-by: Christian König <> Acked-by: Marek Olšák <>
2013-09-11Move nv30, nv50 and nvc0 to nouveau.Johannes Obermayr6-18/+0
It is planned to ship openSUSE 13.1 with -shared libs.,, and are currently LIBADDs in all nouveau related targets. This change makes it possible to easily build one shared which is then LIBADDed. Also dlopen will be faster for one library instead of three and build time on -jX will be reduced. Whitespace fixes were requested by 'git am'. Signed-off-by: Johannes Obermayr <> Acked-by: Christoph Bumiller <> Acked-by: Ian Romanick <>
2013-08-29freedreno: pipe loader for either kgsl or msmRob Clark4-10/+39
The downstream android kernel driver is "kgsl", the upstream drm/kms driver is called "msm". Since libdrm_freedreno handles the differences between the two, we need to load the same thing for either device. Signed-off-by: Rob Clark <>
2013-08-23gallium/osmesa: Link, not copy, the shared library to the LIB_DIR.Jon Severinsson1-1/+1
Just like all other mesa libraries... CC: "9.2" <> Reviewed-by: Matt Turner <>
2013-08-23gallium/osmesa: Always link with the c++ linker.Jon Severinsson1-9/+2
Just like all other gallium targets... CC: "9.2" <> Reviewed-by: Matt Turner <>
2013-08-23gallium/osmesa: Make and install an osmesa.pc.Jon Severinsson2-3/+14
As of "2f142d59 build: Add --enable-gallium-osmesa flag." the pkgconfig file from classic osmesa is no longer installed when building gallium osmesa, so copy it to gallium osmesa and install the copy instead. CC: "9.2" <> Reviewed-by: Matt Turner <>
2013-08-21build: Add --enable-gallium-osmesa flag.Matt Turner1-1/+1
The Gallium implementation is apparently not ready for regular consumption, so as much as I hate adding more build-time options, here's another. Acked-by: Brian Paul <>
2013-08-20gallium/osmesa: link against static libglapi library too to get the gl exportsMaarten Lankhorst1-3/+2
This should fix missing symbols in a osmesa built against shared glapi osmesa build. All opengl exports were missing that are defined in the static glapi, so link against both to fix this. I could swear I've done this before, maybe there was a glitch in the matrix. Bugzilla: Cc: "9.2" <> Signed-off-by: Maarten Lankhorst <>
2013-07-22build: Remove unused EGL_PLATFORMS.Matt Turner1-1/+0
2013-07-21scons: Don't use -z defs ld option on Mac.José Fonseca1-1/+2
Should fix fdo bug 67098.
2013-07-19scons: Disallow undefined symbols in Xlibé Fonseca1-0/+3
It's not the first time that, due to missing build dependencies or incomplete commits, we end up with a broken that's missing symbols, causing all tests to fail catastrophically. Instead try to catch this sort of issues earlier.
2013-07-03targets/xvmc-nouveau: add in missing nv30 libIlia Mirkin1-0/+1
Currently is missing nv30_screen_create. Add it in so that it may be dlopen'd. Signed-off-by: Ilia Mirkin <>