From 71e83e1202dc87afde9c0c31f31c129f3f99263f Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Tue, 4 Sep 2012 20:25:39 -0700 Subject: [PATCH] the visibleRegion was never set in hwcomposer Bug: 7089478 Change-Id: I13b031b23ce908d33f431a04e1cf87831b551260 --- services/surfaceflinger/Layer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp index f928805dd..f39de4a17 100644 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp @@ -276,10 +276,10 @@ void Layer::setGeometry( void Layer::setPerFrameData(const sp& hw, HWComposer::HWCLayerInterface& layer) { - const sp& buffer(mActiveBuffer); + LayerBaseClient::setPerFrameData(hw, layer); // NOTE: buffer can be NULL if the client never drew into this // layer yet, or if we ran out of memory - layer.setBuffer(buffer); + layer.setBuffer(mActiveBuffer); } void Layer::setAcquireFence(const sp& hw,