DescriptionMake 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.
Committed: http://code.google.com/p/skia/source/detail?r=12083
Patch Set 1 #Patch Set 2 : indent #
Total comments: 10
Patch Set 3 : reupload #Patch Set 4 : making GrContext api correct #Patch Set 5 : upload the correct patch #Patch Set 6 : pre-empt #Patch Set 7 : address review comments #Patch Set 8 : a #
Total comments: 4
Patch Set 9 : address the friend -comment #Patch Set 10 : rebase #
Messages
Total messages: 15 (0 generated)
|