summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_rast.c
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2012-12-09 10:08:13 +0000
committerJosé Fonseca <jfonseca@vmware.com>2012-12-20 16:33:49 +0000
commit3160b0b9fc2b49b0e9fe684b955eebf3691024ff (patch)
tree8125293ed921fa635998dbaefe99d639af7cb609 /src/gallium/drivers/llvmpipe/lp_rast.c
parent9976216bf699be092e14b66ba3a3ecfa3859e87f (diff)
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>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast.c')
0 files changed, 0 insertions, 0 deletions