xref: /haiku/headers/private/graphics/radeon/accelerant_ext.h (revision db10640de90f7f9519ba2da9577b7c1af3c64f6b)
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 	// used internally
25 	RADEON_MODE_POSITION_HORIZONTAL = 0 << 21,
26 	RADEON_MODE_POSITION_VERTICAL = 1 << 21,
27 	RADEON_MODE_POSITION_MASK = 1 << 21,
28 
29 	RADEON_MODE_MULTIMON_REQUEST = 1 << 25,
30 	RADEON_MODE_MULTIMON_REPLY = 1 << 26
31 };
32 
33 // operation codes tunneled via ProposeDisplayMode
34 typedef enum {
35 	ms_swap,
36 	ms_overlay_port
37 } multi_mon_settings;
38 
39 
40 #endif
41