summaryrefslogtreecommitdiffstats
path: root/libs/surfaceflinger
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-11-19 15:44:13 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-11-19 15:44:13 -0800
commit74a331b5dd1d39da44b608743c36ab3523f598d2 (patch)
tree2ec6973d00db87138c752a356c6dc815a941731b /libs/surfaceflinger
parentf854e0770207e93ef9d1bf6d50ed18537a107ca4 (diff)
parent4c29c9487e47c5f0a23790e670dc3dc7a215d04c (diff)
downloadframeworks_base-74a331b5dd1d39da44b608743c36ab3523f598d2.zip
frameworks_base-74a331b5dd1d39da44b608743c36ab3523f598d2.tar.gz
frameworks_base-74a331b5dd1d39da44b608743c36ab3523f598d2.tar.bz2
Merge change I4c29c948 into eclair
* changes: fix [2269022] The raw picture displayed post shutter seems to have low-resolution
Diffstat (limited to 'libs/surfaceflinger')
-rw-r--r--libs/surfaceflinger/LayerBuffer.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/surfaceflinger/LayerBuffer.cpp b/libs/surfaceflinger/LayerBuffer.cpp
index 28d7c48..88ef7e4 100644
--- a/libs/surfaceflinger/LayerBuffer.cpp
+++ b/libs/surfaceflinger/LayerBuffer.cpp
@@ -118,7 +118,12 @@ uint32_t LayerBuffer::doTransaction(uint32_t flags)
sp<Source> source(getSource());
if (source != 0)
source->onTransaction(flags);
- return LayerBase::doTransaction(flags);
+ uint32_t res = LayerBase::doTransaction(flags);
+ // we always want filtering for these surfaces
+ if (!(mFlags & DisplayHardware::SLOW_CONFIG)) {
+ mUseLinearFiltering = true;
+ }
+ return res;
}
void LayerBuffer::unlockPageFlip(const Transform& planeTransform,