summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceControl.cpp
diff options
context:
space:
mode:
author Adithya Srinivasan <adsrini@google.com> 2021-04-10 00:06:04 +0000
committer Adithya Srinivasan <adsrini@google.com> 2021-04-10 01:17:34 +0000
commit82eef326561d8eb2d668f5fd4144941795a1882d (patch)
tree248704cf4da6cd8e5c10e50905da3eccc4d42118 /libs/gui/SurfaceControl.cpp
parentde27245fff35dfd2d53a68225559947018d4ead5 (diff)
Remove hwcDuration from FrameTimeline
We added hwcDuration previously to give some fixed threshold for composer. However, this isn't accurate or useful since the calls to client composition are not blocking on the GPU and hence a fixed duration threshold will not work there. Instead, we will consider the end time for SF as the time postComposition is called. This removes any ambiguity and just takes the whole CPU time (excluding postComposition) that SF ran for the frame. Bug: 169876734 Test: libsurfaceflinger_unittest Change-Id: I0e8f0b15f82d8baa884db5e9177c5696257fe11f
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions