mirror of
https://github.com/brl/mutter.git
synced 2024-12-29 14:22:13 +00:00
b86e330957
This copies the files for the GLU tesselator from Mesa. The Mesa code is based on the original SGI code and is released under a BSD license. The memalloc.h header has been replaced with one that forces the code to use g_malloc and friends. The rest of the files are not altered from the original so it should be possible to later upgrade the files by simply overwriting them. There is a tesselator.h header which is expected to be included by rest of Cogl to use the tesselator. This contains a trimmed down version of glu.h that only includes parts that pertain to the tesselator. There is also a stub glu.h in the GL directory which is just provided so that the tesselator code can include <GL/gl.h> without depending on the system header. It just redirects to tesselator.h
42 lines
700 B
Makefile
42 lines
700 B
Makefile
AM_CFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS)
|
|
|
|
noinst_LTLIBRARIES = libtesselator.la
|
|
|
|
INCLUDES = \
|
|
-I$(top_srcdir)/clutter/cogl \
|
|
-I$(srcdir)/winsys \
|
|
-I$(srcdir)/driver/$(COGL_DRIVER) \
|
|
-I$(srcdir)/clutter/cogl/cogl/tesselator \
|
|
-I$(top_builddir)/clutter/cogl
|
|
|
|
libtesselator_la_SOURCES = \
|
|
dict-list.h \
|
|
dict.c \
|
|
dict.h \
|
|
geom.c \
|
|
geom.h \
|
|
gluos.h \
|
|
memalloc.h \
|
|
mesh.c \
|
|
mesh.h \
|
|
normal.c \
|
|
normal.h \
|
|
priorityq-heap.h \
|
|
priorityq-sort.h \
|
|
priorityq.c \
|
|
priorityq.h \
|
|
render.c \
|
|
render.h \
|
|
sweep.c \
|
|
sweep.h \
|
|
tess.c \
|
|
tess.h \
|
|
tesselator.h \
|
|
tessmono.c \
|
|
tessmono.h \
|
|
GL/glu.h
|
|
|
|
EXTRA_DIST = \
|
|
README \
|
|
priorityq-heap.c
|