Use Analytic AA in SkAAClip.
authorliyuqian <liyuqian@google.com>
Thu, 20 Oct 2016 18:04:39 +0000 (11:04 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 20 Oct 2016 18:04:39 +0000 (11:04 -0700)
commit2add0ffdaab4c33ca6702c81533c88c7b5ca7294
tree621fdc38bda64c24dbbf7e3da6f9bb2b71120533
parented20a7096d355d23e66f48e58633e66831f3b330
Use Analytic AA in SkAAClip.

This will fix some Chrome ref tests.

The main issue here is that the SkAAClip requires: (1) we blit in order, and (2) we must forceRLE.

Note that this still depends on the global gSkUseAnalyticAA to turn on the Analytic AA.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2430343003

Review-Url: https://chromiumcodereview.appspot.com/2430343003
src/core/SkAAClip.cpp
src/core/SkAnalyticEdge.h
src/core/SkBitmapDevice.cpp
src/core/SkScan.h
src/core/SkScan_AAAPath.cpp