5d702853b8
If your OpenGL driver supports GLX_INTEL_swap_event that means when glXSwapBuffers is called it returns immediatly and an XEvent is sent when the actual swap has finished. Clutter can use the events that notify swap completion as a means to throttle rendering in the master clock without blocking the CPU and so it should help improve the performance of CPU bound applications.
36 lines
999 B
Makefile
36 lines
999 B
Makefile
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
|
|
libclutter_glx_includedir = $(includedir)/clutter-@CLUTTER_API_VERSION@/clutter/glx
|
|
libclutter_glx_include_HEADERS = clutter-glx.h clutter-glx-texture-pixmap.h
|
|
|
|
INCLUDES = \
|
|
-DG_LOG_DOMAIN=\"ClutterGLX\" \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/clutter \
|
|
-I$(top_srcdir)/clutter/cogl \
|
|
-I$(top_srcdir)/clutter/x11 \
|
|
-I$(top_builddir)/clutter \
|
|
-I$(top_builddir)/clutter/cogl \
|
|
-DCLUTTER_COMPILATION \
|
|
$(CLUTTER_CFLAGS) \
|
|
$(CLUTTER_DEBUG_CFLAGS) \
|
|
$(MAINTAINER_CFLAGS)
|
|
|
|
LDADD = $(CLUTTER_LIBS) $(top_builddir)/clutter/x11/libclutter-x11.la
|
|
|
|
noinst_LTLIBRARIES = libclutter-glx.la
|
|
|
|
libclutter_glx_la_DEPENDENCIES = \
|
|
$(top_builddir)/clutter/x11/libclutter-x11.la
|
|
|
|
libclutter_glx_la_SOURCES = \
|
|
clutter-backend-glx.h \
|
|
clutter-backend-glx.c \
|
|
clutter-event-glx.h \
|
|
clutter-event-glx.c \
|
|
clutter-stage-glx.h \
|
|
clutter-stage-glx.c \
|
|
clutter-glx-texture-pixmap.h \
|
|
clutter-glx-texture-pixmap.c \
|
|
clutter-glx.h
|