Geoffrey McRae
fc66a4a19c
[client] egl: use persistant mapped texture buffers
...
While it is recommended to use memory barriers when updating a buffer
like we are, since we double buffer it is unlikely we will corrupt a
prior frame, and even if we do since it's just texture data at worst
we might see a tear.
2019-05-22 11:37:27 +10:00
Geoffrey McRae
087387087e
[client] fix race condition on initial uniform access
2019-05-22 11:36:47 +10:00
Geoffrey McRae
3f404905d2
[c-host] added tray icon and context menu
2019-05-21 17:52:58 +10:00
Geoffrey McRae
67595d6deb
[client] added missing semi-colon (not sure how that happened)
2019-05-21 15:51:45 +10:00
Geoffrey McRae
77f942711a
[client] fixed typo in option description
2019-05-21 15:51:14 +10:00
Geoffrey McRae
e3c98ddc35
[client] port all configuration parsing to use the new option helper
2019-05-21 15:03:59 +10:00
Geoffrey McRae
db0d966102
[common] option: add debug errors for invalid options
2019-05-21 14:58:11 +10:00
Geoffrey McRae
a29639fceb
[common] option: fix another invalid usage of an unset variable
2019-05-21 13:24:28 +10:00
Geoffrey McRae
0605b7df8c
[common] option: allow short options to toggle boolean values
2019-05-21 12:58:53 +10:00
Geoffrey McRae
51ca08719e
[common] option: trim whitespace from option names and values
2019-05-21 12:34:41 +10:00
Geoffrey McRae
ce9b94e93d
[common] option: fix crash on failure to parse invalid config file
2019-05-21 12:28:13 +10:00
Geoffrey McRae
7cc0f7cb99
[common] option: fix incorrect column header padding
2019-05-21 11:38:40 +10:00
Geoffrey McRae
06c229dfd4
[common] option: fix invalid access of null/invalid options
2019-05-21 11:34:50 +10:00
Geoffrey McRae
2d5f6d65ce
[common] option: added shortopt support and pretty help print
2019-05-21 11:31:31 +10:00
Geoffrey McRae
b9841351b4
[common] added stringutils with alloc_sprintf helper
2019-05-21 11:31:19 +10:00
Geoffrey McRae
d9b6d115d1
[common] fix stringlist const free bug
2019-05-21 11:30:05 +10:00
Geoffrey McRae
cc6dd58778
[c-host] windows: fix dxgi option struct syntax
2019-05-17 09:27:04 +10:00
Geoffrey McRae
0ba931cbed
[c-host] windows: add log file output option
2019-05-17 09:26:42 +10:00
Geoffrey McRae
a7daeb2a12
[c-host] option: fix memory corruption due to usage of old pointers
2019-05-17 09:25:57 +10:00
Geoffrey McRae
2fe9dc7ca1
[common] track if option set failed and print help if so
2019-05-12 16:51:37 +10:00
Geoffrey McRae
b662128708
[c-host] linux: implemented getValues
support for shmDevice option
2019-05-12 16:14:25 +10:00
Geoffrey McRae
e22f33a44b
[common] add getValues callback for options
2019-05-12 16:13:50 +10:00
Geoffrey McRae
5d69d2aba9
[common] added new StringList helper module
2019-05-12 16:12:12 +10:00
Geoffrey McRae
0090580a64
[c-host] be compatible with new option ABI
2019-05-11 20:59:31 +10:00
Geoffrey McRae
538a6dc08e
[common] rework option API to allow for custom types
2019-05-11 20:58:49 +10:00
Geoffrey McRae
5b199d8f25
[common] make local struct local
2019-05-11 19:07:10 +10:00
Geoffrey McRae
51ddb62126
[c-host] load config from looking-glass-host.ini if available
2019-05-11 18:23:06 +10:00
Geoffrey McRae
785bc33192
[common] added config file loading capability
2019-05-11 18:22:01 +10:00
Geoffrey McRae
522bacb1f0
[c-host] linux: remove extra shm device name validation
...
This is now validated by the option validator callback
2019-05-11 11:59:26 +10:00
Geoffrey McRae
cf030f6f0c
[common] remove "Option" from the option help output
2019-05-11 11:51:29 +10:00
Geoffrey McRae
823164a924
[common] further option help cleanup
2019-05-11 11:50:26 +10:00
Geoffrey McRae
2ddae623b8
[c-host] update to use new option validator and tidy up output
2019-05-11 11:35:42 +10:00
Geoffrey McRae
86c7286aad
[common] seperate validator and clean up output
2019-05-11 11:35:17 +10:00
Geoffrey McRae
9886316e07
[c-host] linux: fix shmDevice file size check
2019-05-11 11:23:27 +10:00
Geoffrey McRae
8a3356859c
[c-host] implement shmDevice option validator and help
2019-05-11 11:21:18 +10:00
Geoffrey McRae
32d5f1db85
[common] validate all options including defaults
2019-05-11 11:21:00 +10:00
Paul Götzinger
b5975e0f05
[host] [c-host] added support to specify IVSHMEM device
...
[host] basic IVSHMEM device selecting implemented
Minor fixes for IVSHMEM device scanning
[c-host] added support to specify IVSHMEM device
2019-05-10 22:28:27 +10:00
Geoffrey McRae
53ade56b4e
[common] fix option parser memory leak
2019-05-09 23:05:33 +10:00
Geoffrey McRae
5677117c0d
[c-host] nvfbc: remove debug line from prior commit
2019-05-09 22:53:02 +10:00
Geoffrey McRae
558ae5dc45
[c-host] dxgi: initialize option to NULL for consistancy
2019-05-09 22:51:12 +10:00
Geoffrey McRae
83f63f4c42
[c-host] dxgi: add the ability to specify the adapter and/or output.
...
Fixes #132
2019-05-09 22:48:39 +10:00
Geoffrey McRae
247e92937c
[common] match the correct option
2019-05-09 22:47:48 +10:00
Geoffrey McRae
63314941f6
[c-host] fix build under windows
2019-05-09 22:13:31 +10:00
Geoffrey McRae
e7345b9711
[c-host] initial agnostic option api and parser
2019-05-09 22:06:58 +10:00
Geoffrey McRae
22f9fa3938
[c-host] windows: fix errors from prior commit
2019-05-09 19:32:19 +10:00
Geoffrey McRae
4617829d41
[c-host] provide a platform agnostic method of passing args to app_main
2019-05-09 19:30:09 +10:00
Geoffrey McRae
fc907b802f
[c-host] linux: updated to use the correct headers
2019-05-09 19:07:23 +10:00
Geoffrey McRae
ba50fbdc3e
[client] egl: implement pixel perfect upscaling
2019-04-19 11:23:51 +10:00
Geoffrey McRae
6f77ba8aea
[client] perform proper shutdown on SIGTERM
2019-04-14 09:15:03 +10:00
Geoffrey McRae
972ff93e6c
[common] fix build under arch, thanks @techfreak for pointing this out
2019-04-12 12:20:24 +10:00