مرجع بنية framebuffer_device_t

مرجع بنية framebuffer_device_t

#include < fb.h >

حقول البيانات

struct hw_device_t   شائعة
 
const uint32_t  flags
 
const uint32_t  width
 
const uint32_t  height
 
const int  الخطوة
 
const int  format
 
const float  xdpi
 
const float  ydpi
 
const float  عدد اللقطات في الثانية
 
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]
 

وصف مفصّل

التعريف في السطر 38 من الملف fb.h .

مستندات الحقل

struct hw_device_t common

الطرق الشائعة لجهاز إطار التخزين المؤقت يجب أن يكون هذا العنصر هو العنصر الأول في framebuffer_device_t لأنّ مستخدمي هذه البنية سيحوّلون hw_device_t إلى framebuffer_device_t مُشيرًا في السياقات التي يُعرف فيها أنّ hw_device_t يشير إلى framebuffer_device_t .

التعريف في السطر 45 من الملف fb.h .

int(* compositionComplete)(struct framebuffer_device_t *dev)

التعريف في السطر 136 من الملف fb.h .

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

التعريف في السطر 143 من الملف fb.h .

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

التعريف في السطر 151 من الملف fb.h .

const uint32_t flags

التعريف في السطر 48 من الملف fb.h .

const int format

التعريف في السطر 58 من الملف fb.h .

const float fps

التعريف في السطر 65 من الملف fb.h .

const uint32_t height

التعريف في السطر 52 من الملف fb.h .

const int maxSwapInterval

التعريف في السطر 71 من الملف fb.h .

const int minSwapInterval

التعريف في السطر 68 من الملف fb.h .

const int numFramebuffers

التعريف في السطر 74 من الملف fb.h .

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

التعريف في السطر 128 من الملف fb.h .

int reserved[7]

التعريف في السطر 76 من الملف fb.h .

void* reserved_proc[6]

التعريف في السطر 153 من الملف fb.h .

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

التعريف في السطر 83 من الملف fb.h .

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

التعريف في السطر 106 من الملف fb.h .

const int stride

التعريف في السطر 55 من الملف fb.h .

const uint32_t width

التعريف في السطر 51 من الملف fb.h .

const float xdpi

التعريف في السطر 61 من الملف fb.h .

const float ydpi

التعريف في السطر 62 من الملف fb.h .


تم إنشاء مستندات هذه البنية من الملف التالي:
  • hardware/libhardware/include/hardware/ fb.h