diff options
author | 2014-11-25 11:00:56 -0800 | |
---|---|---|
committer | 2014-11-25 11:00:56 -0800 | |
commit | 55b24afc178e641e17a5664beba7ab2b4982c91a (patch) | |
tree | bfffa193f40098e0416ca05a629bd1afc2aee304 /src/gpu/GrGpu.h | |
parent | b116619028ea826b322919d176d9c87f9569d8e7 (diff) |
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
Diffstat (limited to 'src/gpu/GrGpu.h')
-rw-r--r-- | src/gpu/GrGpu.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h index 956f0835e1..b10a63f2df 100644 --- a/src/gpu/GrGpu.h +++ b/src/gpu/GrGpu.h @@ -365,10 +365,11 @@ public: const GrStencilSettings&); virtual void drawPaths(const GrOptDrawState&, const GrPathRange*, - const uint32_t indices[], - int count, - const float transforms[], + const void* indices, + GrDrawTarget::PathIndexType, + const float transformValues[], GrDrawTarget::PathTransformType, + int count, const GrStencilSettings&); static DrawType PrimTypeToDrawType(GrPrimitiveType type) { |