Move distance field font code into GrDistanceFieldTextContext.
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 19 Dec 2013 16:12:25 +0000 (16:12 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 19 Dec 2013 16:12:25 +0000 (16:12 +0000)
commit8128d8c119382279918b90ad8d80ccb3aaebb8a0
tree5b6e0de49787b72a8438a5e487e5483562147382
parent144cba079cb56229d11a2abf370b43232b5d6cc4
Move distance field font code into GrDistanceFieldTextContext.

This avoids the SkDraw path and renders the distance field glyphs directly from
GrDistanceFieldTextContext. It also disables LCD, subpixel and autohinting, and
removes the supporting code when rendering DF fonts.

R=reed@google.com, bsalomon@google.com, robertphillips@google.com

Author: jvanverth@google.com

Review URL: https://codereview.chromium.org/85653004

git-svn-id: http://skia.googlecode.com/svn/trunk@12770 2bbb7eff-a529-9590-31e7-b0007b416f81
include/core/SkDevice.h
include/core/SkDraw.h
include/core/SkPaint.h
include/gpu/GrDistanceFieldTextContext.h
src/core/SkDraw.cpp
src/core/SkDrawProcs.h
src/device/xps/SkXPSDevice.cpp
src/gpu/GrDistanceFieldTextContext.cpp
src/gpu/SkGpuDevice.cpp