skia2/include/gpu
commit-bot@chromium.org 5c8ee2539b Make GrContext cache the gpu paths
Creating paths for nv_path_rendering is costly. Try to reduce this
cost by caching paths based on the SkPath "hash" (i.e. SkPathRef
generation id) and stroke properties.

Adds the paths to GrContext::fTextureCache instance. Later this should
be renamed and the GrContext API should reflect the nature of the cache
better.

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

Author: kkinnunen@nvidia.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@12083 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-11-01 15:23:44 +00:00
..
gl Add swapBuffer call to SkGLContextHelper. 2013-10-09 18:25:38 +00:00
GrBackendEffectFactory.h Make GPU coord transforms automatic 2013-10-02 13:04:56 +00:00
GrBitmapTextContext.h Fix for issue 1728: raster vs. gpu text draws with the wrong color 2013-10-28 15:13:50 +00:00
GrClipData.h Replace all instances of GrRect with SkRect. 2013-07-17 21:39:42 +00:00
GrColor.h Replace uses of GrAssert by SkASSERT. 2013-08-17 00:02:59 +00:00
GrConfig.h Allow specifying the max texture count on the bots 2013-10-30 17:04:16 +00:00
GrContext.h Make GrContext cache the gpu paths 2013-11-01 15:23:44 +00:00
GrContextFactory.h Replace uses of GrNoncopyable by SkNoncopyable. 2013-09-18 13:00:55 +00:00
GrCoordTransform.h Allow gradient optimization with perspective 2013-10-04 01:20:09 +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 Replace uses of GrNoncopyable by SkNoncopyable. 2013-09-18 13:00:55 +00:00
GrFontScaler.h Remove GrRefCnt.h in favor of SkRefCnt.h 2013-09-09 13:38:37 +00:00
GrGlyph.h GrAtlas cleanup: Split out GrPlot and GrAtlas 2013-09-27 19:39:38 +00:00
GrKey.h Remove GrRefCnt.h in favor of SkRefCnt.h 2013-09-09 13:38:37 +00:00
GrPaint.h Implement SkColorFilter as a GrGLEffect 2013-10-23 05:42:03 +00:00
GrPathRendererChain.h Remove GrRefCnt.h in favor of SkRefCnt.h 2013-09-09 13:38:37 +00:00
GrPoint.h Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
GrRect.h Replace all instances of GrRect with SkRect. 2013-07-17 21:39:42 +00:00
GrRenderTarget.h Replace uses of GrAssert by SkASSERT. 2013-08-17 00:02:59 +00:00
GrResource.h Sanitizing source files in Housekeeper-Nightly 2013-10-30 07:01:56 +00:00
GrSurface.h Add GrSurface::savePixels(). 2013-09-30 18:05:43 +00:00
GrTBackendEffectFactory.h Repurpose GrGLCoordTransform as GrGLProgramEffects 2013-10-03 15:17:58 +00:00
GrTextContext.h Split out GrBitmapTextContext from GrTextContext. 2013-10-16 18:15:34 +00:00
GrTexture.h Make it explicit that some validate methods are debug only 2013-10-02 16:42:21 +00:00
GrTextureAccess.h Replace uses of GrNoncopyable by SkNoncopyable. 2013-09-18 13:00:55 +00:00
GrTypes.h Implement filling a path with nv_path_rendering cover 2013-10-09 14:11:33 +00:00
GrTypesPriv.h Replace uses of GrAssert by SkASSERT. 2013-08-17 00:02:59 +00:00
GrUserConfig.h Sanitizing source files in Housekeeper-Nightly 2013-10-31 07:01:53 +00:00
SkGpuDevice.h Revert "Revert "add SK_ATTR_DEPRECATED -- will need to disable for chrome, since it triggers a warning"" 2013-10-31 17:28:30 +00:00
SkGr.h Remove uses of GR_RELEASE. 2013-09-03 23:32:08 +00:00
SkGrPixelRef.h Change undefined SkGpuRenderTarget and SkGpuTexture forward declares to GrRenderTarget and GrTexture. 2013-06-26 19:18:23 +00:00
SkGrTexturePixelRef.h Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00