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 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev