From 14c86a9246202c0c928c03cf6886dde134fba525 Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Thu, 14 Dec 2017 16:27:41 +0000 Subject: COMPMID-557 Added some GLES documentation and rework following OOB testing Change-Id: I56333ed23d30c5ec3094f64b78a023589064fe06 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/113375 Tested-by: BSG Visual Compute Jenkins server to access repositories on http://mpd-gerrit.cambridge.arm.com Reviewed-by: Jim He Reviewed-by: Anthony Barbier --- include/linux/EGL/fbdev_window.h | 50 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 include/linux/EGL/fbdev_window.h (limited to 'include/linux/EGL/fbdev_window.h') diff --git a/include/linux/EGL/fbdev_window.h b/include/linux/EGL/fbdev_window.h new file mode 100644 index 0000000000..f5f90b5370 --- /dev/null +++ b/include/linux/EGL/fbdev_window.h @@ -0,0 +1,50 @@ +/* vim:set sts=4 ts=4 noexpandtab: */ +/* + * This confidential and proprietary software may be used only as + * authorised by a licensing agreement from ARM Limited + * (C) COPYRIGHT 2008,2009 ARM Limited + * ALL RIGHTS RESERVED + * The entire notice above must be reproduced on all authorised + * copies and copies may only be made to the extent permitted + * by a licensing agreement from ARM Limited. + */ + +#ifndef _FBDEV_WINDOW_H_ +#define _FBDEV_WINDOW_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum +{ + FBDEV_PIXMAP_SUPPORTS_UMP = (1<<0) +} fbdev_pixmap_flags; + +typedef struct fbdev_window +{ + unsigned short width; + unsigned short height; +} fbdev_window; + +typedef struct fbdev_pixmap +{ + unsigned int height; + unsigned int width; + unsigned int bytes_per_pixel; + unsigned char buffer_size; + unsigned char red_size; + unsigned char green_size; + unsigned char blue_size; + unsigned char alpha_size; + unsigned char luminance_size; + fbdev_pixmap_flags flags; + unsigned short *data; +} fbdev_pixmap; + +#ifdef __cplusplus +} +#endif + + +#endif -- cgit v1.2.1