aboutsummaryrefslogtreecommitdiff
path: root/include/linux/EGL/fbdev_window.h
diff options
context:
space:
mode:
authorAnthony Barbier <anthony.barbier@arm.com>2017-12-14 16:27:41 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:42:33 +0000
commit14c86a9246202c0c928c03cf6886dde134fba525 (patch)
treec7b670b52fb257f133f02ff74894ba461336828d /include/linux/EGL/fbdev_window.h
parent08c5a06e2b49df0d7912deedd6d26d2c603cfe58 (diff)
downloadComputeLibrary-14c86a9246202c0c928c03cf6886dde134fba525.tar.gz
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 <bsgcomp@arm.com> Reviewed-by: Jim He <jim.he@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'include/linux/EGL/fbdev_window.h')
-rw-r--r--include/linux/EGL/fbdev_window.h50
1 files changed, 50 insertions, 0 deletions
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