summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/SurfaceFlinger.cpp
diff options
context:
space:
mode:
authorDan Stoza <stoza@google.com>2015-05-28 18:26:40 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-05-28 18:26:40 +0000
commit4808980eecf8f80bf0f033241171bf9075ba74ab (patch)
tree465765ace57c77c92d652827fb33da76f40709d7 /services/surfaceflinger/SurfaceFlinger.cpp
parente7d9e7fb23e663ca168c5149308bb63a51af6be6 (diff)
parentf008799d3753e52c10849824ff8146985ea66284 (diff)
downloadframeworks_native-4808980eecf8f80bf0f033241171bf9075ba74ab.zip
frameworks_native-4808980eecf8f80bf0f033241171bf9075ba74ab.tar.gz
frameworks_native-4808980eecf8f80bf0f033241171bf9075ba74ab.tar.bz2
am f008799d: SF: Skip render-to-texture for color transforms
* commit 'f008799d3753e52c10849824ff8146985ea66284': SF: Skip render-to-texture for color transforms
Diffstat (limited to 'services/surfaceflinger/SurfaceFlinger.cpp')
-rw-r--r--services/surfaceflinger/SurfaceFlinger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp
index c612026..1388ce8 100644
--- a/services/surfaceflinger/SurfaceFlinger.cpp
+++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -1872,9 +1872,9 @@ void SurfaceFlinger::doDisplayComposition(const sp<const DisplayDevice>& hw,
if (mDaltonize) {
colorMatrix = colorMatrix * mDaltonizer();
}
- engine.beginGroup(colorMatrix);
+ mat4 oldMatrix = engine.setupColorTransform(colorMatrix);
doComposeSurfaces(hw, dirtyRegion);
- engine.endGroup();
+ engine.setupColorTransform(oldMatrix);
}
// update the swap region and clear the dirty region