Android Hardware Abstraction Layer
Data Structures | Macros | Typedefs | Enumerations
hwcomposer.h File Reference
#include <stdint.h>
#include <sys/cdefs.h>
#include <hardware/gralloc.h>
#include <hardware/hardware.h>
#include <cutils/native_handle.h>
#include <hardware/hwcomposer_defs.h>

Go to the source code of this file.

Data Structures

struct  hwc_rect
 
struct  hwc_frect
 
struct  hwc_region
 
struct  hwc_color
 
struct  hwc_layer_1
 
struct  hwc_display_contents_1
 
struct  hwc_procs
 
struct  hwc_module
 
struct  hwc_composer_device_1
 

Macros

#define HWC_MODULE_API_VERSION   HWC_MODULE_API_VERSION_0_1
 
#define HWC_DEVICE_API_VERSION   HWC_DEVICE_API_VERSION_0_1
 
#define HWC_API_VERSION   HWC_DEVICE_API_VERSION
 
#define HWC_HARDWARE_MODULE_ID   "hwcomposer"
 
#define HWC_HARDWARE_COMPOSER   "composer"
 

Typedefs

typedef struct hwc_rect hwc_rect_t
 
typedef struct hwc_frect hwc_frect_t
 
typedef struct hwc_region hwc_region_t
 
typedef struct hwc_color hwc_color_t
 
typedef struct hwc_layer_1 hwc_layer_1_t
 
typedef void * hwc_display_t
 
typedef void * hwc_surface_t
 
typedef struct
hwc_display_contents_1 
hwc_display_contents_1_t
 
typedef struct hwc_procs hwc_procs_t
 
typedef struct hwc_module hwc_module_t
 
typedef struct
hwc_composer_device_1 
hwc_composer_device_1_t
 

Enumerations

enum  { HWC_GEOMETRY_CHANGED = 0x00000001 }
 

Macro Definition Documentation

#define HWC_API_VERSION   HWC_DEVICE_API_VERSION

Definition at line 36 of file hwcomposer.h.

#define HWC_DEVICE_API_VERSION   HWC_DEVICE_API_VERSION_0_1

Definition at line 35 of file hwcomposer.h.

#define HWC_HARDWARE_COMPOSER   "composer"

Name of the sensors device to open

Definition at line 48 of file hwcomposer.h.

#define HWC_HARDWARE_MODULE_ID   "hwcomposer"

The id of this module

Definition at line 43 of file hwcomposer.h.

#define HWC_MODULE_API_VERSION   HWC_MODULE_API_VERSION_0_1

Definition at line 34 of file hwcomposer.h.

Typedef Documentation

typedef struct hwc_color hwc_color_t
typedef void* hwc_display_t

Definition at line 272 of file hwcomposer.h.

typedef struct hwc_frect hwc_frect_t
typedef struct hwc_layer_1 hwc_layer_1_t
typedef struct hwc_module hwc_module_t
typedef struct hwc_procs hwc_procs_t
typedef struct hwc_rect hwc_rect_t
typedef struct hwc_region hwc_region_t
typedef void* hwc_surface_t

Definition at line 275 of file hwcomposer.h.

Enumeration Type Documentation

anonymous enum
Enumerator
HWC_GEOMETRY_CHANGED 

Definition at line 280 of file hwcomposer.h.