summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/Layer.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-09-04 20:25:39 -0700
committerMathias Agopian <mathias@google.com>2012-09-04 20:25:39 -0700
commit71e83e1202dc87afde9c0c31f31c129f3f99263f (patch)
treea4bcbf2640d5275078578e39f5f151fcd96cc41b /services/surfaceflinger/Layer.cpp
parentda8d0a5c0cf9d41915d3b106cad4aaec3e767c11 (diff)
downloadframeworks_native-71e83e1202dc87afde9c0c31f31c129f3f99263f.zip
frameworks_native-71e83e1202dc87afde9c0c31f31c129f3f99263f.tar.gz
frameworks_native-71e83e1202dc87afde9c0c31f31c129f3f99263f.tar.bz2
the visibleRegion was never set in hwcomposer
Bug: 7089478 Change-Id: I13b031b23ce908d33f431a04e1cf87831b551260
Diffstat (limited to 'services/surfaceflinger/Layer.cpp')
-rw-r--r--services/surfaceflinger/Layer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp
index f928805..f39de4a 100644
--- a/services/surfaceflinger/Layer.cpp
+++ b/services/surfaceflinger/Layer.cpp
@@ -276,10 +276,10 @@ void Layer::setGeometry(
void Layer::setPerFrameData(const sp<const DisplayDevice>& hw,
HWComposer::HWCLayerInterface& layer) {
- const sp<GraphicBuffer>& 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<const DisplayDevice>& hw,