diff options
Diffstat (limited to 'libs/surfaceflinger/LayerBase.h')
-rw-r--r-- | libs/surfaceflinger/LayerBase.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/surfaceflinger/LayerBase.h b/libs/surfaceflinger/LayerBase.h index 569b0ff2e58c..6d7859ac2123 100644 --- a/libs/surfaceflinger/LayerBase.h +++ b/libs/surfaceflinger/LayerBase.h @@ -177,6 +177,11 @@ public: virtual bool needsDithering() const { return false; } /** + * needsLinearFiltering - true if this surface needs filtering + */ + virtual bool needsFiltering() const { return mNeedsFiltering; } + + /** * transformed -- true is this surface needs a to be transformed */ virtual bool transformed() const { return mTransformed; } @@ -232,7 +237,7 @@ protected: // cached during validateVisibility() bool mTransformed; - bool mUseLinearFiltering; + bool mNeedsFiltering; int32_t mOrientation; GLfloat mVertices[4][2]; Rect mTransformedBounds; |