Changes to support stereoscopic 3D
[platform/core/uifw/dali-core.git] / dali / public-api / common / view-mode.h
1 #ifndef __DALI_VIEW_MODE_H__
2 #define __DALI_VIEW_MODE_H__
3
4 //
5 // Copyright (c) 2014 Samsung Electronics Co., Ltd.
6 //
7 // Licensed under the Flora License, Version 1.0 (the License);
8 // you may not use this file except in compliance with the License.
9 // You may obtain a copy of the License at
10 //
11 //     http://floralicense.org/license/
12 //
13 // Unless required by applicable law or agreed to in writing, software
14 // distributed under the License is distributed on an AS IS BASIS,
15 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 // See the License for the specific language governing permissions and
17 // limitations under the License.
18 //
19
20 namespace Dali
21 {
22
23 /**
24  * Stereoscopic view modes
25  */
26 enum ViewMode
27 {
28   MONO,              ///< Monoscopic (single camera). This is the default
29   STEREO_HORIZONTAL, ///< Stereoscopic. Frame buffer is split horizontally with the left and right camera views in their respective sides.
30   STEREO_VERTICAL,   ///< Stereoscopic. Frame buffer is split vertically with the left camera view at the top and the right camera view at the bottom.
31   STEREO_INTERLACED  ///< Stereoscopic. Left/Right camera views are rendered into the framebuffer on alternate frames.
32 };
33
34 } // namespace Dali
35
36 #endif // __DALI_VIEW_MODE_H__