tpl_display: Added a new frontend API that returns appropriate backend type. 64/139564/1
authorjoonbum.ko <joonbum.ko@samsung.com>
Wed, 19 Jul 2017 08:38:01 +0000 (17:38 +0900)
committerjoonbum.ko <joonbum.ko@samsung.com>
Wed, 19 Jul 2017 08:38:33 +0000 (17:38 +0900)
commit47f9d8541e0004357dc484180578ef2084871a25
tree4d0608a77ab37b86230b7e8c5f1ebf8dca416508
parent834df073463998ef916cf886ea4e28f4bfb641b7
tpl_display: Added a new frontend API that returns appropriate backend type.

 - New API :
 tpl_backend_type_t tpl_display_get_backend_type(tpl_handle_t native_dpy)

 - The native_dpy, which can be supported by tpl,
  this function will return the corresponding backend type.
 - It is preferable to explicitly pass the returned backend type
  to tpl_display_create.

Change-Id: I987335e6e30c774b73d6bb79ff8c65fd05141baf
Signed-off-by: joonbum.ko <joonbum.ko@samsung.com>
src/tpl.h
src/tpl_display.c