summaryrefslogtreecommitdiffstats
path: root/src/mapi/vgapi
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Add scons files to distribution.Matt Turner2014-12-121-1/+1
|
* vgapi: Add vgapi.csv to distribution.Matt Turner2014-12-121-0/+1
|
* automake: don't enable -Wl,--no-undefined on OpenBSDJonathan Gray2014-04-051-1/+1
| | | | | | | | | | | | | | | | OpenBSD does not have DT_NEEDED entries for libc by design, over concerns how the symbols would be referenced after changing the major version of the library. So avoid -no-undefined checks on OpenBSD as they will fail. v2: don't include the -no-undefined libtool option in the variable and change -Wl,--no-undefined references in Automake.inc as well. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76856 Signed-off-by: Jonathan Gray <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* automake: ask the linker to do garbage collectionEmil Velikov2014-03-311-0/+1
| | | | | | | | | | | | | | By doing GC the linker removes all the symbols that are not referenced and/or used by the final library. This results in a saving of ~100K up-to ~600K per (stripped) binary (classic vs gallium drivers). If interested one can ask the compiler to print the sections that are removed using -Wl,--print-gc-sections. v2: Check if ld supports the flag before using it. Signed-off-by: Emil Velikov <[email protected]> Acked-by: Matt Turner <[email protected]> (v1)
* automake: add -Wl,--no-undefined to all librariesEmil Velikov2014-03-311-1/+4
| | | | | | | | | ... apart from the dri drivers. With this final change we can build mesa without fear that the resulting libraries will have unresolved symbols. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* configure: Try pkg-config first for libselinuxKusanagi Kouichi2014-02-171-0/+1
| | | | | | | | v2 (Emil) Add SELINUX_CFLAGS in the respective locations Signed-off-by: Kusanagi Kouichi <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]> (v1)
* build: Share the all-local rule for linking libraries into the build dirKristian Høgsberg2014-01-291-7/+1
| | | | | | | | | | This consolidates how we link the libraries into the build directory. It works for lib_LTLIBRARIES but not custom shared libraries like DRI drivers or gallium state trackers which needs special casing (cf dri mega drivers, for example) Signed-off-by: Kristian Høgsberg <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* build: Move src/mapi/mapi/* to src/mapi/Matt Turner2013-04-152-5/+5
| | | | | | Tested-by: Emil Velikov <[email protected]> Reviewed-and-Tested-by: Andreas Boll <[email protected]> Reviewed-by: Jordan Justen <[email protected]>
* build: Rename sources.mak -> Makefile.sourcesMatt Turner2013-04-151-1/+1
| | | | | | | | For the sake of consistency. Tested-by: Emil Velikov <[email protected]> Reviewed-and-Tested-by: Andreas Boll <[email protected]> Reviewed-by: Jordan Justen <[email protected]>
* scons: Fix dependencies of generated headers.José Fonseca2013-01-211-2/+3
| | | | | | | | | | | | | | 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]>
* Remove hacks for static MakefilesMatt Turner2013-01-131-2/+1
| | | | | | | | | | | 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
* Clean up .gitignore filesMatt Turner2013-01-101-1/+0
|
* automake: convert vgapiMatt Turner2012-08-244-100/+69
|
* shared-glapi: Convert to automakeKristian Høgsberg2012-03-191-2/+2
| | | | | | | | | | This fixes a build problem where EGL links to libgbm.la, which encodes a relative path to it's libglapi.so dependency. The relative path breaks when the linker tries to resolve it from src/egl/main instead of src/gbm. Typically we silently fall back to the system libglapi.so, which is wrong and breaks when there isn't one. Morale of the story: don't mix mklib and libtool.
* scons: Remove references to u_thread.cJosé Fonseca2012-01-261-1/+0
| | | | For future reference: always run "git grep" on refactorings.
* Remove windows kernel support code.José Fonseca2011-11-291-56/+54
| | | | | | Not actively used. Reviewed-by: Brian Paul <[email protected]>
* mapi: Workaround a bug in makedepend.Chia-I Wu2011-01-291-1/+4
| | | | | | | | | | | | | makedepend would crash when a source includes a header indirectly, such as #define HEADER "some-header.h" #include HEADER Do not define HEADER (makedepend would detects this as an incomplete include) and add the dependency manually in the Makefile. This should hopefully fix bug #33374.
* scons: Ensure the OpenVG/EGL import libs are also prefixed with 'lib'.José Fonseca2011-01-131-0/+1
|
* scons: Build libOpenVG.dll & libEGL.dllJosé Fonseca2011-01-131-0/+3
| | | | | | But without creating liblibOpenVG or liblibEGL elsewhere. Thanks Chia-I Wu for pointing this out.
* scons: Fix build on systems without libOpenVG.soJosé Fonseca2011-01-121-4/+4
|
* scons: Updates for targets/egl-static.Chia-I Wu2011-01-121-1/+4
| | | | | | | | Update SConscripts to re-enable or add support for EGL on windows and x11 platforms respectively. targets/egl-gdi is replaced by targets/egl-static, where "-static" means pipe drivers and state trackers are linked to statically by egl_gallium, and egl_gallium is a built-in driver of libEGL. There is no more egl_gallium.dll on Windows.
* mapi: Rewrite mapi_abi.py to get rid of preprocessor magic.Chia-I Wu2010-12-063-14/+5
| | | | | | | | The preprocessor magic in mapi was nothing but obfuscation. Rewrite mapi_abi.py to generate real C code. This commit removes the hack added in 43121f20866bb89e8dac92bd92ec85a943704b7e.
* st/vega: Update to latest headers.Chia-I Wu2010-12-011-12/+12
|
* scons: Revamp how to specify targets to build.José Fonseca2010-11-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | Use scons target and dependency system instead of ad-hoc options. Now is simply a matter of naming what to build. For example: scons libgl-xlib scons libgl-gdi scons graw-progs scons llvmpipe and so on. And there is also the possibility of scepcified subdirs, e.g. scons src/gallium/drivers If nothing is specified then everything will be build. There might be some rough corners over the next days. Please bare with me.
* mapi: Use MAPI_EXPORT to export public functions.Chia-I Wu2010-08-211-0/+1
| | | | | mapi.h is included by vgapi and st/vega. On win32, the macro expands to dllexport and dllimport respectively.
* vgapi: Generate PIC objects.Chia-I Wu2010-06-011-1/+1
| | | | Fixes "...; recompile with -fPIC" error on x86-64. See fdo 28336.
* mapi/vgapi: Add SConscript for Windows build.Chia-I Wu2010-05-311-0/+55
|
* mapi: Install .pc file for OpenVG.Chia-I Wu2010-05-082-1/+31
|
* mapi: Update vgapi to build libOpenVG.so.Chia-I Wu2010-05-081-3/+24
| | | | Unlike the one produced by st/vega, this is a dispatch-only library.
* mapi: Add vgapi.Chia-I Wu2010-05-073-0/+154
vgapi is a dispatcher for OpenVG.