blob: f5f90b537011621ed10dbb72477c2b5b4bf1c7ff [file] [log] [blame]
Anthony Barbier7068f992017-10-26 15:23:08 +01001/* vim:set sts=4 ts=4 noexpandtab: */
2/*
3 * This confidential and proprietary software may be used only as
4 * authorised by a licensing agreement from ARM Limited
5 * (C) COPYRIGHT 2008,2009 ARM Limited
6 * ALL RIGHTS RESERVED
7 * The entire notice above must be reproduced on all authorised
8 * copies and copies may only be made to the extent permitted
9 * by a licensing agreement from ARM Limited.
10 */
11
12#ifndef _FBDEV_WINDOW_H_
13#define _FBDEV_WINDOW_H_
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19typedef enum
20{
21 FBDEV_PIXMAP_SUPPORTS_UMP = (1<<0)
22} fbdev_pixmap_flags;
23
24typedef struct fbdev_window
25{
26 unsigned short width;
27 unsigned short height;
28} fbdev_window;
29
30typedef struct fbdev_pixmap
31{
32 unsigned int height;
33 unsigned int width;
34 unsigned int bytes_per_pixel;
35 unsigned char buffer_size;
36 unsigned char red_size;
37 unsigned char green_size;
38 unsigned char blue_size;
39 unsigned char alpha_size;
40 unsigned char luminance_size;
41 fbdev_pixmap_flags flags;
42 unsigned short *data;
43} fbdev_pixmap;
44
45#ifdef __cplusplus
46}
47#endif
48
49
50#endif