[Mesa-dev] [PATCH 0/4] Update to GL_ARB_timer_query

Jose Fonseca jfonseca at vmware.com
Mon Jul 9 23:08:16 PDT 2012


Hi Marek,

Please update src/gallium/docs for the gallium interface change, and implement the new function on galahad (I'm working towards getting galahad to support the full gallium interface and get it enabled by default on debug builds, as it is a shame not using it more).

Otherwise looks good to me.

Jose

----- Original Message -----
> Hi everyone,
> 
> this series is a follow-up to the previous one sent on June 27.
> Here's only what's changed. All commits are here:
> http://cgit.freedesktop.org/~mareko/mesa/log/?h=timer-query
> 
> Change log:
> - reimplemented glGet(GL_TIMESTAMP) as per Eric Anholt's comment
> - updated all gallium patches
> - added softpipe support
> 
> The craziness with the cpu-gpu difference is gone. Softpipe
> (specifically the os_time_get function) uses gettimeofday instead of
> the proposed xserver's GetTimeInMillis function, but I don't
> consider that a big deal (especially if it's only softpipe using
> it).
> 
> Please review.
> 
> Marek Olšák (4):
>       mesa: implement glGet(GL_TIMESTAMP) v2
>       gallium: add QUERY_TIMESTAMP cap and get_timestamp screen
>       function
>       st/mesa: implement ARB_timer_query
>       softpipe: implement get_timestamp and expose ARB_timer_query
> 
>  src/gallium/drivers/i915/i915_screen.c   |    1 +
>  src/gallium/drivers/llvmpipe/lp_screen.c |    1 +
>  src/gallium/drivers/nv30/nv30_screen.c   |    1 +
>  src/gallium/drivers/nv50/nv50_screen.c   |    1 +
>  src/gallium/drivers/nvc0/nvc0_screen.c   |    1 +
>  src/gallium/drivers/r300/r300_screen.c   |    1 +
>  src/gallium/drivers/r600/r600_pipe.c     |    1 +
>  src/gallium/drivers/softpipe/sp_screen.c |   10 ++++++++++
>  src/gallium/drivers/svga/svga_screen.c   |    1 +
>  src/gallium/include/pipe/p_defines.h     |    3 ++-
>  src/gallium/include/pipe/p_screen.h      |    7 +++++++
>  src/mesa/main/dd.h                       |    6 ++++++
>  src/mesa/main/get.c                      |   17 ++++++++++++++++-
>  src/mesa/state_tracker/st_cb_queryobj.c  |   14 ++++++++++++++
>  src/mesa/state_tracker/st_extensions.c   |    5 +++++
>  15 files changed, 68 insertions(+), 2 deletions(-)
> 
> Marek
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>


More information about the mesa-dev mailing list