diff options
author | 2010-05-26 22:08:52 -0700 | |
---|---|---|
committer | 2010-05-26 22:10:04 -0700 | |
commit | 923770333574fd71674781a9a62f40e8acaf5ef1 (patch) | |
tree | f7ac29b5c4b207305d9c3972d763009a20f8cb3f /libs/surfaceflinger/LayerBuffer.cpp | |
parent | 663baddda9de01d0a7eccffaeb7ce39899e95146 (diff) |
Make sure to use filtering while in fixed-size mode
Diffstat (limited to 'libs/surfaceflinger/LayerBuffer.cpp')
-rw-r--r-- | libs/surfaceflinger/LayerBuffer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/surfaceflinger/LayerBuffer.cpp b/libs/surfaceflinger/LayerBuffer.cpp index dfcc80fb83ec..1fc982c2141b 100644 --- a/libs/surfaceflinger/LayerBuffer.cpp +++ b/libs/surfaceflinger/LayerBuffer.cpp @@ -118,7 +118,7 @@ uint32_t LayerBuffer::doTransaction(uint32_t flags) source->onTransaction(flags); uint32_t res = LayerBase::doTransaction(flags); // we always want filtering for these surfaces - mUseLinearFiltering = !(mFlags & DisplayHardware::SLOW_CONFIG); + mNeedsFiltering = !(mFlags & DisplayHardware::SLOW_CONFIG); return res; } @@ -542,7 +542,7 @@ status_t LayerBuffer::BufferSource::initTempBuffer() const // figure out if we need linear filtering if (buffers.w * h == buffers.h * w) { // same pixel area, don't use filtering - mLayer.mUseLinearFiltering = false; + mLayer.mNeedsFiltering = false; } // Allocate a temporary buffer and create the corresponding EGLImageKHR |