Ryan Pavlik
808892742b
st/p: Fix allocation size error with realloc macro
2019-12-03 09:39:06 -06:00
Ryan Pavlik
f20a0e14e0
st/oxr: Fix oversized allocation in binding code
2019-12-03 09:39:06 -06:00
Ryan Pavlik
4f6b4761cb
aux/util: Add U_ARRAY_REALLOC_OR_FREE to safely wrap realloc.
2019-12-03 09:39:06 -06:00
Ryan Pavlik
a602b2247f
st/oxr: Fix bug in get current interaction profile.
...
We returned the path instead of putting it in the out value.
2019-12-03 09:39:06 -06:00
Ryan Pavlik
7ca4fb34d5
d/v4l2: typo fix
2019-12-03 09:39:06 -06:00
Ryan Pavlik
90e57a4e8a
xrt: Fix types related to EGL.
...
Fixes #46
2019-12-03 09:30:31 -06:00
Ryan Pavlik
93f89ae526
ci: Update CI templates
2019-12-03 09:15:33 -06:00
Jakob Bornecrantz
ba9fd61bb8
u/sink: Reject frames that don't have a valid JPEG header
2019-11-23 00:01:05 +00:00
Jakob Bornecrantz
cdec2ca367
t/calib: Add resolution size to image name
2019-11-22 23:59:35 +00:00
Jakob Bornecrantz
ab0d94201a
t/calib: s/grey/gray/g
2019-11-22 15:53:17 +00:00
Jakob Bornecrantz
6cba920668
t/calib: Force the principal point to the center of the image
2019-11-22 15:51:58 +00:00
Jakob Bornecrantz
9b60bd7c77
t/calib: Add support to load images
2019-11-22 14:20:56 +00:00
Jakob Bornecrantz
0cbd3e8601
t/calib: Do not fix principal point and tweak balance
2019-11-22 14:19:22 +00:00
Jakob Bornecrantz
392b42e900
t/calib: Don't double wait for frame after finding a measurement
2019-11-22 14:09:29 +00:00
Jakob Bornecrantz
3f202d0d6f
t/calib: Make cooldown period separate from wait period
2019-11-22 12:36:23 +00:00
Jakob Bornecrantz
86dc9e1a6b
t/calib: Re-organize parameters and make it possible to select board type
2019-11-22 12:36:23 +00:00
Jakob Bornecrantz
9a4b55758a
st/gui: Add support for mirror RGB option
2019-11-21 22:43:04 +00:00
Jakob Bornecrantz
de67590bbf
t/calib: Tweak defaults
2019-11-21 22:43:04 +00:00
Jakob Bornecrantz
504a34bc95
t/calib: Tidy messages
2019-11-21 22:43:04 +00:00
Jakob Bornecrantz
276e81c373
t/calib: Add option to mirror RGB image
2019-11-21 22:40:00 +00:00
Jakob Bornecrantz
94c55fc206
t/calib: Ensure that camera is still before taking measurment
2019-11-21 22:40:00 +00:00
Jakob Bornecrantz
50d28369c4
m/headers: Rename C++ headers to hpp and tidy headers
2019-11-21 14:54:17 +00:00
Jakob Bornecrantz
54f7c2ed1d
t/headers: Rename C++ headers to hpp and tidy headers
2019-11-21 13:00:52 +00:00
Jakob Bornecrantz
84f9ad962c
st/gui: Tidy UI
2019-11-20 23:50:42 +00:00
Jakob Bornecrantz
ff4b91c688
st/gui: Expose fisheye option
2019-11-20 23:50:42 +00:00
Jakob Bornecrantz
dc6da46852
st/gui: Add option to save image and add separators"
2019-11-20 23:50:42 +00:00
Jakob Bornecrantz
d6317b2a14
st/gui: Expose new parameters to calibration
2019-11-20 23:50:42 +00:00
Jakob Bornecrantz
587c71182b
t/calib: Make it possible to use fisheye functions (mono only)
2019-11-20 23:50:26 +00:00
Jakob Bornecrantz
a36af4227f
t/calib: Make it possible to save images used during calibration (mono only)
2019-11-20 23:49:56 +00:00
Jakob Bornecrantz
26d7e91615
t/calib: Even more docs
2019-11-20 22:05:23 +00:00
Jakob Bornecrantz
4925ea657f
t/calib: Add support for [asym]circles grid, not active right now
2019-11-20 22:05:23 +00:00
Jakob Bornecrantz
bd02e47078
t/calib: Add mono calibration
2019-11-20 22:05:16 +00:00
Jakob Bornecrantz
49f9a1a46f
t/calib: Add stub for hacking in measurments
2019-11-20 22:03:20 +00:00
Jakob Bornecrantz
6bc617b8e3
t/calib: Tidy TermCriteria
2019-11-20 22:03:20 +00:00
Jakob Bornecrantz
645a45c167
t/calib: Tweak default params
2019-11-20 22:03:20 +00:00
Jakob Bornecrantz
c16756c330
t/calib: Ensure everything have initializers
2019-11-20 22:03:20 +00:00
Jakob Bornecrantz
ebb41601ed
t/calib: Some doc-comments and typedefs to clarify code
2019-11-20 22:03:20 +00:00
Jakob Bornecrantz
79b7d2504a
t/calib: Expand mono calibration a bit
2019-11-18 19:14:02 +00:00
Simon Ser
9347ecfe00
xrt: check arraySize==1 when using OpenGL ES 2
...
Only OpenGL ES 3 supports GL_TEXTURE_2D_ARRAY.
2019-11-18 15:16:16 +01:00
Simon Ser
c395f85565
oxr: add XR_TYPE_SWAPCHAIN_IMAGE_OPENGL_ES_KHR support
2019-11-18 15:16:16 +01:00
Simon Ser
81cace0250
comp: replace glCreateTextures with glGenTextures+glBindTexture
...
glCreateTextures is only available on OpenGL 4.5. It's not supported on
OpenGL ES.
2019-11-18 15:16:16 +01:00
Simon Ser
a8b2370946
xrt: accept OpenGL ES in oxr_session_populate_egl
2019-11-18 15:16:15 +01:00
Simon Ser
5eacb6f309
xrt: add support for OpenGL ES
...
This commit advertises the extension and adds support for
xrGetOpenGLESGraphicsRequirementsKHR
2019-11-18 15:16:15 +01:00
Jakob Bornecrantz
b358e22fd7
t/calib: Stub in support for mono calibration
2019-11-17 22:11:41 +00:00
Jakob Bornecrantz
ad45aeb0a7
t/calib: Refactor loading a bit more
2019-11-17 22:09:01 +00:00
Jakob Bornecrantz
4af9978803
st/gui: Correctly destroy timekeeping
2019-11-17 20:53:18 +00:00
Christoph Haag
b17f1c2f97
st/oxr: Initialize sdl on main thread
...
Calling SDL_Init() in different threads in the same process crashes.
In this SDL2 code X11_XOpenDisplay() will be a null pointer on the second thread;
if (SDL_X11_LoadSymbols()) {
display = X11_XOpenDisplay(NULL);
This becomes a problem when monado starts the debug UI in a thread,
and then an OpenXR client application tries to initialize SDL.
Two consecutive SDL_Init() in the same thread is harmless though.
2019-11-17 13:59:21 +00:00
Jakob Bornecrantz
2ad2243fe7
t/doc: Do not put directory in aux_tracking group
2019-11-16 23:29:29 +00:00
Jakob Bornecrantz
38ec113c04
t/calib: Add comments to sizes
2019-11-16 23:29:10 +00:00
Jakob Bornecrantz
8917607a49
t/calib: Also expose disparity_to_depth on both raw and refined settings
2019-11-16 23:27:32 +00:00