mirror of
https://github.com/X11Libre/xf86-video-intel.git
synced 2026-03-24 01:24:12 +00:00
At the kernel level, threads and processes are identical - they each get a fair share of CPU time. From this we can surmise the cause of any variation between threads and processes. If the threads are balanced (each thread completing the same number of requests), but the processes have unbalanced numbers, we know that X is not as fair. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
95 lines
1.5 KiB
Makefile
95 lines
1.5 KiB
Makefile
stress_TESTS = \
|
|
basic-fillrect \
|
|
basic-tiledrect \
|
|
basic-stippledrect \
|
|
basic-rectangle \
|
|
basic-string \
|
|
basic-copyarea \
|
|
basic-copyplane \
|
|
basic-copyarea-size \
|
|
basic-putimage \
|
|
basic-lines \
|
|
basic-stress \
|
|
DrawSegments \
|
|
cursor-test \
|
|
render-fill \
|
|
render-glyphs \
|
|
render-trapezoid \
|
|
render-trapezoid-image \
|
|
render-triangle \
|
|
render-fill-copy \
|
|
render-composite-solid \
|
|
render-composite-solid-mask \
|
|
render-copyarea \
|
|
render-copyarea-mask \
|
|
render-copyarea-size \
|
|
render-copy-alphaless \
|
|
mixed-stress \
|
|
shm-test \
|
|
$(NULL)
|
|
|
|
if X11_VM
|
|
stress_TESTS += \
|
|
xvidmode \
|
|
$(NULL)
|
|
endif
|
|
|
|
if DRI2
|
|
stress_TESTS += \
|
|
dri2-race \
|
|
dri2-speed \
|
|
dri2-swap \
|
|
dri2-test \
|
|
$(NULL)
|
|
endif
|
|
|
|
if X11_DRI3
|
|
stress_TESTS += \
|
|
dri3-test \
|
|
present-race \
|
|
present-speed \
|
|
present-test \
|
|
$(NULL)
|
|
present_speed_CFLAGS = ${AM_CFLAGS} -pthread
|
|
endif
|
|
check_PROGRAMS = $(stress_TESTS)
|
|
|
|
noinst_PROGRAMS = lowlevel-blt-bench
|
|
|
|
AM_CFLAGS = @CWARNFLAGS@ $(X11_CFLAGS) $(DRM_CFLAGS)
|
|
LDADD = libtest.la $(X11_LIBS) $(DRM_LIBS) $(CLOCK_GETTIME_LIBS)
|
|
|
|
noinst_LTLIBRARIES = libtest.la
|
|
libtest_la_SOURCES = \
|
|
test.h \
|
|
test_display.c \
|
|
test_image.c \
|
|
test_log.c \
|
|
test_render.c \
|
|
$(NULL)
|
|
|
|
if DRI2
|
|
libtest_la_SOURCES += \
|
|
dri2.c \
|
|
dri2.h \
|
|
$(NULL)
|
|
endif
|
|
|
|
if X11_DRI3
|
|
libtest_la_SOURCES += \
|
|
dri3.c \
|
|
dri3.h \
|
|
$(NULL)
|
|
AM_CFLAGS += $(X11_DRI3_CFLAGS)
|
|
LDADD += $(X11_DRI3_LIBS)
|
|
endif
|
|
|
|
vsync.avi: mkvsync.sh
|
|
./mkvsync.sh $@
|
|
|
|
clean-vsync-avi:
|
|
rm -rf vsync.avi .build.tmp
|
|
|
|
EXTRA_DIST = README mkvsync.sh tearing.mp4 virtual.conf
|
|
clean-local: clean-vsync-avi
|