DescriptionNew approach for GPU font atlas
In the previous code, each GrTextStrike had exclusive access to one or more GrPlots in the texture atlas. This led to poor packing when only a few glyphs were used. This change allows GrTextStrikes to share GrPlots, thereby getting much better utilization of the entire texture.
BUG=skia:2224
Committed: http://code.google.com/p/skia/source/detail?r=13636
Patch Set 1 #Patch Set 2 : Various fixes when flushing plots #Patch Set 3 : Adjust purge order for plots. Rename list pointers. #Patch Set 4 : Support distance fields #Patch Set 5 : Remove unnecessary method declarations. #
Total comments: 6
Patch Set 6 : Use SKTInternalLList instead of homebrew; address comments. #Patch Set 7 : Remove unused variable #Patch Set 8 : Remove unnecessary reference to GrAtlasMgr #
Messages
Total messages: 11 (0 generated)
|