Dirty flags
- Jul 24, 2019
-
-
Mårten Nordheim authored2314dfc4
-
- Jul 23, 2019
-
-
Mårten Nordheim authored2ebdd9bc
-
Mårten Nordheim authored
Adds a CameraDirty entry to QDemonRenderNode::Flag. It already has Orthographic, so if it should move then they can move together. Camera now stores the previous viewport and design dimensions it calculated projection with so we can avoid the calculation completely if nothing changed.
8ca28a91 -
Mårten Nordheim authored
After having initially enabled it.
b6a3064f -
Mårten Nordheim authored
Also some drive-by changes: - Remove always-true nullptr check - Only go through the loadRenderImage-branch if we were dirty
dfc49e3b -
Mårten Nordheim authored
Just a small utility to save lines when doing conditional assignment and work based on equality. Used in follow-up patches.
b939cd67
-