tbm_surface_internal: refactor the creation of a surface 15/260315/1
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 23 Jun 2021 02:54:10 +0000 (11:54 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 23 Jun 2021 07:13:55 +0000 (16:13 +0900)
commit76243497f7a8481903acfcbe0f7204a4d568983e
treecd91e1ed6f2f810fd7fd647575370b6e5352ad4c
parentc8a260b8427a9ae2032618be579cfe4d8d0e07d7
tbm_surface_internal: refactor the creation of a surface

Reduce the duplicated codes and Be easy to handle an error
at the time of the surface creation.

Change-Id: I0327d332d8c7ec1a4b0919f562826a7ff5476b83
src/tbm_surface_internal.c