skia2/include/gpu
kkinnunen c6cb56f36c 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 chunks of code
from GrBitmapTextContext.

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.

Remove a windows assertion from SkScalerContext_GDI::getGDIGlyphPath.  The
GetGlyphOutlineW fails in fontmgr_match for the initial space char in the string
" [700] ...". According to MSDN, this is a known problem.  Just return that the
glyph has no path data in these cases.

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

Author: kkinnunen@nvidia.com

Review URL: https://codereview.chromium.org/196133014
2014-06-24 00:12:27 -07:00
..
gl Revert of Support using OpenGL ES context on desktop (https://codereview.chromium.org/319043005/) 2014-06-23 06:13:46 -07:00
GrBackendEffectFactory.h Revert "Remove SkThread.h from public API." 2014-05-28 20:02:17 +00:00
GrCacheable.h Cache the GrEffect used for text rendering in GrBitmapTextContext. 2014-06-19 14:13:45 -07:00
GrClipData.h SkNonCopyable should be used with private inheritance. 2014-04-07 19:34:38 +00:00
GrColor.h Remove GrIsPow2 in favor of SkIsPow2. 2014-06-06 06:35:28 -07:00
GrConfig.h Rename from "(un)lock" to "(un)map" for geometry buffers. 2014-05-07 20:51:05 +00:00
GrContext.h Implement text rendering with NVPR 2014-06-24 00:12:27 -07:00
GrContextFactory.h Revert of Support using OpenGL ES context on desktop (https://codereview.chromium.org/319043005/) 2014-06-23 06:13:46 -07:00
GrCoordTransform.h SkNonCopyable should be used with private inheritance. 2014-04-07 19:34:38 +00:00
GrDrawEffect.h Make GPU coord transforms automatic 2013-10-02 13:04:56 +00:00
GrEffect.h Implement SkColorFilter as a GrGLEffect 2013-10-23 05:42:03 +00:00
GrEffectStage.h Replace uses of GR_DEBUGCODE by SkDEBUGCODE. 2013-09-06 23:13:05 +00:00
GrEffectUnitTest.h SkNonCopyable should be used with private inheritance. 2014-04-07 19:34:38 +00:00
GrFontScaler.h Move distance field generation to the glyph cache. 2014-04-14 22:05:07 +00:00
GrGlyph.h Move GrIPoint16 to SkIPoint16 (and remove GrPoint.h) 2014-06-02 10:20:15 -07:00
GrGpuObject.h Split GrResource into GrCacheable/GrGpuObject 2014-05-02 21:38:22 +00:00
GrKey.h Remove GrRefCnt.h in favor of SkRefCnt.h 2013-09-09 13:38:37 +00:00
GrPaint.h Implement text rendering with NVPR 2014-06-24 00:12:27 -07:00
GrPathRendererChain.h Revert of r13384 (Stateful PathRenderer implementation) 2014-02-11 16:30:21 +00:00
GrRect.h Add MakeEmpty to GrIRect16 2014-04-10 18:36:19 +00:00
GrRenderTarget.h Split GrResource into GrCacheable/GrGpuObject 2014-05-02 21:38:22 +00:00
GrSurface.h hide SkBitmap::setConfig 2014-06-09 19:52:07 -07:00
GrTBackendEffectFactory.h Analytic rrect clip for cicular corners, radius >= 0.5 2014-02-19 15:18:05 +00:00
GrTexture.h Remove GrIsPow2 in favor of SkIsPow2. 2014-06-06 06:35:28 -07:00
GrTextureAccess.h SkNonCopyable should be used with private inheritance. 2014-04-07 19:34:38 +00:00
GrTypes.h Add LATC to alpha only pixel config 2014-06-09 08:32:34 -07:00
GrTypesPriv.h Convert GrCrash->SkFAIL GrDebugCrash->SkDEBUGFAIL 2014-04-30 14:17:00 +00:00
GrUserConfig.h Rename from "(un)lock" to "(un)map" for geometry buffers. 2014-05-07 20:51:05 +00:00
SkGpuDevice.h hide virtuals on device for width/height/isopaque 2014-06-14 04:24:57 -07:00
SkGr.h hide SkBitmap::Config entirely (behind a flag) 2014-06-17 08:38:31 -07:00
SkGrPixelRef.h switch to colortype for deepcopy 2014-06-11 06:09:50 -07:00
SkGrTexturePixelRef.h Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00