framebuffer_device_t Struct Reference

framebuffer_device_t Struct Reference

#include < fb.h >

Data Fields

struct hw_device_t   common
 
const uint32_t  flags
 
const uint32_t  width
 
const uint32_t  height
 
const int  stride
 
const int  format
 
const float  xdpi
 
const float  ydpi
 
const float  fps
 
const int  minSwapInterval
 
const int  maxSwapInterval
 
const int  numFramebuffers
 
int  reserved [7]
 
int(*  setSwapInterval )(struct framebuffer_device_t *window, int interval)
 
int(*  setUpdateRect )(struct framebuffer_device_t *window, int left, int top, int width , int height )
 
int(*  post )(struct framebuffer_device_t *dev, buffer_handle_t buffer)
 
int(*  compositionComplete )(struct framebuffer_device_t *dev)
 
void(*  dump )(struct framebuffer_device_t *dev, char *buff, int buff_len)
 
int(*  enableScreen )(struct framebuffer_device_t *dev, int enable)
 
void *  reserved_proc [6]
 

Detailed Description

Definition at line 38 of file fb.h .

Field Documentation

struct hw_device_t common

Common methods of the framebuffer device. This must be the first member of framebuffer_device_t as users of this structure will cast a hw_device_t to framebuffer_device_t pointer in contexts where it's known the hw_device_t references a framebuffer_device_t .

Definition at line 45 of file fb.h .

int(* compositionComplete)(struct framebuffer_device_t *dev)

Definition at line 136 of file fb.h .

void(* dump)(struct framebuffer_device_t *dev, char *buff, int buff_len)

Definition at line 143 of file fb.h .

int(* enableScreen)(struct framebuffer_device_t *dev, int enable)

Definition at line 151 of file fb.h .

const uint32_t flags

Definition at line 48 of file fb.h .

const int format

Definition at line 58 of file fb.h .

const float fps

Definition at line 65 of file fb.h .

const uint32_t height

Definition at line 52 of file fb.h .

const int maxSwapInterval

Definition at line 71 of file fb.h .

const int minSwapInterval

Definition at line 68 of file fb.h .

const int numFramebuffers

Definition at line 74 of file fb.h .

int(* post)(struct framebuffer_device_t *dev, buffer_handle_t buffer)

Definition at line 128 of file fb.h .

int reserved[7]

Definition at line 76 of file fb.h .

void* reserved_proc[6]

Definition at line 153 of file fb.h .

int(* setSwapInterval)(struct framebuffer_device_t *window, int interval)

Definition at line 83 of file fb.h .

int(* setUpdateRect)(struct framebuffer_device_t *window, int left, int top, int width , int height )

Definition at line 106 of file fb.h .

const int stride

Definition at line 55 of file fb.h .

const uint32_t width

Definition at line 51 of file fb.h .

const float xdpi

Definition at line 61 of file fb.h .

const float ydpi

Definition at line 62 of file fb.h .


The documentation for this struct was generated from the following file:
  • hardware/libhardware/include/hardware/ fb.h