QGraphicsContext setViewport
authorPaul Lemire <paul.lemire@kdab.com>
Wed, 16 Apr 2014 14:12:13 +0000 (16:12 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 19 Apr 2014 12:54:56 +0000 (14:54 +0200)
commite156c80bc0940457a9d0f1569d9d8cb772a1e352
treec3640bede1b1e0c1c3bf6835c3d1dea282d0f65c
parent6efff8ed65dcebdc5a54f2d0ed58aeb6696da6a3
QGraphicsContext setViewport

Allows to set the viewport independently of the camera. The Viewport
used to be set in the Camera. With the FrameGraph, the Viewport is
now independent of the Camera. This required a few modification the
QGraphicsContext.

Change-Id: I15899a6ba43ab8bd43cc0dc7c1361c9097216129
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
src/render/backend/qgraphicscontext.cpp
src/render/backend/qgraphicscontext.h
src/render/backend/rendercamera.h