[Mesa-dev] [PATCH 0/7] GL_TIMESTAMP and GL_ARB_timer_query

Marek Olšák maraeo at gmail.com
Tue Jun 26 18:49:55 PDT 2012


Hi everyone,

this series implements the GL_TIMESTAMP query, the last missing feature for GL_ARB_timer_query. I am not 100% sure about my approach to implementing glGet(GL_TIMESTAMP) and whether there is a better way.

There are tests for this on the piglit mailing list and they pass.

Please review.

Marek Olšák (7):
      glapi: add ARB_timer_query
      mesa: implement TIMESTAMP query and glQueryCounter
      mesa: add QueryCounter display list support
      mesa: implement glGet(GL_TIMESTAMP)
      mesa: add ARB_timer_query to the extension list
      gallium: implement what's left for TIMESTAMP query
      r600g: implement TIMESTAMP query

 src/gallium/drivers/r600/r600_pipe.c    |    1 +
 src/gallium/drivers/r600/r600_query.c   |   17 +++-
 src/gallium/include/pipe/p_defines.h    |    3 +-
 src/mapi/glapi/gen/gl_API.xml           |   22 ++++-
 src/mesa/main/dlist.c                   |   24 ++++++
 src/mesa/main/extensions.c              |    1 +
 src/mesa/main/get.c                     |   10 +++
 src/mesa/main/mtypes.h                  |    1 +
 src/mesa/main/queryobj.c                |  139 +++++++++++++++++++++++++++++--
 src/mesa/main/queryobj.h                |    5 ++
 src/mesa/state_tracker/st_cb_queryobj.c |    5 ++
 src/mesa/state_tracker/st_extensions.c  |    7 ++
 12 files changed, 226 insertions(+), 9 deletions(-)

Marek


More information about the mesa-dev mailing list