Changed STEREO_HORIZONTAL view mode to work with landscape orientation 09/25709/5
authorFerran Sole <ferran.sole@samsung.com>
Fri, 8 Aug 2014 13:03:00 +0000 (14:03 +0100)
committerFerran Sole <ferran.sole@samsung.com>
Tue, 12 Aug 2014 09:42:19 +0000 (10:42 +0100)
commitf7ab8a90317658a2306d43d94ff3409f23c9fec3
tree44e42bc30c4981101eb25b55ac3b96361179f6f8
parent9ec8333cc04a6d48814f9c7840f82dc26e84480e
Changed STEREO_HORIZONTAL view mode to work with landscape orientation

On Stereo horizontal mode, the left and right images are now rendered to be viewed in landscape mode
preserving aspect ratio. Also fixed bug which caused to incorrectly reuse render list when camera was
different to the one used to update the render list before.

To set STEREO_HORIZONTAL mode, use '--view 1' as a command-line argument.

Change-Id: I7943b31bc6349c2a70244e86b4b0762e6bdb7ea0
12 files changed:
dali/internal/event/actor-attachments/camera-attachment-impl.cpp
dali/internal/event/actor-attachments/camera-attachment-impl.h
dali/internal/event/actors/camera-actor-impl.cpp
dali/internal/event/actors/camera-actor-impl.h
dali/internal/event/common/stage-impl.cpp
dali/internal/update/manager/prepare-render-instructions.cpp
dali/internal/update/node-attachments/scene-graph-camera-attachment.cpp
dali/internal/update/node-attachments/scene-graph-camera-attachment.h
dali/internal/update/nodes/scene-graph-layer.cpp
dali/internal/update/nodes/scene-graph-layer.h
dali/internal/update/render-tasks/scene-graph-render-task.cpp
dali/internal/update/render-tasks/scene-graph-render-task.h