Make GrReducedClip's gen ID only apply to the element list
authorcsmartdalton <csmartdalton@google.com>
Wed, 17 Aug 2016 16:39:38 +0000 (09:39 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 17 Aug 2016 16:39:38 +0000 (09:39 -0700)
commit8d3f92a92be713cedfee48e01987264bd4f3083f
tree04c8654c7ba35d1111fb1533bdc9e61407a79181
parentd092ffd5a89906ced1387b41c224ae7d9446ff0f
Make GrReducedClip's gen ID only apply to the element list

Renames fGenID to fElementsGenID and designates this value as
undefined when when the element list is empty.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2244223004

Review-Url: https://codereview.chromium.org/2244223004
src/gpu/GrClipStackClip.cpp
src/gpu/GrReducedClip.cpp
src/gpu/GrReducedClip.h
tests/ClipStackTest.cpp