aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrStencilAttachment.cpp
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2017-05-25 16:56:34 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-26 18:24:42 +0000
commitae0c50c62432ba9683bf2deec567bdabb2b9f825 (patch)
treec6a0d99867e7ced24656d138a6ce7260ded6ef5e /src/gpu/GrStencilAttachment.cpp
parent95c993cd7b8fac3a28bd9eeaa741bdc511511281 (diff)
Only support SkVertices in GrDrawVerticesOp and GrRenderTargetContext
Allow overriding the primitive type at draw time, so everyone can funnel through the same code path. Simplifies the color array type logic, and saves one memcpy (of indices) in the drawWireframe case. Bug: skia: Change-Id: I46653d34169842b9b5304cff48d804b2a9ace529 Reviewed-on: https://skia-review.googlesource.com/17783 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu/GrStencilAttachment.cpp')
0 files changed, 0 insertions, 0 deletions