diff options
Diffstat (limited to 'services/surfaceflinger/LayerBase.h')
| -rw-r--r-- | services/surfaceflinger/LayerBase.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/services/surfaceflinger/LayerBase.h b/services/surfaceflinger/LayerBase.h index d688f65..633df96 100644 --- a/services/surfaceflinger/LayerBase.h +++ b/services/surfaceflinger/LayerBase.h @@ -185,7 +185,9 @@ public: /** * needsLinearFiltering - true if this surface needs filtering */ - virtual bool needsFiltering() const { return mNeedsFiltering; } + virtual bool needsFiltering() const { + return (!(mFlags & DisplayHardware::SLOW_CONFIG)) && mNeedsFiltering; + } /** * isSecure - true if this surface is secure, that is if it prevents |
