eglGetFrameTimestamps: Allow reads done to equal rendering complete.
authorBrian Anderson <brianderson@google.com>
Tue, 17 Oct 2017 19:17:40 +0000 (12:17 -0700)
committerBrian Anderson <brianderson@google.com>
Tue, 17 Oct 2017 21:38:15 +0000 (14:38 -0700)
commit28d0935412adb59b528a41a8a2123d02ce51bd45
tree427639e12aaaeaf262fb57aa4c58aa412285a78c
parentda231f19abbe6eafee0d1ac3d35351d281998a05
eglGetFrameTimestamps: Allow reads done to equal rendering complete.

If there are no reads performed by the compositor, it is possible
for reads done timestamp to be the same as the rendering complete
timestamp.

Also add and use check_lt and check_le, to print out more detailed
debug info in the results.

Test: --deqp-case=dEQP-EGL*get_frame_timestamps*
Change-Id: I258562806aab2f44e91f2aafa1e7a00f4d522959
modules/egl/teglGetFrameTimestampsTests.cpp