summaryrefslogtreecommitdiffstats
path: root/libs/surfaceflinger/SurfaceFlinger.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-09-23 19:16:27 -0700
committerMathias Agopian <mathias@google.com>2009-09-23 19:16:27 -0700
commitcc934763c3fc789f53edb64de16fc36d43c3705d (patch)
tree5e9f508326cbaa27bd1fd255324dfcd4026badbf /libs/surfaceflinger/SurfaceFlinger.cpp
parent44cac134655d5c3b2eeab2e42792c70a7aa8b92f (diff)
downloadframeworks_base-cc934763c3fc789f53edb64de16fc36d43c3705d.zip
frameworks_base-cc934763c3fc789f53edb64de16fc36d43c3705d.tar.gz
frameworks_base-cc934763c3fc789f53edb64de16fc36d43c3705d.tar.bz2
turn dithering off if it's not needed
Diffstat (limited to 'libs/surfaceflinger/SurfaceFlinger.cpp')
-rw-r--r--libs/surfaceflinger/SurfaceFlinger.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/surfaceflinger/SurfaceFlinger.cpp b/libs/surfaceflinger/SurfaceFlinger.cpp
index e87b563..a0b48d4 100644
--- a/libs/surfaceflinger/SurfaceFlinger.cpp
+++ b/libs/surfaceflinger/SurfaceFlinger.cpp
@@ -1497,11 +1497,12 @@ status_t SurfaceFlinger::dump(int fd, const Vector<String16>& args)
"+ %s %p\n"
" "
"z=%9d, pos=(%4d,%4d), size=(%4d,%4d), "
- "needsBlending=%1d, invalidate=%1d, "
+ "needsBlending=%1d, needsDithering=%1d, invalidate=%1d, "
"alpha=0x%02x, flags=0x%08x, tr=[%.2f, %.2f][%.2f, %.2f]\n",
layer->getTypeID(), layer.get(),
s.z, layer->tx(), layer->ty(), s.w, s.h,
- layer->needsBlending(), layer->contentDirty,
+ layer->needsBlending(), layer->needsDithering(),
+ layer->contentDirty,
s.alpha, s.flags,
s.transform[0], s.transform[1],
s.transform[2], s.transform[3]);