转自:http://www.cnblogs.com/eustoma/archive/2012/06/08/2541416.html
1. buffer_handle_t
文件位置:system\core\include\system\window.h
typedef
const native_handle_t* buffer_handle_t;
2. native_handle_t
文件位置:system\core\include\cutils\native_handle.h
typedef
struct native_handle
{
int
version; /*
sizeof(native_handle_t) */
int
numFds; /*
number of file-descriptors at &data[0] */
int
numInts; /*
number of ints at &data[numFds] */
int
data[0]; /*
numFds + numInts ints */
} native_handle_t;
时间: 2024-11-06 06:43:56