summaryrefslogtreecommitdiff
path: root/py/tests/db.py
AgeCommit message (Collapse)Author
2017-01-03py: db.py: Print frame rate at 5s intervalsLaurent Pinchart
Print both the number of vsyncs (as reported by the driver in flip events) and the number of flip events. This is useful to debug frame rate related issues. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2017-01-03py: db.py: Rename argument to event handlers to avoid shadowingLaurent Pinchart
The first argument to the key event handlers bears the same name as the global variable that identifies the connector. Rename it to fileobj which, in addition to being more descriptive, avoids shadowing the global variable. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2017-01-03py: Move helpers to the pykms moduleLaurent Pinchart
Instead of forcing applications to import the helpers manually, move them to pykms by turning it into a python module. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2017-01-03py: Reorganize source directoryLaurent Pinchart
Separate the Python bindings sources from the test scripts. While at it, remove the unneeded run.sh script. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>