mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
43c4b21a1d
This adds an example cogl compositor to test the _cogl_wayland_texture_2d_new_from_buffer API. The compositor emulates 4 output displays but doesn't support input since Cogl doesn't deal with input. It's quite a minimal example of what it takes to write a wayland compositor so could be interesting to anyone learning about wayland.
37 lines
705 B
Makefile
37 lines
705 B
Makefile
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
|
|
INCLUDES = \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/clutter/cogl \
|
|
-I$(top_builddir)/clutter/cogl
|
|
|
|
AM_CFLAGS = \
|
|
$(COGL_DEP_CFLAGS) \
|
|
$(COGL_EXTRA_CFLAGS) \
|
|
-DCOGL_ENABLE_EXPERIMENTAL_2_0_API
|
|
|
|
AM_CPPFLAGS = \
|
|
-DG_DISABLE_SINGLE_INCLUDES \
|
|
-DCOGL_DISABLE_DEPRECATED
|
|
|
|
|
|
common_ldadd = \
|
|
$(top_builddir)/cogl/libcogl.la
|
|
|
|
noinst_PROGRAMS = hello
|
|
|
|
hello_SOURCES = hello.c
|
|
hello_LDADD = $(common_ldadd)
|
|
|
|
if X11_TESTS
|
|
noinst_PROGRAMS += x11-foreign
|
|
x11_foreign_SOURCES = x11-foreign.c
|
|
x11_foreign_LDADD = $(common_ldadd)
|
|
endif
|
|
|
|
if SUPPORT_WAYLAND_EGL_SERVER
|
|
noinst_PROGRAMS += cogland
|
|
cogland_SOURCES = cogland.c
|
|
cogland_LDADD = $(common_ldadd)
|
|
endif
|