Commit graph

707 commits

Author SHA1 Message Date
Ryan Pavlik 5d9311bd30 d/psmv: Fix size of tracking ball. 2019-10-07 12:39:56 +00:00
Ryan Pavlik 76aa839f5b a/track: Simplify. 2019-10-07 12:39:56 +00:00
Ryan Pavlik 37d4eae37a a/track: Fix typo. 2019-10-07 12:39:56 +00:00
Jakob Bornecrantz d8cd9ffcdd st/prober: Better error printing 2019-10-04 10:32:02 +01:00
Jakob Bornecrantz f2fcfd98e1 aux/os: Return 'errno' on device open failure 2019-10-04 10:32:02 +01:00
Lubosz Sarnecki 979536dd4b xrt/comp/cmake: Enable build of Wayland backend.
Add pkgconfig based Wayland build including protocol generation.
2019-10-02 12:22:42 +02:00
Lubosz Sarnecki 871f6bfc87 cmake: Remove unused and deprecated FindWayland.cmake script.
Martin Gräßlin's script from 2013 does not look for the
Wayland protocols directory and the scanner.
2019-10-02 12:22:36 +02:00
Jakob Bornecrantz 51f3fac192 aux/tracking: Refactor calibration data handling 2019-09-29 15:43:54 +01:00
Jakob Bornecrantz b37eb0f55b xrt: Add xrt_size struct 2019-09-29 15:43:54 +01:00
Emmanuel Gil Peyrot 9aea9aa6d1 meson: Check both opencv4 and opencv dependencies.
OpenCV changed its pkg-config file name from opencv.pc to opencv4.pc in
its latest version apparently.

Fixes #31.
2019-09-29 14:24:46 +00:00
Jakob Bornecrantz cbee61a008 xrt: Don't derive pointer alignment 2019-09-29 11:45:23 +01:00
Jakob Bornecrantz ec7e98538c st/prober: Code style, pointer star location 2019-09-29 11:45:23 +01:00
Jakob Bornecrantz 76527b73f8 st/oxr: Code style, pointer star location 2019-09-29 11:45:23 +01:00
Jakob Bornecrantz 0987927343 aux/util: Code style, pointer star location 2019-09-29 11:45:23 +01:00
Jakob Bornecrantz 423da670fa aux/tracking: Code style, pointer star location 2019-09-29 11:45:23 +01:00
Jakob Bornecrantz b95e114160 aux/math: Code style, pointer star location 2019-09-29 11:45:23 +01:00
Jakob Bornecrantz 3bee6e3a8b d/ohmd: Code style, pointer star location 2019-09-29 11:45:23 +01:00
Jakob Bornecrantz 30de1d0928 d/psvr: Code style, pointer star location 2019-09-29 11:45:23 +01:00
Jakob Bornecrantz 5cd4d272a2 comp: Code style, pointer star location 2019-09-29 11:45:23 +01:00
Jakob Bornecrantz 42f4784d14 xrt: Code style, pointer star location 2019-09-29 11:45:19 +01:00
Jakob Bornecrantz 70f632be10 aux/tracking: Refactor PS Move tracking code 2019-09-28 18:06:05 +01:00
pblack 5d616cd077 aux/tracking: Port PS Move tracker 2019-09-28 18:04:19 +01:00
Jakob Bornecrantz 3e27720083 t/gui: Better handling of sink interceptors 2019-09-28 18:02:41 +01:00
Jakob Bornecrantz bc26f68c74 aux/calibration: Do fast pass for checkerboard detection and tidy file 2019-09-28 15:17:48 +01:00
Jakob Bornecrantz b5eae545e7 aux/tracking: Fix build on new OpenCV versions 2019-09-28 02:55:37 +01:00
Jakob Bornecrantz 6dcf69df83 aux/tracking: Adjust checkerboard corners for subpixel accuracy 2019-09-28 02:47:42 +01:00
Jakob Bornecrantz ee3f54adb6 aux/tracking: Add parameters to calibration 2019-09-27 20:49:31 +01:00
Jakob Bornecrantz 8d0aa220c1 aux/tracking: Tidy calibration 2019-09-27 20:49:31 +01:00
Jakob Bornecrantz ea5203fbc0 aux/tracking: Fix position hack in PSVR 2019-09-27 20:28:04 +01:00
Jakob Bornecrantz cc2f456663 aux/tracking: Fix warnings 2019-09-27 20:28:04 +01:00
Jakob Bornecrantz 216f7df355 d/ohmd: Less distorted view on external device 2019-09-27 20:28:04 +01:00
Jakob Bornecrantz fcc316d6f1 st/prober: First ball is red 2019-09-27 20:28:04 +01:00
Jakob Bornecrantz 58305a33c6 meson: OCD 2019-09-27 12:25:05 +01:00
Jakob Bornecrantz c295c8e6c9 xrt: Refactor meson and cmake (most) to fix cmake build 2019-09-27 12:19:48 +01:00
Jakob Bornecrantz d848ea010f xrt: s/XRT_BUILD_*/XRT_BUILD_DRIVER_*/g 2019-09-27 12:03:36 +01:00
Jakob Bornecrantz 765d263b96 d/psvr: Use os_nanosleep 2019-09-27 11:44:54 +01:00
Jakob Bornecrantz 53e20af10b meson: Look for hidapi-libusb 2019-09-26 22:34:14 +01:00
Jakob Bornecrantz f6571c13de meson: Look for opencv not openvc4 2019-09-26 22:34:14 +01:00
Jakob Bornecrantz b8205d77fe meson: Add all tracking files
PSVR and PSMV trackers are independant from the drivers, so build them all always.
2019-09-26 22:34:14 +01:00
Jakob Bornecrantz 6081b147fc cmake: Tidy auxiliary file 2019-09-26 22:34:14 +01:00
Jakob Bornecrantz 953ce6480d st/prober: Gate tracking on OpenCV instead of PSMV and PSVR 2019-09-26 22:34:14 +01:00
Drew DeVault b4f0c79abd comp_compositor.c: prefer Wayland over XCB 2019-09-26 12:15:27 -04:00
Drew DeVault 9bcfa56f2f compositor: overhaul Wayland backend
This simplifies the Wayland backend, fixes the build configuration for
it, ports it to xdg-shell stable, and reworks some false assumptions
from the original port.
2019-09-26 12:15:27 -04:00
Jakob Bornecrantz 55cbd03a81 meson: Use the right test 2019-09-26 16:30:52 +01:00
Jakob Bornecrantz 25ce5d29c1 meson: Require Video 4 Linux on Linux 2019-09-26 16:13:24 +01:00
Drew DeVault 3219a4171b .gitlab-ci.yml: add meson steps 2019-09-26 15:05:22 +00:00
Drew DeVault 064aef3526 build: port to meson 2019-09-26 15:05:22 +00:00
Drew DeVault c6586cfd1e comp_compositor: use nanosleep instead of usleep
Improves portability
2019-09-26 15:05:22 +00:00
Jakob Bornecrantz 9c7c818637 d/v4l2: Use more portable sysconf(_SC_PAGESIZE) 2019-09-26 16:03:48 +01:00
Jakob Bornecrantz 765aec6ca1 README: Add Video 4 Linux as a required dep 2019-09-26 16:03:47 +01:00