OSDN Git Service

Revalidate layers when rects change and using scalar.
authorKalyan Kondapally <kalyan.kondapally@intel.com>
Sun, 17 Dec 2017 06:13:49 +0000 (22:13 -0800)
committerKalyan Kondapally <kalyan.kondapally@intel.com>
Wed, 20 Dec 2017 23:19:47 +0000 (15:19 -0800)
commita5545635ebf660dcab8d5fd4b77a4e29d3e49f3e
treeff4eff0a0efe5e4f09794192d58009edea9d4294
parentd77ddd704986b1e89d10e236b790ec3b42f16a97
Revalidate layers when rects change and using scalar.

When using plane scalar, we need to ensure when either
display frame or source rect change the commit can still pass.
Instead of doing full validation, we first do a test commit to
check if the combination is still valid. If the test commit
fails than we fall back to full validation of layers.

Jira: None.
Test: No new regressions on Android.

Signed-off-by: Kalyan Kondapally <kalyan.kondapally@intel.com>
common/core/overlaylayer.cpp
common/core/overlaylayer.h
common/display/displayplanemanager.cpp
common/display/displayplanemanager.h
common/display/displayqueue.cpp
common/display/displayqueue.h