wire up incNumDraws

BUG=skia:

Review URL: https://codereview.chromium.org/1333623003
This commit is contained in:
joshualitt 2015-09-09 08:29:47 -07:00 committed by Commit bot
parent 2a24338c77
commit 336cda3fc0

View File

@ -366,5 +366,6 @@ void GrGpu::draw(const DrawArgs& args, const GrVertices& vertices) {
const GrNonInstancedVertices* verts = iter.init(vertices);
do {
this->onDraw(args, *verts);
fStats.incNumDraws();
} while ((verts = iter.next()));
}