lib: Add brushlib perf tests for Python-based tile surface
authorJon Nordby <jononor@gmail.com>
Sat, 17 Nov 2012 18:32:39 +0000 (19:32 +0100)
committerJon Nordby <jononor@gmail.com>
Sun, 18 Nov 2012 02:58:23 +0000 (03:58 +0100)
commit84a458c193ba1cea7b8e79a30b0d9bfcadcd2f9d
tree6456069b81f79177a762b401bbc1240d9a0e8143
parent77a9de0284075ae26e6e96b93f923a5b61babd07
lib: Add brushlib perf tests for Python-based tile surface

A bit complicated since the brushlib tests are in C, and the surface
implementation parly in Python. Have to embedd a Python interpreter
in the executable, and get the C surface interface from the Python instance
using SWIG.
.gitignore
lib/SConscript
lib/pythontiledsurface.c
lib/pythontiledsurface.h [new file with mode: 0644]
lib/test-python-surface.c [new file with mode: 0644]
lib/tiledsurface.hpp
lib/tiledsurface.py