am 55882dea
: fix a problem where all hwc layers would have the SKIP flags set
* commit '55882dea1b1b305f15192b96ff7814f18babb212': fix a problem where all hwc layers would have the SKIP flags set
This commit is contained in:
commit
9d34129e16
@ -546,6 +546,7 @@ public:
|
||||
getLayer()->compositionType = HWC_FRAMEBUFFER;
|
||||
getLayer()->hints = 0;
|
||||
getLayer()->flags = HWC_SKIP_LAYER;
|
||||
getLayer()->handle = 0;
|
||||
getLayer()->transform = 0;
|
||||
getLayer()->blending = HWC_BLENDING_NONE;
|
||||
getLayer()->visibleRegionScreen.numRects = 0;
|
||||
|
@ -292,7 +292,6 @@ void LayerBase::setGeometry(
|
||||
|
||||
void LayerBase::setPerFrameData(const sp<const DisplayDevice>& hw,
|
||||
HWComposer::HWCLayerInterface& layer) {
|
||||
layer.setBuffer(0);
|
||||
// we have to set the visible region on every frame because
|
||||
// we currently free it during onLayerDisplayed(), which is called
|
||||
// after HWComposer::commit() -- every frame.
|
||||
|
Loading…
Reference in New Issue
Block a user