} ToolbarType;
typedef enum {
- PR_STEREO_NONE = 0, /* do nothing */
- PR_STEREO_DUAL = 1 << 0, /* independent stereo buffers, for example nvidia opengl */
- PR_STEREO_HORIZ = 1 << 2, /* side by side */
- PR_STEREO_VERT = 1 << 3, /* above below */
- PR_STEREO_FIXED = 1 << 1, /* custom position */
- /* flags for renderer: */
- PR_STEREO_RIGHT = 1 << 4, /* render right buffer */
- PR_STEREO_ANAGLYPH = 1 << 5, /* anaglyph */
- PR_STEREO_MIRROR = 1 << 6, /* mirror */
- PR_STEREO_FLIP = 1 << 7, /* flip */
- PR_STEREO_SWAP = 1 << 8 /* swap left and right buffers */
+ PR_STEREO_NONE = 0, /* do nothing */
+ PR_STEREO_DUAL = 1 << 0, /* independent stereo buffers, for example nvidia opengl */
+ PR_STEREO_FIXED = 1 << 1, /* custom position */
+ PR_STEREO_HORIZ = 1 << 2, /* side by side */
+ PR_STEREO_VERT = 1 << 3, /* above below */
+ PR_STEREO_RIGHT = 1 << 4, /* render right buffer */
+ PR_STEREO_ANAGLYPH = 1 << 5, /* anaglyph */
+
+ PR_STEREO_MIRROR_LEFT = 1 << 6, /* mirror */
+ PR_STEREO_FLIP_LEFT = 1 << 7, /* flip */
+
+ PR_STEREO_MIRROR_RIGHT = 1 << 8, /* mirror */
+ PR_STEREO_FLIP_RIGHT = 1 << 9, /* flip */
+
+ PR_STEREO_MIRROR = PR_STEREO_MIRROR_LEFT | PR_STEREO_MIRROR_RIGHT, /* mirror mask*/
+ PR_STEREO_FLIP = PR_STEREO_FLIP_LEFT | PR_STEREO_FLIP_RIGHT, /* flip mask*/
+ PR_STEREO_SWAP = 1 << 10, /* swap left and right buffers */
+ PR_STEREO_TEMP_DISABLE = 1 << 11 /* temporarily disable stereo mode if source image is not stereo */
} PixbufRendererStereoMode;