commit | eba8c688f633f3f3f1b75c2bc64faf799dd2b5f2 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Wed Sep 19 23:14:45 2012 -0700 |
committer | Mathias Agopian <mathias@google.com> | Thu Sep 20 17:13:58 2012 -0700 |
tree | d23f60dda45baabf8080df7dbd5ec418d69a1991 | |
parent | f33e4b6f13bc3ee2d2a4e1abd1ada171c70d3492 [diff] [blame] |
calculate wether we filter on a per-display basis Change-Id: I79d80b432b20b3d02428da19add464ac1e2b9378
diff --git a/services/surfaceflinger/LayerBase.cpp b/services/surfaceflinger/LayerBase.cpp index 99cb8f3..5ae0ee0 100644 --- a/services/surfaceflinger/LayerBase.cpp +++ b/services/surfaceflinger/LayerBase.cpp
@@ -87,6 +87,10 @@ mDrawingState = mCurrentState; } +bool LayerBase::needsFiltering(const sp<const DisplayDevice>& hw) const { + return mNeedsFiltering || hw->needsFiltering(); +} + void LayerBase::commitTransaction() { mDrawingState = mCurrentState; }