xref: /haiku/src/add-ons/accelerants/framebuffer/accelerant.h (revision 4a55cc230cf7566cadcbb23b1928eefff8aea9a2)
1 /*
2  * Copyright 2005-2008, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3  * Copyright 2016, Jessica Hamilton, jessica.l.hamilton@gmail.com.
4  * Distributed under the terms of the MIT License.
5  */
6 #ifndef FRAMEBUFFER_ACCELERANT_H
7 #define FRAMEBUFFER_ACCELERANT_H
8 
9 
10 #include "vesa_info.h"
11 
12 
13 typedef struct accelerant_info {
14 	int					device;
15 	bool				is_clone;
16 
17 	area_id				shared_info_area;
18 	vesa_shared_info	*shared_info;
19 
20 	area_id				mode_list_area;
21 		// cloned list of standard display modes
22 	display_mode		*mode_list;
23 	uint16				current_mode;
24 } accelerant_info;
25 
26 extern accelerant_info *gInfo;
27 
28 extern status_t create_mode_list(void);
29 
30 #endif	/* FRAMEBUFFER_ACCELERANT_H */
31