diff options
author | Andy Nichols <andy.nichols@theqtcompany.com> | 2016-06-27 13:30:05 +0200 |
---|---|---|
committer | Andy Nichols <andy.nichols@qt.io> | 2016-06-28 10:17:47 +0000 |
commit | 261675f8a404b6d19df72a7d6c3432cc58fbafe6 (patch) | |
tree | c1b03c1b6466b74588e5c23f16be555ca4e3711c /src/quickwidgets | |
parent | a0aadc3226d99d6d950359383df596928f300001 (diff) |
Software Adaptation: Improve clip node handling
This commit solves two issues that were coming up with nested clip
nodes. The first was that determining the intersection of two or more
nested clip nodes was calculated incorrectly. This was fixed by making
sure the calculated clip region was in the correct coordinate space.
The second issue was because there was no distinction between an empty
unclipped region, and a completely clipped region. So a property was
added to specify when a RenderableNode had a clipRegion so that the
empty QRegion could be interpreted correctly. This makes sure that we
don't end up drawing nodes that were culled.
Change-Id: Id7af092f7fc6a4602b44b585b7dee14084136962
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/quickwidgets')
0 files changed, 0 insertions, 0 deletions