aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrGpu.h
diff options
context:
space:
mode:
authorGravatar cdalton <cdalton@nvidia.com>2014-11-25 11:00:56 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-11-25 11:00:56 -0800
commit55b24afc178e641e17a5664beba7ab2b4982c91a (patch)
treebfffa193f40098e0416ca05a629bd1afc2aee304 /src/gpu/GrGpu.h
parentb116619028ea826b322919d176d9c87f9569d8e7 (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.h7
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) {