Add GrOp::wasRecorded and use in instanced rendering for tracking.
authorBrian Salomon <bsalomon@google.com>
Mon, 6 Mar 2017 21:36:49 +0000 (16:36 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Tue, 7 Mar 2017 18:34:10 +0000 (18:34 +0000)
commitd543e0a835002cc423de0d09c86eea99a0c0a2ba
treeba384d0f7785a184897a79cda88e9b946b56c1f9
parente9ed07de16de59959d18ab56a8f62b66f210955d
Add GrOp::wasRecorded and use in instanced rendering for tracking.

BUG=skia:

Change-Id: I4c5cdf47d42b7adae3649c7f96caabe68f45acbf
Reviewed-on: https://skia-review.googlesource.com/9308
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Chris Dalton <csmartdalton@google.com>
src/gpu/GrRenderTargetOpList.cpp
src/gpu/instanced/InstancedRendering.cpp
src/gpu/instanced/InstancedRendering.h
src/gpu/ops/GrOp.h