Commit Graph

20 Commits

Author SHA1 Message Date
Vinson Lee 2729db8976 gallium: Add Mac OS to pipe/p_thread.h.
Mac OS also has POSIX threads.
2009-09-14 11:50:48 -06:00
aljen c6c44bf481 gallium: Added HaikuOS platform 2009-09-09 08:24:18 -06:00
Brian Paul 8d48222791 Merge branch 'mesa_7_5_branch'
Conflicts:

	src/mesa/main/api_validate.c
2009-06-16 18:25:52 -06:00
José Fonseca 940cb7ce16 gallium: Ensure assert macro is defined before being used in p_thread.h 2009-06-15 18:57:45 +01:00
Jakob Bornecrantz d4c578ae41 gallium: Make pipe thread say if it has condvars or not 2009-06-05 02:57:19 +01:00
Alan Coopersmith ad11107206 Add #ifdefs needed to compile Gallium on Solaris with gcc or Sun cc
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-25 11:07:31 -07:00
Michal Krol ed7bb2c196 gallium: Use macro parameter names consistently. 2009-03-16 12:39:07 +01:00
Michal Krol bf6ed0b962 gallium: pipe_mutex_init() is of type void.
Both the windows and fallback versions are void already.
2009-03-16 12:36:22 +01:00
Benjamin Close dbab39c6ca gallium: Add support for BSD operating systems, tested with FreeBSD
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>
2009-02-25 07:56:43 -07:00
José Fonseca 984a7c4e9c gallium: Fix doxygen comments. 2008-09-19 10:40:42 +09:00
Michal Krol 78a4589b10 gallium: Add pipe_thread primitives for PIPE_OS_LINUX. 2008-09-05 16:55:51 +02:00
Michal Krol a0b5ac424b gallium: Add pipe_thread primitives for PIPE_SUBSYSTEM_WINDOWS_USER config. 2008-09-05 15:10:47 +02:00
José Fonseca a341586d03 gallium: s/PIPE_OS_WINDOWS/PIPE_SUBSYSTEM_WINDOWS_USER/ in p_thread.
PIPE_OS_WINDOWS is an umbrella for all Windows variants and subsystems,
PIPE_SUBSYSTEM_WINDOWS_USER is just for user-space windows (e.g., OpenGL),
and the thread primitives currently included in p_thread only support the
later.
2008-08-28 06:53:57 +09:00
Brian Paul d29cf58b1d gallium: s/_glthread_Cond/unsigned/ in p_thread.h 2008-08-27 08:46:29 -06:00
Michal Krol da66a7640d gallium: Add dummy defines of pipe_condvar for Windows to make it compile. 2008-08-27 11:06:08 +02:00
Brian Paul 0bb852fa49 gallium: thread wrapper clean-up
In p_thread.h replace _glthread_* functions with new pipe_* functions.
Remove other old cruft.
2008-08-26 16:35:12 -06:00
Brian Paul 0561a293b6 gallium: remove some old dispatch code 2008-06-24 08:47:15 -06:00
José Fonseca 03a3373bdf gallium: Thread condition variables. 2008-04-11 12:18:06 +09:00
José Fonseca b9da3791c9 Remove src/mesa and src/mesa/main from gallium source include paths. 2008-02-19 15:07:53 +09:00
José Fonseca b642730be9 Code reorganization: move files into their places.
This is in a separate commit to ensure renames are properly preserved.
2008-02-15 17:45:40 +09:00
Renamed from src/mesa/pipe/p_thread.h (Browse further)