DescriptionCalculate the refresh period from GLX_OML_sync_control.
glXGetSyncValuesOML gives us a count of the number of refreshes that have occurred (media stream counter). We can use this and the time between successive UST counters to measure the period of the screen refresh.
BUG=none
TEST=by hand on stumpy and alex using xrandr to force different refresh rates
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175234
Patch Set 1 #Patch Set 2 : More sanity checking. #
Total comments: 2
Patch Set 3 : Address reviewer comments. #Patch Set 4 : gcc compile fix #
Total comments: 6
Patch Set 5 : Address reviewer comments. #Messages
Total messages: 12 (0 generated)
|