Don't assume rendering complete before buffer latch
authorMark Adams <marka@nvidia.com>
Mon, 4 Dec 2017 22:26:54 +0000 (17:26 -0500)
committerMark Adams <marka@nvidia.com>
Tue, 12 Dec 2017 15:08:56 +0000 (10:08 -0500)
commitde0fb6a9def82d8892beb263a486393aafa37288
treea128f886174a5b439f88d28c63cc4469b5078ac9
parenta48a3c349e078ed072e334116d02980e7adad76f
Don't assume rendering complete before buffer latch

It's valid for the buffer to latch before rendering is completed, and
this is causing intermittent failures.

Bug: b/69981429

Test: --deqp-case=dEQP-EGL*get_frame_timestamps*

(cherry picked from commit 9e0214cf61df1109927f8f23dd5749735057eb30)

Change-Id: Ia9f1d0e4ffa7f3e16a46fc4566157a651d1b0601
modules/egl/teglGetFrameTimestampsTests.cpp