Add standalone drawText for GrTextContext.
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 28 Jan 2014 22:02:07 +0000 (22:02 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 28 Jan 2014 22:02:07 +0000 (22:02 +0000)
commite8612d9a8d616c2ed0195421a0675e10b0c2d230
tree59eb4b70694cdd5227fac7a6e64d3248a22f4d45
parent11ea96c62ab8bd2112b51b2820b54bbd4340ffe7
Add standalone drawText for GrTextContext.

This unifies the interface between GrBitmapTextContext and
GrDistanceFieldTextContext so that they don't need special case code.
The future GrNVPRTextContext will also use this interface.

BUG=skia:2018
R=bsalomon@google.com, reed@google.com

Author: jvanverth@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@13227 2bbb7eff-a529-9590-31e7-b0007b416f81
include/core/SkPaint.h
include/gpu/GrBitmapTextContext.h
include/gpu/GrDistanceFieldTextContext.h
include/gpu/GrTextContext.h
include/gpu/SkGpuDevice.h
src/gpu/GrBitmapTextContext.cpp
src/gpu/GrDistanceFieldTextContext.cpp
src/gpu/GrTextContext.cpp
src/gpu/SkGpuDevice.cpp