Re: [Mesa-dev] [PATCH] llvmpipe: Implement PIPE_QUERY_TIMESTAMP and PIPE_QUERY_TIME_ELAPSED.

2012-12-04 Thread Daniel Vetter
On Mon, Dec 03, 2012 at 09:29:54AM -0800, Jose Fonseca wrote: > > > - Original Message - > > On Mon, Dec 3, 2012 at 7:33 PM, Dave Airlie > > wrote: > > >> diff --git a/src/gallium/auxiliary/os/os_time.c > > >> b/src/gallium/auxiliary/os/os_time.c > > >> index 3e9d50a..4055125 100644 > >

Re: [Mesa-dev] [PATCH] llvmpipe: Implement PIPE_QUERY_TIMESTAMP and PIPE_QUERY_TIME_ELAPSED.

2012-12-03 Thread Jose Fonseca
- Original Message - > On Mon, Dec 3, 2012 at 7:33 PM, Dave Airlie > wrote: > >> diff --git a/src/gallium/auxiliary/os/os_time.c > >> b/src/gallium/auxiliary/os/os_time.c > >> index 3e9d50a..4055125 100644 > >> --- a/src/gallium/auxiliary/os/os_time.c > >> +++ b/src/gallium/auxiliary/os/

Re: [Mesa-dev] [PATCH] llvmpipe: Implement PIPE_QUERY_TIMESTAMP and PIPE_QUERY_TIME_ELAPSED.

2012-12-03 Thread Dave Airlie
On Mon, Dec 3, 2012 at 7:33 PM, Dave Airlie wrote: >> diff --git a/src/gallium/auxiliary/os/os_time.c >> b/src/gallium/auxiliary/os/os_time.c >> index 3e9d50a..4055125 100644 >> --- a/src/gallium/auxiliary/os/os_time.c >> +++ b/src/gallium/auxiliary/os/os_time.c >> @@ -36,6 +36,7 @@ >> #include

Re: [Mesa-dev] [PATCH] llvmpipe: Implement PIPE_QUERY_TIMESTAMP and PIPE_QUERY_TIME_ELAPSED.

2012-12-03 Thread Dave Airlie
> diff --git a/src/gallium/auxiliary/os/os_time.c > b/src/gallium/auxiliary/os/os_time.c > index 3e9d50a..4055125 100644 > --- a/src/gallium/auxiliary/os/os_time.c > +++ b/src/gallium/auxiliary/os/os_time.c > @@ -36,6 +36,7 @@ > #include "pipe/p_config.h" > > #if defined(PIPE_OS_UNIX) > +# incl

[Mesa-dev] [PATCH] llvmpipe: Implement PIPE_QUERY_TIMESTAMP and PIPE_QUERY_TIME_ELAPSED.

2012-12-02 Thread jfonseca
From: James Benton 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 . --- src/gallium/auxiliary/os/os_time.c