summaryrefslogtreecommitdiff
path: root/src/Makefile_Ector.am
diff options
context:
space:
mode:
authorSubhransu Mohanty <sub.mohanty@samsung.com>2016-11-28 11:21:33 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-11-28 11:35:27 -0800
commit98b0408a4eed5c2beafd4f396b64ca54fb00270f (patch)
tree8cdd5e934685b0d6a121b26ab9cc10328a44ff69 /src/Makefile_Ector.am
parent6584c6cc27913710e8e76b2278307c5696374576 (diff)
triangulator: add a static_lib for triangulation. idea is to keep all the algorithm for triangulation in one place 1. shape outline triangulation using triangle strips. 2. shape filling using curve flattning and polygon triangulation.
Reviewers: Hermet, cedric Reviewed By: cedric Subscribers: raster, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3896
Diffstat (limited to 'src/Makefile_Ector.am')
-rw-r--r--src/Makefile_Ector.am11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/Makefile_Ector.am b/src/Makefile_Ector.am
index f8b7671..0f8a0a5 100644
--- a/src/Makefile_Ector.am
+++ b/src/Makefile_Ector.am
@@ -108,6 +108,12 @@ static_libs/rg_etc/rg_etc2.c \
108static_libs/rg_etc/rg_etc1.h \ 108static_libs/rg_etc/rg_etc1.h \
109static_libs/rg_etc/etc2_encoder.c 109static_libs/rg_etc/etc2_encoder.c
110 110
111# Triangulator static lib
112triangulator_sources = \
113static_libs/triangulator/triangulator_stroker.c \
114static_libs/triangulator/triangulator_simple.c \
115$(NULL)
116
111# And the default software backend 117# And the default software backend
112lib_ector_libector_la_SOURCES += \ 118lib_ector_libector_la_SOURCES += \
113lib/ector/software/ector_renderer_software_gradient_linear.c \ 119lib/ector/software/ector_renderer_software_gradient_linear.c \
@@ -120,7 +126,8 @@ lib/ector/software/ector_software_surface.c \
120lib/ector/software/ector_software_buffer.c \ 126lib/ector/software/ector_software_buffer.c \
121static_libs/freetype/sw_ft_math.c \ 127static_libs/freetype/sw_ft_math.c \
122static_libs/freetype/sw_ft_raster.c \ 128static_libs/freetype/sw_ft_raster.c \
123static_libs/freetype/sw_ft_stroker.c 129static_libs/freetype/sw_ft_stroker.c \
130$(triangulator_sources)
124 131
125# And now the gl backend 132# And now the gl backend
126lib_ector_libector_la_SOURCES += \ 133lib_ector_libector_la_SOURCES += \
@@ -152,6 +159,7 @@ lib_ector_libector_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
152-I$(top_builddir)/src/lib/ector/gl \ 159-I$(top_builddir)/src/lib/ector/gl \
153-I$(top_srcdir)/src/static_libs/freetype \ 160-I$(top_srcdir)/src/static_libs/freetype \
154-I$(top_srcdir)/src/static_libs/draw \ 161-I$(top_srcdir)/src/static_libs/draw \
162-I$(top_srcdir)/src/static_libs/triangulator \
155@ECTOR_CFLAGS@ \ 163@ECTOR_CFLAGS@ \
156-DPACKAGE_BIN_DIR=\"$(bindir)\" \ 164-DPACKAGE_BIN_DIR=\"$(bindir)\" \
157-DPACKAGE_LIB_DIR=\"$(libdir)\" \ 165-DPACKAGE_LIB_DIR=\"$(libdir)\" \
@@ -204,3 +212,4 @@ static_libs/freetype/sw_ft_types.h \
204static_libs/draw/draw.h \ 212static_libs/draw/draw.h \
205static_libs/draw/draw_private.h \ 213static_libs/draw/draw_private.h \
206$(ECTOR_GL_SHADERS_GEN) 214$(ECTOR_GL_SHADERS_GEN)
215