hwc: Calculate viewframe from layers display frame information.

Calculate view frame of each display from the displayframe of all
the application layers.

Change-Id: I9ba4076b7b4419bd3559417fad28b4e1de6acff3
This commit is contained in:
Ramkumar Radhakrishnan
2013-12-04 15:15:42 -08:00
committed by Arun Kumar K.R
parent 0616b39ffe
commit dd38b8210c
2 changed files with 5 additions and 0 deletions

View File

@@ -437,6 +437,7 @@ struct hwc_context_t {
qhwc::LayerProp *layerProp[HWC_NUM_DISPLAY_TYPES];
qhwc::MDPComp *mMDPComp[HWC_NUM_DISPLAY_TYPES];
qhwc::HwcDebug *mHwcDebug[HWC_NUM_DISPLAY_TYPES];
hwc_rect_t mViewFrame[HWC_NUM_DISPLAY_TYPES];
qhwc::AssertiveDisplay *mAD;
qhwc::VPUClient *mVPUClient;