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 bdee05b..a4f1bb7 100644 --- a/services/surfaceflinger/LayerBase.h +++ b/services/surfaceflinger/LayerBase.h @@ -191,7 +191,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 |