mesa/src
José Fonseca 3160b0b9fc mesa/st: Implement GL_TIME_ELAPSED w/ PIPE_QUERY_TIMESTAMP.
ARB/EXT_timer_query's definition of GL_TIME_ELAPSED match precisely the
subtraction of two GL_TIMESTAMP queries.

And for a lot of drivers, that's precisely how they have to implement
internally -- by emitting two hardware timestamp queries.

So, to simplify driver implementation, simply allow doing so in the state
tracker.

Eventually if no driver implements PIPE_QUERY_TIME_ELAPSED then we could
retire it.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
2012-12-20 16:33:49 +00:00
..
egl egl/wayland: Dispatch the event queue before get_buffers 2012-11-30 17:05:50 -05:00
gallium gallium: s/PIPE_CAP_TIMER_QUERY/PIPE_CAP_QUERY_TIME_ELAPSED/ 2012-12-20 16:33:49 +00:00
gbm gbm: Use the kms dumb ioctls for cursor instead of libkms 2012-10-21 13:00:49 -04:00
getopt
glsl glsl: Fix gl_context vs. ralloc context in check_version again, again. 2012-12-17 11:20:53 -08:00
glx glx/dri2: set the __DRI2_FLUSH_DRAWABLE flag where it should be set 2012-12-07 14:19:28 +01:00
gtest build: Fix gtest out-of-tree build 2012-08-14 10:54:39 -07:00
mapi mesa: assert if driver did not compute the version 2012-12-16 15:30:28 -08:00
mesa mesa/st: Implement GL_TIME_ELAPSED w/ PIPE_QUERY_TIMESTAMP. 2012-12-20 16:33:49 +00:00
.gitignore automake: Convert src/Makefile to automake. 2012-06-11 09:28:00 -07:00
Makefile.am automake: Convert src/Makefile to automake. 2012-06-11 09:28:00 -07:00
SConscript Remove libGLU 2012-08-31 10:58:15 -07:00