Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | os: Fix pipe_static_mutex on Windows. | José Fonseca | 2011-03-06 | 1 | -1/+2 |
| | |||||
* | os: Open file streams in binary mode. | Michal Krol | 2010-11-08 | 1 | -1/+1 |
| | | | | Otherwise we'll get garbled data on Windows. | ||||
* | auxiliary: add copyright headers | Luca Barbieri | 2010-08-21 | 1 | -0/+26 |
| | | | | Thanks to Jose Fonseca for pointing out they were missing. | ||||
* | os_stream: fix bugs in allocation path | Luca Barbieri | 2010-08-21 | 1 | -16/+8 |
| | |||||
* | os_stream: add printf facility | Luca Barbieri | 2010-08-20 | 6 | -3/+83 |
| | |||||
* | os: remove gratuitous pipe_barrier placeholder code | nobled | 2010-07-12 | 1 | -21/+1 |
| | | | | | | | There's already an implementation of pipe_barrier using the other pipe_* primitives; just use that on Windows, too. Now Windows passes pipe_barrier_test. | ||||
* | os, rbug: remove PIPE_THREAD_HAVE_CONDVAR | nobled | 2010-07-12 | 1 | -1/+0 |
| | | | | | The new default implementation of pipe_condvar makes it unnecessary. | ||||
* | os: Implement pipe_condvar on Windows Vista and later | nobled | 2010-07-12 | 1 | -0/+30 |
| | | | | | | | | Unfortunately compiling with these defines enabled would mean Gallium can't run on Windows XP/2003 or older. Todo: Need a macro to declare if we don't care about WinXP compatibililty. | ||||
* | os: Implement pipe_condvar on win32 | nobled | 2010-07-12 | 1 | -7/+27 |
| | | | | | | | | Or at least a little of it. This version will sleep for a fixed amount of time instead of just deadlocking, which is a slight improvement. Also do the same thing on any unrecognized platform. | ||||
* | gallium: Add tokens for Cygwin. | Vinson Lee | 2010-05-13 | 2 | -6/+6 |
| | |||||
* | os: Check for spurious wakeups in pipe_barrier_wait. | Vinson Lee | 2010-04-26 | 1 | -1/+8 |
| | | | | | | | | | | | | | | The POSIX function pthread_cond_wait can have spurious wakeups when waiting on a condition variable. Add a 64-bit counter that is incremented whenever the barrier becomes full. A woken thread checks the counter. If the counter has not changed then it has been spuriously woken and goes back to sleep. If the counter has changed then it was properly signaled and exits the barrier. Tested on Mac OS X. This patch was based on ideas from Luca Barbieri. | ||||
* | os: Implement pipe_barrier for POSIX platforms without pthread_barrier_t. | Vinson Lee | 2010-04-17 | 1 | -5/+26 |
| | | | | This patch was tested on Mac OS X. | ||||
* | os: Temporarily use posix thread for embedded too. | Kurt Daverman | 2010-03-31 | 1 | -6/+6 |
| | |||||
* | gallivm/llvmpipe: rename os_llvm.h to lp_bld.h | Brian Paul | 2010-03-15 | 1 | -47/+0 |
| | | | | | | | The llvm wrapper wasn't really an OS thing. Use lp_bld.h for now but we eventually should rename/re-prefix all the files/functions in the gallivm/ directory. | ||||
* | Merge branch '7.8' | Michel Dänzer | 2010-03-12 | 1 | -1/+1 |
|\ | |||||
| * | Grammar and spelling fixes | Jeff Smith | 2010-03-12 | 1 | -1/+1 |
| | | | | | | | | | | Signed-off-by: Jeff Smith <[email protected]> Signed-off-by: Brian Paul <[email protected]> | ||||
* | | gallium/os: wrapper for llvm-c/Core.h and #define HAVE_LLVM if needed | Brian Paul | 2010-03-11 | 1 | -0/+47 |
|/ | |||||
* | os: A stream for debug logging. | José Fonseca | 2010-02-14 | 4 | -2/+87 |
| | | | | | | | Just a wrapper around os_log_message. Although it would probably make more sense to be the other way around. Also some comment fixes. | ||||
* | os: Add a growable string stream. | José Fonseca | 2010-02-14 | 2 | -0/+177 |
| | |||||
* | os: Complement/improve stream inline helpers. | José Fonseca | 2010-02-14 | 1 | -0/+17 |
| | |||||
* | os: Fix bad calloc. | José Fonseca | 2010-02-14 | 1 | -10/+1 |
| | |||||
* | os: Make streams abstract. | José Fonseca | 2010-02-14 | 4 | -262/+158 |
| | | | | | Also replace windows kernel stream with null implementation. It was severely limited and no easy means to test it now. | ||||
* | os: Do not use Pthreads barrier functions on Mac OS X. | Vinson Lee | 2010-02-10 | 1 | -42/+52 |
| | | | | Pthreads barrier functions are not available on some POSIX platforms. | ||||
* | os: Don't assert on missing implementation of barrier init/destroy. Just usage. | José Fonseca | 2010-02-05 | 1 | -2/+0 |
| | |||||
* | Merge remote branch 'origin/lp-binning' | José Fonseca | 2010-02-05 | 1 | -7/+144 |
| | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_dl.c src/gallium/auxiliary/util/u_time.h src/gallium/drivers/llvmpipe/lp_state_derived.c src/gallium/drivers/llvmpipe/lp_state_surface.c src/gallium/drivers/llvmpipe/lp_tex_cache.c src/gallium/drivers/llvmpipe/lp_tile_cache.c | ||||
* | auxiliary: util_stream -> os_stream | José Fonseca | 2010-02-04 | 3 | -0/+388 |
| | |||||
* | os: Ensure header includes are outside extern "C" {}. | José Fonseca | 2010-02-04 | 1 | -2/+6 |
| | |||||
* | os: Time abstractions. | José Fonseca | 2010-02-04 | 2 | -0/+220 |
| | | | | Simplified version of u_time.[ch] | ||||
* | os/os_memory_aligned.h: fix memory allocation alignment for 64 bits | José Fonseca | 2010-02-04 | 2 | -3/+3 |
| | | | | Based on Andreia Gaita <[email protected]>'s patch. | ||||
* | os: Add missing dummy threading definitions. | José Fonseca | 2010-02-04 | 1 | -0/+19 |
| | |||||
* | os: Also add the aligned memory prototypes to the embedded section. | José Fonseca | 2010-02-03 | 1 | -0/+6 |
| | |||||
* | os: New OS abstraction module. | José Fonseca | 2010-02-03 | 7 | -0/+715 |
| | |||||
* | gallium: Move p_thread.h and p_atomic.h out of gallium interfaces. | José Fonseca | 2010-02-02 | 1 | -0/+279 |
Into os/os_thread.h and util/u_atomic.h respectively. |