summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Lloyd Pique <lpique@google.com> 2019-10-03 11:54:27 -0700
committer Lloyd Pique <lpique@google.com> 2019-10-03 19:31:46 +0000
commit7a234910c213658d640cbff334c7e23e6b65f0a4 (patch)
tree84ef817da3ae5a3b3788bc8c64c0561a2d230b36 /libs/gui/ConsumerBase.cpp
parentadca95f855679413b02d78f6e2927cd8cbdff8be (diff)
SF: Dev Options should force client composition for all frames
While there was some code which tried to force it, it turned out that if there was a geometry refresh for a frame, the flag would be cleared after being set. It would then be forced on subsequent frames assuming there were no geometry updates then. This was caught by the libsurfaceflinger_unittest I was trying to add, which caught it when it was re-run after I moved more code to CompositionEngine. This patch moves where the flag is set to after where it was being cleared, which meant adding a parameter, and adding a bit more unit test coverage for the revised function. Test: atest libsurfaceflinger_unittest # With added test there Test: atest libcompositionengine_test # With added test there Bug: None Change-Id: I4b96b21cdd4fe280f0943051962d3473e9113851 Merged-In: I4b96b21cdd4fe280f0943051962d3473e9113851
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions