diff options
author | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2014-06-16 14:27:24 +0200 |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2014-06-17 11:59:44 +0200 |
commit | 5dd7b370c8880971e798d656b5c2d4e0e5a1538f (patch) | |
tree | 73deab37f056d1ecd83e17a1cd6c649cb615afca /src/core/chromium_overrides.h | |
parent | 8159f0b7baee0d52d7c743c6b96f36d1fb61cdac (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 'src/core/chromium_overrides.h')
0 files changed, 0 insertions, 0 deletions