DescriptionMake it possible to draw multiple paths at once to a draw target
Add interface to draw multiple paths in a single "command" to a draw
target. Implement this interface in GrGpuGL with NVPR "instanced"
calls.
The instanced calls accept list of paths and list of transformations as
their parameters. The transformations are at this moment expected to be
2d affine transformations, as the functions are called only for text
rendering.
This will be used when drawing fonts. Later it can be maybe be used in
GrInOrderDrawBuffer to aggregate many draw calls into one instanced draw
call, similar to drawing rects.
Committed: http://code.google.com/p/skia/source/detail?r=13930
Patch Set 1 #
Total comments: 5
Patch Set 2 : address review comment #
Messages
Total messages: 9 (0 generated)
|