CameraLens: use ParametersDirty rather than AllDirty
AllDirty would force a lot of recomputations that aren't needed.
When the CameraLens changes the only things we need to do are:
- update projection matrix in the shader and the frustum culling
Those things are performed in the RenderCommand update stage which
is triggered with ParametersDirty
Change-Id: I27241f3ec323182b19fca7e5528d851680eeec8c
Pick-to: 6.2 5.15
Reviewed-by: Mike Krus <mike.krus@kdab.com>
| commit | ca43cd97277132341676d10a515419a5390c9292 |
| parent | 294bf32c29c40e0a6c4bad018f3ea5efd62742d5 |
| author | Paul Lemire <paul.lemire@kdab.com> |
| committer | Paul Lemire <paul.lemire@kdab.com> |
| commit time | Mon, 2 Aug 2021 07:34:12 +0200 |