commit | 63696bfc0592a0b8808aa2b1c40bcf33c656c659 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Thu Feb 07 15:20:55 2013 -0800 |
committer | Romain Guy <romainguy@google.com> | Thu Feb 07 15:20:55 2013 -0800 |
tree | e7de72c54ee549c3923138b9f45749442e9bfd65 | |
parent | 3bbacf27c0be1bae4e4483577fc89ae3113abe5d [diff] |
Don't clip when drawing a layer A layer will, by definition, clip its content already. The extra clip added by the UI toolkit/renderer is wasteful and in some situations very expensive. If a layered view is rotated, the clip will be transformed into a non-rectangular region, thus forcing the renderer to rely on the stencil buffer. The whole point of using layers is to draw efficiently so let's avoid this case. Change-Id: I813465f6468cc386b84a4d058c11a258fef8507a