OSDN Git Service

Disable dithering by default for the sake of performance.
authorKan-Ru Chen <kanru@0xlab.org>
Fri, 2 Apr 2010 09:18:16 +0000 (17:18 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 5 Aug 2011 08:30:03 +0000 (16:30 +0800)
commit1d567f194f6c114eb4ac161ac1076cca1a0077bb
tree97019c36292ee4eed58ab7e24f21fa9a02d99eba
parent91bfc0e4bf317aaca4b233337e0740cbf996f871
Disable dithering by default for the sake of performance.

This is a workaround for the performance drop on Eclair. Enabling
dithering prevents the fast path in software renderer implementation
thus the performance drops drastically.

Disabling dithering has small impact on the rendering result, but the
performance boosts a lot.
services/surfaceflinger/Layer.cpp