diff options
author | SooChan Lim <sc1.lim@samsung.com> | 2016-06-20 21:13:38 +0900 |
---|---|---|
committer | SooChan Lim <sc1.lim@samsung.com> | 2016-06-28 16:39:17 +0900 |
commit | 61ea68002b663fd864e50db97848c76c17be94f9 (patch) | |
tree | bde107d47452ad81c89cf302ecbf3e1ead0833ab | |
parent | 9f8cde25ed0981d76af10759076b5b09dcc0c80f (diff) | |
download | libtbm-vigs-61ea68002b663fd864e50db97848c76c17be94f9.tar.gz libtbm-vigs-61ea68002b663fd864e50db97848c76c17be94f9.tar.bz2 libtbm-vigs-61ea68002b663fd864e50db97848c76c17be94f9.zip |
add TBM_FORMAT_RGBA8888 formatsubmit/tizen/20160628.074638accepted/tizen/wearable/20160628.100301accepted/tizen/tv/20160628.100311accepted/tizen/mobile/20160628.100307accepted/tizen/ivi/20160628.100332accepted/tizen/common/20160628.141558
Change-Id: Ic0a7ea467f55a444cccce29a28fdec4a63a5accf
-rwxr-xr-x | src/tbm_bufmgr_emulator.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tbm_bufmgr_emulator.c b/src/tbm_bufmgr_emulator.c index 3545016..20283b0 100755 --- a/src/tbm_bufmgr_emulator.c +++ b/src/tbm_bufmgr_emulator.c @@ -54,6 +54,7 @@ static uint32_t tbm_bufmgr_emulator_color_format_list[] = { TBM_FORMAT_RGB888, TBM_FORMAT_ARGB8888, + TBM_FORMAT_RGBA8888, TBM_FORMAT_XRGB8888, TBM_FORMAT_NV21, TBM_FORMAT_NV61, @@ -349,6 +350,7 @@ static int tbm_bufmgr_emulator_surface_get_plane_data(int width, int height, tbm return 1; case TBM_FORMAT_XRGB8888: case TBM_FORMAT_ARGB8888: + case TBM_FORMAT_RGBA8888: *size = width * height * 4; *offset = 0; *pitch = width * 4; @@ -491,6 +493,7 @@ static void *tbm_bufmgr_emulator_surface_bo_alloc(tbm_bo bo, int width, int heig break; case TBM_FORMAT_ARGB8888: + case TBM_FORMAT_RGBA8888: ret = vigs_drm_surface_create(drm_dev, width, height, width * 4, |