Avoid creating full screen clear batches when there is already one in the queue.
authorbsalomon <bsalomon@google.com>
Thu, 11 Aug 2016 18:25:33 +0000 (11:25 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 11 Aug 2016 18:25:33 +0000 (11:25 -0700)
commitfd8d013f0da10d94b43fb63002e56a3f4cd7f56d
tree05145a4e59a9a7b97aaacd182405506996c0b605
parent6372e6590924c459d88fa1fae52ff996a56ee9ab
Avoid creating full screen clear batches when there is already one in the queue.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2237633003

Review-Url: https://codereview.chromium.org/2237633003
src/gpu/GrDrawContext.cpp
src/gpu/GrDrawTarget.cpp
src/gpu/GrDrawTarget.h
src/gpu/batches/GrClearBatch.h