OSDN Git Service

Don't invalidate the whole cache in case layer z-order has changed.
authorKalyan Kondapally <kalyan.kondapally@intel.com>
Tue, 15 May 2018 07:34:13 +0000 (00:34 -0700)
committerKalyan Kondapally <kalyan.kondapally@intel.com>
Tue, 15 May 2018 09:07:20 +0000 (02:07 -0700)
commit6779162bbf211cc02cb9ec7acef2c8224c75545e
tree40fd07b187e326c02f2368e81bacec402f81b1ce
parent5376de5177498f6b22a9d65bc7b17fe096dd1e08
Don't invalidate the whole cache in case layer z-order has changed.

Instead let's revalidate and ensure the new layer-plane combination
is valid first. If this fails, we anyway fall back to re-validate
the whole cache.

Jira: None.
Test: No commit failures seen when moving between views/apps on
      Android.

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