[platforms/hwcomposer] Set value of surfaceDamage.numRects to 0
Newer hwcomposer implementation seem to require this. This additional
fix is required in addition to 54565a94bd
for newer hwcomposer
interface.
This commit is contained in:
parent
fc887ab907
commit
48590783fa
1 changed files with 3 additions and 0 deletions
|
@ -417,6 +417,9 @@ static void initLayer(hwc_layer_1_t *layer, const hwc_rect_t &rect, int layerCom
|
|||
layer->acquireFenceFd = -1;
|
||||
layer->releaseFenceFd = -1;
|
||||
layer->planeAlpha = 0xFF;
|
||||
#ifdef HWC_DEVICE_API_VERSION_1_5
|
||||
layer->surfaceDamage.numRects = 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
HwcomposerWindow::HwcomposerWindow(HwcomposerBackend *backend)
|
||||
|
|
Loading…
Reference in a new issue