c6cb56f36c
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 |
||
---|---|---|
.. | ||
gl | ||
GrBackendEffectFactory.h | ||
GrCacheable.h | ||
GrClipData.h | ||
GrColor.h | ||
GrConfig.h | ||
GrContext.h | ||
GrContextFactory.h | ||
GrCoordTransform.h | ||
GrDrawEffect.h | ||
GrEffect.h | ||
GrEffectStage.h | ||
GrEffectUnitTest.h | ||
GrFontScaler.h | ||
GrGlyph.h | ||
GrGpuObject.h | ||
GrKey.h | ||
GrPaint.h | ||
GrPathRendererChain.h | ||
GrRect.h | ||
GrRenderTarget.h | ||
GrSurface.h | ||
GrTBackendEffectFactory.h | ||
GrTexture.h | ||
GrTextureAccess.h | ||
GrTypes.h | ||
GrTypesPriv.h | ||
GrUserConfig.h | ||
SkGpuDevice.h | ||
SkGr.h | ||
SkGrPixelRef.h | ||
SkGrTexturePixelRef.h |