summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunkyeong Kim <jk0430.kim@samsung.com>2021-03-29 16:31:28 +0900
committerJunkyeong Kim <jk0430.kim@samsung.com>2021-03-29 16:31:31 +0900
commit6b61bb3fcaad368d470d402fea988dfbef18a7b8 (patch)
treee93c23e8258b699aac8f9d7e920e49e3910c0985
parentfcafe4f1f685e8333ce66a0fa922bd8dd8c8f87e (diff)
downloademulator-yagl-6b61bb3fcaad368d470d402fea988dfbef18a7b8.tar.gz
emulator-yagl-6b61bb3fcaad368d470d402fea988dfbef18a7b8.tar.bz2
emulator-yagl-6b61bb3fcaad368d470d402fea988dfbef18a7b8.zip
EGL: erase libtbm-vigs dependency
use libhal-backend-tbm-vigs only. Change-Id: Ide48f8395dab329f300044dcd0b8dd2ee6bc8522 Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
-rw-r--r--CMakeLists.txt5
-rw-r--r--EGL/tizen/yagl_tizen_display.c3
2 files changed, 0 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9f73925..bead281 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -89,11 +89,6 @@ add_definitions(${LIBTBM_CFLAGS})
include_directories(${LIBTBM_INCLUDE_DIRS})
link_directories(${LIBTBM_LIBRARY_DIRS})
-pkg_check_modules(LIBTBM_VIGS REQUIRED libtbm-vigs)
-add_definitions(${LIBTBM_VIGS_CFLAGS})
-include_directories(${LIBTBM_VIGS_INCLUDE_DIRS})
-link_directories(${LIBTBM_VIGS_LIBRARY_DIRS})
-
pkg_check_modules(HAL_BACKEND_TBM_VIGS REQUIRED hal-backend-tbm-vigs)
add_definitions(${HAL_BACKEND_TBM_VIGS_CFLAGS})
include_directories(${HAL_BACKEND_TBM_VIGS_INCLUDE_DIRS})
diff --git a/EGL/tizen/yagl_tizen_display.c b/EGL/tizen/yagl_tizen_display.c
index 121d458..aabac34 100644
--- a/EGL/tizen/yagl_tizen_display.c
+++ b/EGL/tizen/yagl_tizen_display.c
@@ -38,7 +38,6 @@
#include "yagl_malloc.h"
#include "vigs.h"
#include <tbm_bufmgr.h>
-#include <tbm_vigs.h>
#include <libhal_backend_tbm_vigs.h>
#include <sys/fcntl.h>
#include <stdio.h>
@@ -152,8 +151,6 @@ struct yagl_native_display
}
drm_dev = libhal_backend_tbm_vigs_get_drm_dev();
- if (drm_dev == NULL)
- drm_dev = tbm_vigs_get_drm_dev();
yagl_native_display_init(&dpy->base,
platform,