summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSooChan Lim <sc1.lim@samsung.com>2016-06-20 21:13:38 +0900
committerSooChan Lim <sc1.lim@samsung.com>2016-06-28 16:39:17 +0900
commit61ea68002b663fd864e50db97848c76c17be94f9 (patch)
treebde107d47452ad81c89cf302ecbf3e1ead0833ab
parent9f8cde25ed0981d76af10759076b5b09dcc0c80f (diff)
downloadlibtbm-vigs-61ea68002b663fd864e50db97848c76c17be94f9.tar.gz
libtbm-vigs-61ea68002b663fd864e50db97848c76c17be94f9.tar.bz2
libtbm-vigs-61ea68002b663fd864e50db97848c76c17be94f9.zip
Change-Id: Ic0a7ea467f55a444cccce29a28fdec4a63a5accf
-rwxr-xr-xsrc/tbm_bufmgr_emulator.c3
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,