2 * Copyright 2007-2011, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
5 #ifndef _CREATE_DISPLAY_MODES_H
6 #define _CREATE_DISPLAY_MODES_H
11 #include <Accelerant.h>
12 #include <GraphicsDefs.h>
15 typedef bool (*check_display_mode_hook
)(display_mode
* mode
);
21 area_id
create_display_modes(const char* name
, edid1_info
* edid
,
22 const display_mode
* initialModes
, uint32 initialModeCount
,
23 const color_space
* spaces
, uint32 spacesCount
,
24 check_display_mode_hook hook
, display_mode
** _modes
, uint32
* _count
);
26 void fill_display_mode(uint32 width
, uint32 height
, display_mode
* mode
);
32 #endif /* _CREATE_DISPLAY_MODES_H */