summaryrefslogtreecommitdiff
path: root/src/gallium/include/pipe/p_config.h
AgeCommit message (Collapse)AuthorFilesLines
2011-11-29Remove windows kernel support code.José Fonseca1-12/+2
Not actively used. Reviewed-by: Brian Paul <brianp@vmware.com>
2011-10-20Add solaris detection for PIPE_ARCH_LITTLE_ENDIAN/PIPE_ARCH_BIG_ENDIANAlan Coopersmith1-0/+9
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-08-21gallium: add PIPE_OS_ANDROID supportChia-I Wu1-0/+8
Android uses Linux kernel and its own C runtime. It resembles PIPE_OS_LINUX a lot with some minor exceptions. Reviewed-by: Brian Paul <brianp@vmware.com>
2011-07-31darwin: Use machine/endian.h to determine endiannessJeremy Huddleston1-0/+9
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-07-31Fix PPC detection on darwinJeremy Huddleston1-2/+2
Fixes regression introduced by 7004582c1894ede839c44e292b413fe4916d7e9e Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-17scons: make embedding orthogonal to the platformJosé Fonseca1-4/+0
To enable embedding in platforms other than linux.
2011-05-31gallium: include limits.h in p_config.hDave Airlie1-1/+1
We are getting inconsistent methods for endian detection (same answer when it works, just doesn't work on some platforms) depending on whether __GLIBC__ is defined, which of course depends on include ordering before p_config.h Just make p_config.h include limits.h to solve this. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2011-05-09gallium: Factor out unknown endianness detection.Michel Dänzer1-2/+4
2011-05-09Don't allow compilation if endianness isn't knownMatt Turner1-1/+1
PIPE_ARCH_UNKNOWN_ENDIAN is used no where else. All #else branches of ifdef PIPE_ARCH_LITTLE assume big-endian. Not #error'ing out here only serves to allow bad things to happen. Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-05-09p_config.h: Rely on glibc endianness definitions when availableMatt Turner1-0/+12
Suggested by Julien Cristau. Signed-off-by: Matt Turner <mattst88@gmail.com>
2010-07-14gallium: Add a new PIPE_ARCH_SSSE3 define for SSSE3 compiler support.José Fonseca1-0/+5
2010-06-24pipe: Add PIPE_OS_HURDnobled1-0/+5
One tiny step toward porting Gallium to the GNU/Hurd kernel (and fixing Debian bug #585618). Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2010-05-13gallium: Add tokens for Cygwin.Vinson Lee1-0/+5
2010-02-04gallium: Don't try to auto-detect the OS when embedded os is already ↵José Fonseca1-2/+6
pre-defined.
2009-12-02gallium/util: added PIPE_CC_GCC_VERSION symbolBrian Paul1-0/+1
2009-10-01util: define PIPE_OS_FREEBSD to correct u_cpu_detect on FreeBSD.Robert Noland1-0/+13
Since the various BSDs use some different features here, define PIPE_OS_OPENBSD and PIPE_OS_NETBSD as well Signed-off-by: Robert Noland <rnoland@2hip.net>
2009-09-29gallium: New PIPE_OS_UNIX to simplify code that is portable to all unices.José Fonseca1-0/+5
2009-09-09gallium: Added HaikuOS platformaljen1-0/+3
2009-07-08gallium: Add endian detection to p_config.Corbin Simpson1-0/+13
2009-06-25gallium: Add PIPE_OS_APPLE token.Vinson Lee1-0/+4
2009-03-25Add #ifdefs needed to compile Gallium on Solaris with gcc or Sun ccAlan Coopersmith1-4/+8
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-02-25gallium: Add support for BSD operating systems, tested with FreeBSDBenjamin Close1-2/+6
BSD supports pipe in the same way as linux hence options which are safe for linux are also safe for BSD. Define PIPE_OS_BSD in include/pipe/p_config.h and adjust the defines to make use of it. Also define MAP_ANONYMOUS for BSD systems which use MAP_ANON Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com>
2008-10-21gallium: implement tests for PPC/PPC64Brian Paul1-1/+4
2008-10-07gallium: Introduce PIPE_ARCH_SSE define for SSE support.José Fonseca1-0/+8
Besides meaning x86 and x86-64 architecture, it also depends on SSE2 support enabled on gcc. This fixes the linux-debug build.
2008-06-02gallium: Identify each Windows platform individually from scons.José Fonseca1-20/+31
2008-05-28gallium: Windows CE portability fixes.José Fonseca1-2/+6
2008-05-28gallium: Autodetect WINCE.José Fonseca1-3/+4
2008-05-01d3d: Windows miniport driver portability fixes.José Fonseca1-0/+9
2008-04-25gallium: New configuration header.José Fonseca1-0/+112
To abstract all those weird #ifdef (__???__) checks. It should typically be the first included header.