commit | da27af9832a0170f1fc40ef3f21371c4d30d21b3 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Thu Sep 13 18:17:13 2012 -0700 |
committer | Mathias Agopian <mathias@google.com> | Mon Sep 17 18:57:53 2012 -0700 |
tree | e4d80c394a30865c2196581ee5b23820bbcd3c41 | |
parent | cde87a3b9d3f8dc15232d927b56ee9e5e520f58d [diff] [blame] |
add support hwc 1.1 Bug: 7124069 Change-Id: I53d705105c4ad8954d3f50ee4f4c8b7ec936b871
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp index 6785ba8..569f6bb 100644 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp
@@ -523,6 +523,10 @@ } } +bool Layer::isVisible() const { + return LayerBaseClient::isVisible() && (mActiveBuffer != NULL); +} + Region Layer::latchBuffer(bool& recomputeVisibleRegions) { ATRACE_CALL();