summaryrefslogtreecommitdiffstats
path: root/tools/scripts
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-06-16 14:27:24 +0200
committerJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-06-17 11:59:44 +0200
commit5dd7b370c8880971e798d656b5c2d4e0e5a1538f (patch)
tree73deab37f056d1ecd83e17a1cd6c649cb615afca /tools/scripts
parent8159f0b7baee0d52d7c743c6b96f36d1fb61cdac (diff)
Project quads to z=0 instead of compressing them between 0 and 1
Since all quads are already separated in non-intersecting geometries and ordered according to their depth by Chromium, there is no need to keep any z value once the perspective projection has been applied. Avoid the useless computation and project the quads to z=0 the same way that QMatrix4x4::toTransform() does when used to flatten QQuickItem::transform(). Change-Id: I3ec5dc2da23cf431e2d8d0bb8b1ed48f2f2d2d8e Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'tools/scripts')
0 files changed, 0 insertions, 0 deletions