diff options
author | 2017-06-12 20:44:08 -0600 | |
---|---|---|
committer | 2017-06-13 14:25:21 +0000 | |
commit | f7eb015083aba8942031145736251dd32094115d (patch) | |
tree | 97ed397a5e8189b8c3600842c9be1ce1d46ab5ba /src/gpu/GrResourceProvider.h | |
parent | e93cf97175d348ce1400762bdd8d9acabdd29766 (diff) |
Add GrPrimitiveType::kLinesAdjacency
Converts GrPrimitiveType to an enum class and adds kLinesAdjacency.
Bug: skia:
Change-Id: If57d26277182aac1375e8181211ddaf7ea6d1e0a
Reviewed-on: https://skia-review.googlesource.com/19581
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'src/gpu/GrResourceProvider.h')
-rw-r--r-- | src/gpu/GrResourceProvider.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrResourceProvider.h b/src/gpu/GrResourceProvider.h index 2e9b8a824d..52d444a104 100644 --- a/src/gpu/GrResourceProvider.h +++ b/src/gpu/GrResourceProvider.h @@ -132,7 +132,7 @@ public: * Returns an index buffer that can be used to render quads. * Six indices per quad: 0, 1, 2, 0, 2, 3, etc. * The max number of quads is the buffer's index capacity divided by 6. - * Draw with kTriangles_GrPrimitiveType + * Draw with GrPrimitiveType::kTriangles * @ return the quad index buffer */ const GrBuffer* refQuadIndexBuffer() { |