aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/thinrects.cpp
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-03-25 11:59:40 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-03-25 11:59:40 +0000
commit9b62aa156bcf1db6f11af9302bf8bb8ef2567142 (patch)
treedae7097b678bfcd382993b53ba9808ae9438aa57 /gm/thinrects.cpp
parent5c260f41af0af0d6bbfa9268664ac361a5ddc1e0 (diff)
Make 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. R=jvanverth@google.com, bsalomon@google.com Author: kkinnunen@nvidia.com Review URL: https://codereview.chromium.org/209413006 git-svn-id: http://skia.googlecode.com/svn/trunk@13930 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/thinrects.cpp')
0 files changed, 0 insertions, 0 deletions