b0d2e01031
New composite glyphs code uses the updated glamor program infrastructure to create efficient shaders for drawing render text. Glyphs are cached in two atlases (one 8-bit, one 32-bit) in a simple linear fashion. When the atlas fills, it is discarded and a new one constructed. v2: Eric Anholt changed the non-GLSL 130 path to use quads instead of two triangles for a significant performance improvement on hardware with quads. Someone can fix the GLES quads emulation if they want to make it faster there. v3: Eric found more dead code to delete Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Eric Anholt <eric@anholt.net>
56 lines
1.1 KiB
Makefile
56 lines
1.1 KiB
Makefile
noinst_LTLIBRARIES = libglamor.la libglamor_egl_stubs.la
|
|
|
|
libglamor_la_LIBADD = $(GLAMOR_LIBS)
|
|
|
|
AM_CFLAGS = $(CWARNFLAGS) $(DIX_CFLAGS) $(GLAMOR_CFLAGS)
|
|
|
|
libglamor_la_SOURCES = \
|
|
glamor.c \
|
|
glamor_context.h \
|
|
glamor_copy.c \
|
|
glamor_core.c \
|
|
glamor_dash.c \
|
|
glamor_debug.h \
|
|
glamor_font.c \
|
|
glamor_font.h \
|
|
glamor_glx.c \
|
|
glamor_composite_glyphs.c \
|
|
glamor_image.c \
|
|
glamor_lines.c \
|
|
glamor_segs.c \
|
|
glamor_render.c \
|
|
glamor_gradient.c \
|
|
glamor_prepare.c \
|
|
glamor_prepare.h \
|
|
glamor_program.c \
|
|
glamor_program.h \
|
|
glamor_rects.c \
|
|
glamor_spans.c \
|
|
glamor_text.c \
|
|
glamor_transfer.c \
|
|
glamor_transfer.h \
|
|
glamor_transform.c \
|
|
glamor_transform.h \
|
|
glamor_trapezoid.c \
|
|
glamor_triangles.c\
|
|
glamor_addtraps.c\
|
|
glamor_glyphblt.c\
|
|
glamor_points.c\
|
|
glamor_priv.h\
|
|
glamor_pixmap.c\
|
|
glamor_largepixmap.c\
|
|
glamor_picture.c\
|
|
glamor_vbo.c \
|
|
glamor_window.c\
|
|
glamor_fbo.c\
|
|
glamor_compositerects.c\
|
|
glamor_utils.c\
|
|
glamor_utils.h\
|
|
glamor_xv.c \
|
|
glamor_sync.c \
|
|
glamor.h
|
|
|
|
libglamor_egl_stubs_la_SOURCES = glamor_egl_stubs.c
|
|
|
|
sdk_HEADERS = glamor.h
|