skia2/src
commit-bot@chromium.org dcb8ef9e86 Implement text rendering with NVPR
Use path rendering to render the text from outlines if supported by the
GPU. Implement this in GrStencilAndCoverTextContext by copying large
chunks of code from GrBitmapTextContext (drawText) and
GrDistanceFieldTextContext (drawPosText).

The drawing is implemented with "instanced" path drawing
functions.

Moves the creation of the "main" text context from SkGpuDevice to the
GrContext::createTextContext. This is done because the decision of which
text renderer is optimal can be made only with the internal
implementation-specific information of the context.

R=jvanverth@google.com, bsalomon@google.com

Author: kkinnunen@nvidia.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@13962 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-03-27 11:26:10 +00:00
..
animator Fix warnings on Ubuntu13 2014-02-21 20:11:42 +00:00
core Sanitizing source files in Housekeeper-Nightly 2014-03-27 03:02:48 +00:00
device/xps remove all references to legacy Config8888 2014-03-26 13:44:58 +00:00
doc Fix compilation with SK_ENABLE_INST_COUNT=1 2013-12-05 12:08:12 +00:00
effects Implement a generic matrix transform image filter. 2014-03-25 17:35:10 +00:00
fonts Clean up SkOnce usage in SkFontMgr_Indirect. 2014-03-24 18:38:25 +00:00
gpu Implement text rendering with NVPR 2014-03-27 11:26:10 +00:00
image Adding a new SkSurface factory for generating surfaces from the scratch texture pool. 2014-03-19 21:19:16 +00:00
images Upstream changes from Android 2014-02-26 21:35:17 +00:00
lazy use colortype instead of config 2014-02-20 20:55:37 +00:00
opts Allow toString capability to be toggled independent of developer mode. 2014-03-13 18:02:17 +00:00
pathops Sanitizing source files in Housekeeper-Nightly 2014-02-22 03:02:18 +00:00
pdf remove all references to legacy Config8888 2014-03-26 13:44:58 +00:00
pipe Consolidate SkCanvas matrix virtuals. 2014-03-25 17:32:26 +00:00
ports Implement a generic matrix transform image filter. 2014-03-25 17:35:10 +00:00
sfnt Fix (1 << 31) to (1u << 31) in SkOTTable_OS_2. 2014-03-12 21:41:06 +00:00
svg Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
text Fix compilation with SK_ENABLE_INST_COUNT=1 2013-12-05 12:08:12 +00:00
utils Sanitizing source files in Housekeeper-Nightly 2014-03-27 03:02:48 +00:00
views Factory methods for heap-allocated SkMaskFilter objects. 2014-02-21 10:13:32 +00:00
xml remove SK_SCALAR_IS_[FLOAT,FIXED] and assume floats 2013-12-17 16:44:46 +00:00