Move HWUI boilerplate into utils/android
authortomhudson <tomhudson@google.com>
Fri, 27 Mar 2015 19:22:01 +0000 (12:22 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 27 Mar 2015 19:22:01 +0000 (12:22 -0700)
commit573ae01295241c156ff8548ded283d44864d22d2
treed141b747025817302060b9013ece827e94ffc87c
parent255dcd11992ebe74eb54202c48cf5394d33a8ce6
Move HWUI boilerplate into utils/android

Duplicate code from the HWUI backends for DM and nanobench
moves into a single place, saving a hundred lines or more of
cut-and-paste.

There's some indication that this increases the incidence of
SkCanvas "Unable to find device for layer." warnings, but no
clear degradation in test results.

R=djsollen@google.com,mtklein@google.com
BUG=skia:3589

Review URL: https://codereview.chromium.org/1036303002
bench/nanobenchAndroid.cpp
bench/nanobenchAndroid.h
dm/DMSrcSinkAndroid.cpp
gyp/utils.gyp
src/utils/android/SkHwuiRenderer.cpp [new file with mode: 0644]
src/utils/android/SkHwuiRenderer.h [new file with mode: 0644]