xref: /haiku/headers/private/graphics/radeon/accelerant_ext.h (revision 67bce78b48ed6d01b5a8eef89f5694c372b7e0a1)
1 /*
2 	Copyright (c) 2002, Thomas Kurschel
3 
4 
5 	Part of Radeon accelerant
6 
7 	additional accelerant interface definitions
8 */
9 
10 
11 #ifndef _ACCELERANT_EXT_H
12 #define _ACCELERANT_EXT_H
13 
14 
15 // additional timing flags for GetMode/SetMode
16 enum {
17 	RADEON_MODE_STANDARD = 0 << 16,
18 	RADEON_MODE_MIRROR = 1 << 16,
19 	RADEON_MODE_CLONE = 2 << 16,
20 	RADEON_MODE_COMBINE = 3 << 16,
21 
22 	RADEON_MODE_MASK = 7 << 16,
23 
24 	RADEON_MODE_DISPLAYS_SWAPPED = 1 << 20,
25 
26 	// used internally
27 	RADEON_MODE_POSITION_HORIZONTAL = 0 << 21,
28 	RADEON_MODE_POSITION_VERTICAL = 1 << 21,
29 	RADEON_MODE_POSITION_MASK = 1 << 21,
30 
31 	RADEON_MODE_MULTIMON_REQUEST = 1 << 25,
32 	RADEON_MODE_MULTIMON_REPLY = 1 << 26
33 };
34 
35 // operation codes tunneled via ProposeDisplayMode
36 enum {
37 	ms_swap,
38 	ms_overlay_port
39 } multi_mon_settings;
40 
41 
42 #endif
43