aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@samsung.com>2014-03-11 19:08:40 +0900
committerCedric BAIL <cedric.bail@free.fr>2014-04-01 22:00:13 +0900
commit961ecab040669ad2b181ece230e467ae708be8f8 (patch)
tree7f63ad9fffa7a36fec7e4c53c140b605f521e35c /m4
parentrg_etc: fix warning and remove assert. (diff)
downloadefl-961ecab040669ad2b181ece230e467ae708be8f8.tar.gz
evas: add a tgv loader.
The TGV file format is specifically created for Evas. It is designed to allow region decompression and parallele decompression with a fast path for GPU that do handle ETC1 compression. Plan for adding other compression method will come later.
Diffstat (limited to 'm4')
-rw-r--r--m4/evas_check_loader.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/m4/evas_check_loader.m4 b/m4/evas_check_loader.m4
index b34c28fc05..07d9cdd87e 100644
--- a/m4/evas_check_loader.m4
+++ b/m4/evas_check_loader.m4
@@ -341,6 +341,22 @@ AS_IF([test "x${have_dep}" = "xyes"], [$3], [$4])
])
+dnl use: EVAS_CHECK_LOADER_DEP_TGV(loader, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
+
+AC_DEFUN([EVAS_CHECK_LOADER_DEP_TGV],
+[
+
+have_dep="yes"
+evas_image_loader_[]$1[]_cflags=""
+evas_image_loader_[]$1[]_libs=""
+
+AC_SUBST([evas_image_loader_$1_cflags])
+AC_SUBST([evas_image_loader_$1_libs])
+
+AS_IF([test "x${have_dep}" = "xyes"], [$3], [$4])
+
+])
+
dnl use: EVAS_CHECK_LOADER_DEP_SVG(loader, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
AC_DEFUN([EVAS_CHECK_LOADER_DEP_SVG],