mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-05 06:50:21 +01:00
This changes the perf test output format to be a little more human friendly, reporting times in ms instead of seconds. It also adds a test number that could be used in the future for specifying an explicit test to run (test number, target surface, test name, and size uniquiely identify a test). Also adds a few paint tests.
16 lines
457 B
Text
16 lines
457 B
Text
CC = cl
|
|
CFLAGS = /nologo /Zi /O2 /MD /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /I../src /I../pixman/src /I../boilerplate
|
|
LDFLAGS = ../src/cairo.lib ../pixman/src/pixman.lib ../boilerplate/boiler.lib libpng.lib zlib.lib gdi32.lib msimg32.lib user32.lib
|
|
|
|
PERF_SOURCES = \
|
|
cairo-perf-win32.c \
|
|
cairo-perf.c \
|
|
paint.c \
|
|
tessellate.c \
|
|
$(NULL)
|
|
|
|
all: cairo-perf.exe
|
|
|
|
cairo-perf.exe: $(PERF_SOURCES)
|
|
$(CC) $(CFLAGS) /Fe"$@" $^ /link $(LDFLAGS)
|
|
|