Auto merge of #1613 - glennw:clip-mask-opt, r=kvark
Auto merge of #1613 - glennw:clip-mask-opt, r=kvark

When creating a clip mask, only include relevant masks.

This ensures that the allocated rectangle for a clip mask
is not bigger than it needs to be, and is a very significant
GPU time optimization on some pages.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/1613)
<!-- Reviewable:end -->

servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender