OSDN Git Service

libhwc2on1adapter: avoid marking changes if visible regions unchanged
authorAdrian Salido <salidoa@google.com>
Tue, 19 Sep 2017 01:48:47 +0000 (18:48 -0700)
committerAdrian Salido <salidoa@google.com>
Wed, 20 Sep 2017 21:52:19 +0000 (14:52 -0700)
commitd4ca64ef756f255d76b00964e24f24bcbebb56df
tree2cc5034410b55e64f1778b819c5ddfd868c15d0a
parent089038395773ea1af27f6063ab090649cd1df2ed
libhwc2on1adapter: avoid marking changes if visible regions unchanged

The function setVisibleRegions is always called as part of composition,
shouldn't mark geometry changed if there are no changes in the visible
regions.

Bug: 65019874
Test: run cts -m CtsViewTestCases -t android.view.cts.DisplayRefreshRateTest#testRefreshRate
Change-Id: I3f93431002fc4b691c799f4ae91aa1488849e4a6
libs/hwc2on1adapter/HWC2On1Adapter.cpp