Add IndexType parameter to GrDrawTarget::drawPaths
authorcdalton <cdalton@nvidia.com>
Tue, 25 Nov 2014 19:00:56 +0000 (11:00 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 25 Nov 2014 19:00:56 +0000 (11:00 -0800)
commit55b24afc178e641e17a5664beba7ab2b4982c91a
treebfffa193f40098e0416ca05a629bd1afc2aee304
parentb116619028ea826b322919d176d9c87f9569d8e7
Add IndexType parameter to GrDrawTarget::drawPaths

Allows the caller to decide whether they sent 8, 16, or 32 bit path
indices.

BUG=skia:

Review URL: https://codereview.chromium.org/746253003
13 files changed:
src/gpu/GrDrawTarget.cpp
src/gpu/GrDrawTarget.h
src/gpu/GrGpu.cpp
src/gpu/GrGpu.h
src/gpu/GrInOrderDrawBuffer.cpp
src/gpu/GrInOrderDrawBuffer.h
src/gpu/GrPathRange.cpp
src/gpu/GrPathRange.h
src/gpu/GrPathRendering.h
src/gpu/GrStencilAndCoverTextContext.cpp
src/gpu/GrStencilAndCoverTextContext.h
src/gpu/gl/GrGLPathRendering.cpp
src/gpu/gl/GrGLPathRendering.h