没在android上试。
现在的问题可能就是因为EGLClientBuffer这个参数引起的,我手上没有mali-t76x_r5p0-06rel0_linux_1+fbdev 这个库对因的头文件
用的是之前mali400的头文件,也尝试了http://community.arm.com/thread/8116 这个帖子里面给出的结构体,都不成功
mali400中fbdev_window.h中的定义是:
typedef struct fbdev_pixmap
{
unsigned int height;
unsigned int width;
unsigned int bytes_per_pixel;
unsigned char buffer_size;
unsigned char red_size;
unsigned char green_size;
unsigned char blue_size;
unsigned char alpha_size;
unsigned char luminance_size;
fbdev_pixmap_flags flags;
unsigned short *data;
unsigned int format; /* extra format information in case rgbal is not enough, especially for YUV formats */
} fbdev_pixmap;