diff options
author | Greg Hackmann <ghackmann@google.com> | 2012-09-26 09:37:12 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-09-26 16:09:28 -0700 |
commit | 9eb2a0209e821f702227c61ccf7dd18aca2a6d82 (patch) | |
tree | 04813b41f7c3a710b9b5ff2c0a949f299fe2878c /include | |
parent | 105be0b2aac13c94567036612a9556aae34c1590 (diff) | |
download | exynos5-9eb2a0209e821f702227c61ccf7dd18aca2a6d82.tar.gz |
hwc: support HAL_PIXEL_FORMAT_BGRA_8888
Bug: 7229550
Change-Id: Idec29ccb8b84af52e7c4e7af613bfdde6a6cb011
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/s3c-fb.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/include/s3c-fb.h b/include/s3c-fb.h index 0390cf5..753ecc4 100644 --- a/include/s3c-fb.h +++ b/include/s3c-fb.h @@ -49,57 +49,58 @@ enum s3c_fb_pixel_format { S3C_FB_PIXEL_FORMAT_RGBX_8888 = 1, S3C_FB_PIXEL_FORMAT_RGBA_5551 = 2, S3C_FB_PIXEL_FORMAT_RGB_565 = 3, - S3C_FB_PIXEL_FORMAT_MAX = 4, -}; + S3C_FB_PIXEL_FORMAT_BGRA_8888 = 4, /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + S3C_FB_PIXEL_FORMAT_MAX = 5, +}; enum s3c_fb_blending { S3C_FB_BLENDING_NONE = 0, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ S3C_FB_BLENDING_PREMULT = 1, S3C_FB_BLENDING_COVERAGE = 2, -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ S3C_FB_BLENDING_MAX = 3, }; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct s3c_fb_win_config { enum { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ S3C_FB_WIN_STATE_DISABLED = 0, S3C_FB_WIN_STATE_COLOR, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ S3C_FB_WIN_STATE_BUFFER, } state; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ union { __u32 color; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct { int fd; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __u32 offset; __u32 stride; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ enum s3c_fb_pixel_format format; enum s3c_fb_blending blending; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ int fence_fd; }; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; int x; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ int y; __u32 w; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __u32 h; }; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define S3C_FB_MAX_WIN (5) struct s3c_fb_win_config_data { +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ int fence; struct s3c_fb_win_config config[S3C_FB_MAX_WIN]; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; #define S3CFB_WIN_POSITION _IOW('F', 203, struct s3c_fb_user_window) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define S3CFB_WIN_SET_PLANE_ALPHA _IOW('F', 204, struct s3c_fb_user_plane_alpha) #define S3CFB_WIN_SET_CHROMA _IOW('F', 205, struct s3c_fb_user_chroma) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define S3CFB_SET_VSYNC_INT _IOW('F', 206, __u32) #define S3CFB_GET_ION_USER_HANDLE _IOWR('F', 208, struct s3c_fb_user_ion_client) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define S3CFB_WIN_CONFIG _IOW('F', 209, struct s3c_fb_win_config_data) #endif -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |