diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-11-19 15:44:13 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-11-19 15:44:13 -0800 |
commit | 48d2c6051e7906e86511f72fe938fc66180472fa (patch) | |
tree | 9ac9e2e4c8150b4775a7549a43ca0d296a258b1f | |
parent | ae5f30aed336144c4731c344bac1f8365e19c230 (diff) | |
parent | 713795a2e0d594618f45d3b83ac78a2dcbeb12e5 (diff) | |
download | frameworks_native-48d2c6051e7906e86511f72fe938fc66180472fa.zip frameworks_native-48d2c6051e7906e86511f72fe938fc66180472fa.tar.gz frameworks_native-48d2c6051e7906e86511f72fe938fc66180472fa.tar.bz2 |
Merge change I4c29c948 into eclair
* changes:
fix [2269022] The raw picture displayed post shutter seems to have low-resolution
-rw-r--r-- | libs/surfaceflinger/LayerBuffer.cpp | 7 |
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, |