st/egl: Properly convert vrefresh to refresh rate.
authorChia-I Wu <olv@lunarg.com>
Sun, 21 Feb 2010 02:11:54 +0000 (10:11 +0800)
committerChia-I Wu <olv@lunarg.com>
Sun, 21 Feb 2010 02:22:08 +0000 (10:22 +0800)
commitdbaa84515318c3cf1d4be67fc10ca3bd6bc00e0f
treefa9d1853e5e02e6b1dd15fc1f879a530783ffb66
parent5d4d54574ffb73ecafd44bc533556608f3ab9ffa
st/egl: Properly convert vrefresh to refresh rate.

Some kernels have vrefresh = (refresh rate * 1000) while others don't.
Use some heuristics here.
src/gallium/state_trackers/egl/kms/native_kms.c