mesa: a4311054c78536acba0c3006c5d2805e182fa483 (master)
$ ./autogen.sh --with-dri-drivers= --with-gallium-drivers=swrast
swrast_dri.so.tmp: undefined reference to `clock_gettime'
16f0d70ffe6d42d22b9e6b927b297e75a199aa78 is the first bad commit
Author: James Benton <email@example.com>
Date: Mon Dec 3 07:00:37 2012 +0000
llvmpipe: Implement PIPE_QUERY_TIMESTAMP and PIPE_QUERY_TIME_ELAPSED.
This required an update for the query storage in llvmpipe, there
can now be an active query per query type, so an occlusion query
can run at the same time as a time elapsed query.
Based on PIPE_QUERY_TIME_ELAPSED patch from Dave Airlie.
v2: fix up piglits for timers (also from Dave Airlie)
a) if we don't render anything the result is 0, so just
return the current time
b) add missing screen get_timestamp callback.
Signed-off-by: Dave Airlie <firstname.lastname@example.org>
Signed-off-by: José Fonseca <email@example.com>
:040000 040000 dd23bb4dce38136b225871f7d9e45735ba288f8b c67764b6789feb066882d829e66e16b7f3b7b552 M src
Created attachment 70978 [details] [review]
Add librt linking
Tested Laurent's patch successfully with r600g with mesa git version 21694b8eac.
*** Bug 57859 has been marked as a duplicate of this bug. ***
help either case?
we may need to fix the patch posted her to use CLOCK_LIB.
(In reply to comment #4)
> help either case?
> we may need to fix the patch posted her to use CLOCK_LIB.
Patch from proposed link doesn't fix the linking process. However, Laurent's patch does the trick for both 64 and 32 bit builds (cross compilation).
should be fixed in master now. reopen if not.