aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-08-21 03:01:17 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-08-21 03:01:17 +0000
commitab7d1713098fa88cabfa413efe29758747ec8af4 (patch)
treea0cc0ec023abe41dac25e644350d0a6d931448c9
parenta7c942d85351dd9beda8168c743e1233726aa19c (diff)
parent3bd0729e59082167d2be3745080c8b3cc29b87ec (diff)
downloaddeqp-pie-qpr1-release.tar.gz
Change-Id: I18aa969ac2c3fb846c3f1b24f3bbd587ee4c3553
-rw-r--r--modules/egl/teglGetFrameTimestampsTests.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/egl/teglGetFrameTimestampsTests.cpp b/modules/egl/teglGetFrameTimestampsTests.cpp
index 642262d2a..3c0c02f3d 100644
--- a/modules/egl/teglGetFrameTimestampsTests.cpp
+++ b/modules/egl/teglGetFrameTimestampsTests.cpp
@@ -263,7 +263,8 @@ void verifyNeighboringFrames (const FrameTimes& frame1, const FrameTimes& frame2
check_lt(result, frame1.dequeueReady, frame2.dequeueReady, "Dequeue ready times not monotonic.");
// GPU timeline.
- check_lt(result, frame1.renderingComplete, frame2.renderingComplete, "Rendering complete times not monotonic.");
+ // Same rendering complete time is fine.
+ check_le(result, frame1.renderingComplete, frame2.renderingComplete, "Rendering complete times not monotonic.");
if (timestampValid(frame1.firstCompositionGpuFinished) && timestampValid(frame2.firstCompositionGpuFinished))
check_lt(result, frame1.firstCompositionGpuFinished, frame2.firstCompositionGpuFinished, "Composition GPU work complete times not monotonic.");