2013-01-14 20:28:26 +01:00
|
|
|
/****************************************************************************
|
|
|
|
****************************************************************************
|
|
|
|
***
|
|
|
|
*** This header was automatically generated from a Linux kernel header
|
|
|
|
*** of the same name, to make information necessary for userspace to
|
|
|
|
*** call into the kernel available to libc. It contains only constants,
|
|
|
|
*** structures, and macros generated from the original header, and thus,
|
|
|
|
*** contains no copyrightable information.
|
|
|
|
***
|
|
|
|
*** To edit the content of this header, modify the corresponding
|
|
|
|
*** source file (e.g. under external/kernel-headers/original/) then
|
|
|
|
*** run bionic/libc/kernel/tools/update_all.py
|
|
|
|
***
|
|
|
|
*** Any manual change here will be lost the next time this script will
|
|
|
|
*** be run. You've been warned!
|
|
|
|
***
|
|
|
|
****************************************************************************
|
|
|
|
****************************************************************************/
|
2013-10-17 01:09:24 +02:00
|
|
|
#ifndef _DRM_SAREA_H_
|
|
|
|
#define _DRM_SAREA_H_
|
|
|
|
#include <drm/drm.h>
|
|
|
|
#ifdef __alpha__
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
#define SAREA_MAX 0x2000U
|
|
|
|
#elif defined(__mips__)
|
|
|
|
#define SAREA_MAX 0x4000U
|
|
|
|
#elif defined(__ia64__)
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
#define SAREA_MAX 0x10000U
|
|
|
|
#else
|
|
|
|
#define SAREA_MAX 0x2000U
|
|
|
|
#endif
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
#define SAREA_MAX_DRAWABLES 256
|
|
|
|
#define SAREA_DRAWABLE_CLAIMED_ENTRY 0x80000000
|
|
|
|
struct drm_sarea_drawable {
|
|
|
|
unsigned int stamp;
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
unsigned int flags;
|
|
|
|
};
|
|
|
|
struct drm_sarea_frame {
|
|
|
|
unsigned int x;
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
unsigned int y;
|
|
|
|
unsigned int width;
|
|
|
|
unsigned int height;
|
|
|
|
unsigned int fullscreen;
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
};
|
|
|
|
struct drm_sarea {
|
|
|
|
struct drm_hw_lock lock;
|
|
|
|
struct drm_hw_lock drawable_lock;
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
struct drm_sarea_drawable drawableTable[SAREA_MAX_DRAWABLES];
|
|
|
|
struct drm_sarea_frame frame;
|
|
|
|
drm_context_t dummy_context;
|
|
|
|
};
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
typedef struct drm_sarea_drawable drm_sarea_drawable_t;
|
|
|
|
typedef struct drm_sarea_frame drm_sarea_frame_t;
|
|
|
|
typedef struct drm_sarea drm_sarea_t;
|
2013-01-14 20:28:26 +01:00
|
|
|
#endif
|
2013-10-17 01:09:24 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|