mirror of
https://github.com/brl/mutter.git
synced 2024-12-01 20:30:41 -05:00
cbf011dcd0
Instead of creating just two materials (one for texturing and one for solid primitives) the pango renderer now maintains a cache of pipelines. The display list can request a pipeline for a texture from the cache. The same pipeline cache is used by all display lists so that the pipelines can be shared. This avoids changing the texture on the material during a paint run.
57 lines
1.5 KiB
Makefile
57 lines
1.5 KiB
Makefile
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
|
|
source_c = \
|
|
cogl-pango-display-list.c \
|
|
cogl-pango-fontmap.c \
|
|
cogl-pango-render.c \
|
|
cogl-pango-glyph-cache.c \
|
|
cogl-pango-pipeline-cache.c
|
|
|
|
source_h = cogl-pango.h
|
|
|
|
source_h_priv = \
|
|
cogl-pango-display-list.h \
|
|
cogl-pango-private.h \
|
|
cogl-pango-glyph-cache.h \
|
|
cogl-pango-pipeline-cache.h
|
|
|
|
if COGL_STANDALONE_BUILD
|
|
lib_LTLIBRARIES = libcoglpango.la
|
|
else
|
|
noinst_LTLIBRARIES = libcoglpango.la
|
|
endif
|
|
|
|
libcoglpango_la_SOURCES = $(source_c) $(source_h) $(source_h_priv)
|
|
libcoglpango_la_CFLAGS = $(COGL_DEP_CFLAGS) $(COGL_EXTRA_CFLAGS) $(MAINTAINER_CFLAGS)
|
|
libcoglpango_la_LIBADD = $(COGL_DEP_LIBS) $(COGL_EXTRA_LDFLAGS)
|
|
if COGL_STANDALONE_BUILD
|
|
libcoglpango_la_LIBADD += $(top_builddir)/cogl/libcogl.la
|
|
libcoglpango_la_LDFLAGS = \
|
|
-export-dynamic \
|
|
-export-symbols-regex "^cogl.*"
|
|
-no-undefined \
|
|
-version-info @COGL_LT_CURRENT@:@COGL_LT_REVISION@:@COGL_LT_AGE@
|
|
endif
|
|
|
|
INCLUDES = \
|
|
-DG_DISABLE_SINGLE_INCLUDES \
|
|
-DCLUTTER_COMPILATION \
|
|
-DG_LOG_DOMAIN=\"CoglPango\" \
|
|
-I$(top_srcdir)
|
|
if !COGL_STANDALONE_BUILD
|
|
INCLUDES += \
|
|
-I$(top_srcdir)/clutter \
|
|
-I$(top_srcdir)/clutter/cogl \
|
|
-I$(top_builddir)/clutter \
|
|
-I$(top_builddir)/clutter/cogl
|
|
endif
|
|
|
|
if COGL_STANDALONE_BUILD
|
|
coglpangoheadersdir = $(includedir)/cogl/cogl
|
|
coglpangoheaders_HEADERS = $(source_h)
|
|
else
|
|
coglpangoheadersdir = $(includedir)/clutter-@CLUTTER_API_VERSION@/cogl
|
|
coglpangoheaders_HEADERS = $(source_h)
|
|
endif
|
|
|