Reduce window rectangles cap to 8
authorcsmartdalton <csmartdalton@google.com>
Wed, 17 Aug 2016 20:52:15 +0000 (13:52 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 17 Aug 2016 20:52:15 +0000 (13:52 -0700)
commit52d721580ee22525c285e2d13cf3975a7a1b2843
tree89aae41391efc780dc5ac68ed7dbac17f1aceb53
parent1ae57b37bd718418f564e13675b5cfebe499f7db
Reduce window rectangles cap to 8

Lowers the cap to 8 and adds a warning message if this value is ever
exceeded. The largest (only) implementation currently supports 8, so
there isn't yet reason to go higher.

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

Review-Url: https://codereview.chromium.org/2254013002
src/gpu/GrCaps.cpp
src/gpu/GrWindowRectangles.h