2008-04-25 13:37:36 +00:00
|
|
|
INCLUDES = \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_srcdir)/clutter \
|
|
|
|
-I$(top_srcdir)/clutter/cogl \
|
|
|
|
-I$(top_srcdir)/clutter/cogl/$(CLUTTER_COGL) \
|
|
|
|
-I$(top_builddir)/clutter \
|
|
|
|
-I$(top_builddir)/clutter/cogl \
|
2009-01-12 11:21:06 +00:00
|
|
|
-DG_LOG_DOMAIN=\"Cogl-Common\" \
|
2008-10-30 17:04:34 +00:00
|
|
|
-DCLUTTER_COMPILATION \
|
2008-04-25 13:37:36 +00:00
|
|
|
$(CLUTTER_CFLAGS) \
|
|
|
|
$(CLUTTER_DEBUG_CFLAGS) \
|
2009-01-23 13:09:51 +00:00
|
|
|
$(MAINTAINER_CFLAGS) \
|
2008-04-25 13:37:36 +00:00
|
|
|
$(GCC_FLAGS)
|
|
|
|
|
|
|
|
LDADD = $(CLUTTER_LIBS)
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libclutter-cogl-common.la
|
|
|
|
EXTRA_DIST = stb_image.c
|
|
|
|
|
2008-06-23 16:43:49 +00:00
|
|
|
libclutter_cogl_common_la_SOURCES = \
|
|
|
|
cogl-handle.h \
|
|
|
|
cogl-util.h \
|
|
|
|
cogl-util.c \
|
|
|
|
cogl-bitmap.h \
|
|
|
|
cogl-bitmap.c \
|
|
|
|
cogl-bitmap-fallback.c \
|
|
|
|
cogl-primitives.h \
|
|
|
|
cogl-primitives.c \
|
|
|
|
cogl-bitmap-pixbuf.c \
|
|
|
|
cogl-clip-stack.h \
|
2008-10-30 16:37:55 +00:00
|
|
|
cogl-clip-stack.c \
|
2008-10-30 16:50:07 +00:00
|
|
|
cogl-fixed.c \
|
2008-11-10 18:53:14 +00:00
|
|
|
cogl-color.c \
|
2009-01-23 15:23:49 +00:00
|
|
|
cogl-vertex-buffer-private.h \
|
|
|
|
cogl-vertex-buffer.c \
|
Adds a CoglMaterial abstraction, which includes support for multi-texturing
My previous work to provide muti-texturing support has been extended into
a CoglMaterial abstraction that adds control over the texture combine
functions (controlling how multiple texture layers are blended together),
the gl blend function (used for blending the final primitive with the
framebuffer), the alpha function (used to discard fragments based on
their alpha channel), describing attributes such as a diffuse, ambient and
specular color (for use with the standard OpenGL lighting model), and
per layer rotations. (utilizing the new CoglMatrix utility API)
For now the only way this abstraction is exposed is via a new
cogl_material_rectangle function, that is similar to cogl_texture_rectangle
but doesn't take a texture handle (the source material is pulled from
the context), and the array of texture coordinates is extended to be able
to supply coordinates for each layer.
Note: this function doesn't support sliced textures; supporting sliced
textures is a non trivial problem, considering the ability to rotate layers.
Note: cogl_material_rectangle, has quite a few workarounds, for a number of
other limitations within Cogl a.t.m.
Note: The GLES1/2 multi-texturing support has yet to be updated to use
the material abstraction.
2008-12-11 20:11:30 +00:00
|
|
|
cogl-matrix.c \
|
2009-01-29 16:00:15 +00:00
|
|
|
cogl-material.c \
|
|
|
|
cogl-material-private.h
|