Commit graph

1149 commits

Author SHA1 Message Date
Geoffrey McRae
40a1b860bf [c-host] linux: updated, but not working yet :) 2019-03-04 17:08:49 +11:00
Geoffrey McRae
8120913acb [c-host] dxgi: reworked for better pipelining 2019-03-04 16:56:45 +11:00
Geoffrey McRae
935eb0651d [c-host] dxgi: remove needsUnmap bool 2019-03-04 15:11:40 +11:00
Geoffrey McRae
925a93686b [c-host] dxgi: cleanup init code failure path 2019-03-04 15:09:41 +11:00
Geoffrey McRae
6f545483c9 [c-host] rework events 2019-03-04 15:03:11 +11:00
Geoffrey McRae
a8b018d5da [c-host] app: fix updateEvent race problem 2019-03-04 13:38:17 +11:00
Geoffrey McRae
6e35033f2e [c-host] app: reinit on failure to capture a frame
A failed to capture a frame should not be considered fatal as it may be due to a driver issue or bug, instead try to reinitialize first
2019-03-04 13:06:30 +11:00
Geoffrey McRae
f79a1b2533 [c-host] dxgi: fixed memory leak 2019-03-04 12:04:17 +11:00
Geoffrey McRae
79ce98116a [c-host] dxgi: allow a 2nd frame to be captured during a prior copy 2019-03-04 10:42:54 +11:00
Geoffrey McRae
942c417cbb [c-host] dxgi: only flag frame updates if there was actually an update 2019-03-04 10:17:19 +11:00
Geoffrey McRae
8df850023c [c-host] fix deadlock when there is no update 2019-03-04 10:16:51 +11:00
Geoffrey McRae
eedde4abcb [c-host] fixed build under linux 2019-03-04 09:45:45 +11:00
Geoffrey McRae
fcc06dfad4 [c-host] app: inital capture is now working 2019-03-04 09:37:50 +11:00
Geoffrey McRae
ff850c4251 [c-host] remove testing code 2019-03-03 23:47:04 +11:00
Geoffrey McRae
20f8c92bb2 [c-host] dxgi: implement getFrame 2019-03-03 23:46:03 +11:00
Geoffrey McRae
22dcb39adb [c-host] app: fix deadlock on reinit 2019-03-03 23:45:37 +11:00
Geoffrey McRae
f572a72c2a [c-host] windows: added event support 2019-03-03 23:30:02 +11:00
Geoffrey McRae
be736c48e9 [c-host] dxgi: release resources 2019-03-03 21:55:29 +11:00
Geoffrey McRae
67c7c79dae [c-host] linux: add getFrame support to xcb capture 2019-03-02 20:33:45 +11:00
Geoffrey McRae
61108ba760 [c-host] app: add initial frame capture support 2019-03-02 20:33:21 +11:00
Geoffrey McRae
7285f9e9ad [c-host] add app_quit for clean shutdown support 2019-03-02 20:31:33 +11:00
Geoffrey McRae
b29de8f370 [c-host] add platform event interface and linux support 2019-03-02 20:22:35 +11:00
Geoffrey McRae
7a828b3aee [c-host] linux: initial xcb capture 2019-03-02 11:59:03 +11:00
Geoffrey McRae
afc264e846 [c-host] linux: added initial stubs for XCB capture 2019-03-01 21:41:32 +11:00
Geoffrey McRae
37c1d7ea58 [c-host] dont use a interface that fails to create 2019-03-01 21:41:06 +11:00
Geoffrey McRae
4a72dab02a [c-host] linux: correct device name comparison 2019-03-01 21:17:16 +11:00
Geoffrey McRae
22e5b323c8 [c-host] linux: simplify read from device 2019-03-01 21:12:42 +11:00
Geoffrey McRae
b275ac5765 [c-host] linux: check the device name 2019-03-01 21:12:11 +11:00
Geoffrey McRae
1475845675 [c-host] correct buffer size for stncat 2019-03-01 21:03:10 +11:00
Geoffrey McRae
6d6034870e [c-host] implemented linux ivshmem support 2019-03-01 21:01:25 +11:00
Geoffrey McRae
0a3b1e930a [c-host] update linux startup 2019-03-01 15:59:53 +11:00
Geoffrey McRae
836e8a5654 [c-host] improve capture reinitialization 2019-03-01 15:57:48 +11:00
Geoffrey McRae
39ac07bfde [c-host] removed debug code 2019-03-01 15:47:50 +11:00
Geoffrey McRae
fc178b40bc [c-host] general windows fixes 2019-03-01 15:46:09 +11:00
Geoffrey McRae
9170b24fee [c-host] added linux thread support 2019-03-01 12:54:31 +11:00
Geoffrey McRae
3674b4ed96 [c-host] added cursor and frame thread stubs 2019-03-01 12:42:12 +11:00
Geoffrey McRae
c9d9205bb8 [c-host] add missing pointer initialization 2019-03-01 12:41:37 +11:00
Geoffrey McRae
2c54fd2357 [c-host] added platform agnostic thread interface 2019-03-01 12:24:23 +11:00
Geoffrey McRae
d881df916e [c-host] more windows basics and ivshmem pointer init 2019-02-28 20:50:22 +11:00
Geoffrey McRae
6894ed7d5c [c-host] don't include windows.h in the main app 2019-02-28 19:47:25 +11:00
Geoffrey McRae
25a2b2d5d3 [c-host] fix makefile for linux builds 2019-02-28 19:46:33 +11:00
Geoffrey McRae
4fd62a58bd [c-host] move dxgi capture into windows directory 2019-02-28 19:44:15 +11:00
Geoffrey McRae
532dc07c7b [c-host] move windows dll folder into windows dir 2019-02-28 19:35:42 +11:00
Geoffrey McRae
fb2a2076a2 [c-host] added linux platform stubs 2019-02-28 19:31:04 +11:00
Geoffrey McRae
a8622be1c6 [c-host] added windows ivshmem unmap support 2019-02-28 19:27:17 +11:00
Geoffrey McRae
810fb73362 [common] gnuc on windows still uses / as the directory separator 2019-02-28 19:21:00 +11:00
Geoffrey McRae
6950379d94 [c-host] initial ivshmem code and platform specific init 2019-02-28 19:20:35 +11:00
Geoffrey McRae
f9020659e6 [c-host] only include windows defines when building on windows 2019-02-28 16:45:58 +11:00
Geoffrey McRae
c99f4e31c5 [c-host] added new pure C host project, see README.md 2019-02-28 16:35:30 +11:00
Geoffrey McRae
526c09b7ff [host] added missing file from build 2019-02-28 16:26:09 +11:00