summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/os/os_time.c
AgeCommit message (Collapse)AuthorFilesLines
2013-06-26os: add cast in os_time_sleep() to silence MSVC warningBrian Paul1-1/+1
2012-12-06gallium/os: Cleanup up os_time_get/os_time_get_nano.José Fonseca1-16/+12
- Re-implement os_time_get in terms of os_time_get_nano() for consistency - Use CLOCK_MONOTONIC as recommended - Only use clock_gettime on Linux for now. Reviewed-by: Brian Paul <brianp@vmware.com>
2012-12-06gallium/os: Fix os_time_sleep() on Windows for small durations.José Fonseca1-1/+5
Prevents undetermined sleeps. Reviewed-by: Brian Paul <brianp@vmware.com>
2012-12-03llvmpipe: Implement PIPE_QUERY_TIMESTAMP and PIPE_QUERY_TIME_ELAPSED.James Benton1-0/+15
This required an update for the query storage in llvmpipe, there can now be an active query per query type, so an occlusion query can run at the same time as a time elapsed query. Based on PIPE_QUERY_TIME_ELAPSED patch from Dave Airlie. v2: fix up piglits for timers (also from Dave Airlie) a) if we don't render anything the result is 0, so just return the current time b) add missing screen get_timestamp callback. Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: José Fonseca <jfonseca@vmware.com>
2011-11-29Remove windows kernel support code.José Fonseca1-47/+3
Not actively used. Reviewed-by: Brian Paul <brianp@vmware.com>
2011-06-17scons: make embedding orthogonal to the platformJosé Fonseca1-5/+0
To enable embedding in platforms other than linux.
2011-04-27os: simplify ifdefnobled1-1/+1
The actual code that needs this include is just using "if defined (PIPE_OS_UNIX)", and the two conditions should match. This should also make the file compile under Hurd.
2010-05-13gallium: Add tokens for Cygwin.Vinson Lee1-1/+1
2010-02-04os: Time abstractions.José Fonseca1-0/+128
Simplified version of u_time.[ch]