mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
7d20101198
Since now we don't set the swap throttled value based on sync-to-vblank, we can effectively remove it from Cogl. Throttling swap buffers in Cogl is as much a historical artifact as sync-to-vblank. Furthermore, it doesn't make sense to disable it on a compositor, which is the case with the embedded Cogl. In addition to that, the winsys vfunc for updating whenever swap throttling changes could also be removed, since swap throttling is always enabled now. Removing it means less code, less branches when running, and one less config option to deal with. This also removes the micro-perf test, since it doesn't make sense for the case where Cogl is embedded into the compositor. https://gitlab.gnome.org/GNOME/mutter/merge_requests/191
32 lines
615 B
Makefile
32 lines
615 B
Makefile
SUBDIRS = conform
|
|
|
|
if UNIT_TESTS
|
|
SUBDIRS += unit
|
|
endif
|
|
|
|
SUBDIRS += data
|
|
|
|
DIST_SUBDIRS = conform unit data
|
|
|
|
EXTRA_DIST = README test-launcher.sh run-tests.sh
|
|
|
|
if UNIT_TESTS
|
|
test conform:
|
|
( cd ./conform && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $$?
|
|
( cd ./unit && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $$?
|
|
else
|
|
test conform:
|
|
( cd ./conform && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $$?
|
|
endif
|
|
|
|
.PHONY: test conform
|
|
|
|
# run make test as part of make check
|
|
check-local: test
|
|
|
|
if ENABLE_INSTALLED_TESTS
|
|
insttestdir = $(libexecdir)/installed-tests/mutter-cogl
|
|
insttest_SCRIPTS = run-tests.sh
|
|
insttest_DATA = config.env
|
|
endif
|