Remove gpu-side clip mask merging from clip mask manager
authorrobertphillips <robertphillips@google.com>
Wed, 28 Oct 2015 18:01:41 +0000 (11:01 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 28 Oct 2015 18:01:41 +0000 (11:01 -0700)
commit544b9aa9e77389034f207601508cc2e46d08d6e6
tree5d084e1809fe5c52a2885f335db11d44d360c91e
parentd5fa77ff6a0da93c613e8fc556d96197005ff768
Remove gpu-side clip mask merging from clip mask manager

In the clip mask merging path, the CMM creates new renderTargets and draws to them. In the non-MDB world this is okay b.c. all the draws land in the same drawTarget anyway. In the MDB world the draws for the new renderTargets have to land in different drawTargets.

This can be resolved by a lot of plumbing and refactoring to create drawContexts for the created renderTargets or by removing the mask-merging drawing path.

Since, https://codereview.chromium.org/1424853002/ (Disable gpu-side clip mask merging in the clip mask manager), appears to have stuck, this CL removes the clip mask merging code.

BUG=skia:4094
BUG=skia:4519

Review URL: https://codereview.chromium.org/1418073005
src/gpu/GrClipMaskManager.cpp
src/gpu/GrClipMaskManager.h