Commit Graph
61 Commits
Author SHA1 Message Date
Cameron Gutman e7b45e5b6c Set the graphics context size using the width and height of the stream instead of the initial size of the NaCl element. This closes issue #16 2016-02-25 22:48:22 -05:00
Cameron Gutman 24cf97b0ae Only draw frames that are newer than the last frame we drew 2016-02-24 13:55:35 -05:00
Cameron Gutman fe7618504e Default bitrate for 1080p60 should be 20 Mbps 2016-02-21 18:08:43 -05:00
Cameron Gutman 36e76ed86d Use h264bitstream library to mixup the SPS so OS X will use hardware decoding 2016-02-21 15:57:45 -05:00
Cameron Gutman 83ba8a10bb Force hardware acceleration for video decoding so we can see clearly when it's not working 2016-02-20 22:54:16 -05:00
Cameron Gutman 88dc8623cd Send the SPS, PPS, and I-frame together to fix VideoToolbox hardware decoding on OS X. This closes #7 2016-02-20 22:28:58 -05:00
Cameron Gutman b69230ddbd Update README.md 2016-02-19 13:00:43 -05:00
Cameron Gutman 5e66aee4dd Update hardcoded server major version to 5 for testing 2016-02-19 12:15:46 -05:00
Cameron Gutman 39ca14e96a Merge branch 'master' of github.com:cgutman/moonlight-chrome 2016-02-19 12:09:44 -05:00
Cameron Gutman c87c6598c8 Update common-c with support for Gen 5 servers 2016-02-19 12:09:14 -05:00
Cameron Gutman 5d25874131 Clear the decode queue on mouse lock or focus gain. This closes #5 2016-02-18 13:25:49 -05:00
Cameron Gutman 3ce2d68250 Use a wait-free algorithm for audio queueing to minimize audio hiccups. This closes #8 2016-02-18 12:27:12 -05:00
Cameron Gutman cf5b2ccbb4 Flush the decoder before deleting it 2016-02-18 12:04:17 -05:00
Cameron Gutman 441047db9b Use 4 slices per frame for increased software decoding performance 2016-02-18 02:18:59 -05:00
Cameron Gutman f12ec9b986 Use direct submit mode for the audio renderer 2016-02-18 02:12:01 -05:00
Cameron Gutman cce9cc5fb5 Return to the app page if the connection fails when starting up 2016-02-18 01:12:55 -05:00
Cameron Gutman 38d7b5d6c3 Fix returning to the app screen after stopping the stream. Remove messages that aren't meant to be handled in NaCl. 2016-02-18 01:05:58 -05:00
Cameron Gutman 8bac82b694 Fix deadlock on self-initiated connection termination 2016-02-18 00:47:57 -05:00
Cameron Gutman f8fb94f5e2 Optimize the renderer by keeping state changes to a minimum, more explicitly initializing the GL context, and calling glClear once per frame 2016-02-17 00:32:18 -05:00
Cameron Gutman 9fd175e517 Create README.md 2016-02-16 21:53:05 -05:00
Cameron Gutman 033088e120 Ignore the .bc files output by the build 2016-02-16 20:32:47 -05:00
Cameron Gutman f90578882d Implement Ctrl+Alt+Shift+Q to terminate the stream 2016-02-16 20:27:22 -05:00
Cameron Gutman 02a9e80e76 Update common-c to fix another race condition 2016-02-16 20:07:51 -05:00
Cameron Gutman 5d16e891c9 Merge branch 'UI2' 2016-02-16 17:47:59 -05:00
Cameron Gutman 5577587718 Add special button to gamepad mapping and rename to reflect that it's a map of the standard HTML5 button layout, not anything XInput-specific 2016-02-16 15:49:59 -05:00
Cameron Gutman f96bd0546f Merge branch 'master' into UI2 2016-02-16 12:33:49 -05:00
Cameron Gutman fe0120ca16 Allow software decoding fallback for OS X 2016-02-16 12:33:33 -05:00
Cameron Gutman a7e4440cd7 Merge branch 'master' into UI2 2016-02-16 12:26:28 -05:00
Cameron Gutman d2a76d525b Update common-c to allow connection shutdown to work 2016-02-16 12:23:05 -05:00
Cameron Gutman 9f194b08f4 Define LC_CHROME for common-c build 2016-02-16 11:30:31 -05:00
Cameron Gutman c9e65715cb Add audio decoding support 2016-02-14 00:35:39 -05:00
Cameron Gutman 8d02bd8dc0 Add Opus library for audio decoding 2016-02-13 22:12:38 -05:00
Cameron Gutman 15920cd69b Fix a couple of keyboard/mouse capturing issues 2016-02-13 19:09:25 -05:00
Cameron Gutman bf048a6b1d Add pointer lock permission to allow mouse capture in plugin mode 2016-02-13 18:43:39 -05:00
Cameron Gutman 0eca514621 Add proper socket permissions for running as an extension 2016-02-13 18:38:42 -05:00
Cameron Gutman e9870cde4f Fix streaming 2016-02-13 18:32:13 -05:00
Cameron Gutman 5588ed8f19 Add forgotten header 2016-02-13 18:27:48 -05:00
Cameron Gutman 452314ef91 Merge branch 'master' of github.com:cgutman/moonlight-chrome 2016-02-13 18:05:47 -05:00
Cameron Gutman 2cd4856786 Implement keyboard input support 2016-02-13 18:05:34 -05:00
Cameron Gutman 8713d261aa Only send mouse input to the PC when the mouse is locked 2016-02-13 16:17:16 -05:00
Cameron Gutman f77979d904 Increase rendering performance significantly 2016-02-13 15:48:33 -05:00
Cameron Gutman b7032a8957 Rendering is now working 2016-02-13 14:49:27 -05:00
Cameron Gutman e67a841a3e Rendering WIP 2016-02-13 12:14:13 -05:00
Cameron Gutman e72be415c3 Poll every 10 ms for gamepad input instead of constantly 2016-02-13 09:28:13 -05:00
Cameron Gutman 75debd77f9 Update to the index.* files 2016-02-13 09:13:12 -05:00
Cameron Gutman 9a38318210 Video decoding is partially working 2016-02-13 09:12:41 -05:00
Cameron Gutman 7ea534c692 Basic streaming and mouse input works 2016-02-13 07:19:57 -05:00
Cameron Gutman 27fa24cfbc Resolve the duplicate NaCl instance issue that caused all kinds of havoc 2016-02-13 07:02:54 -05:00
Cameron Gutman ea94320c54 Add gamepad support for XInput devices on Windows 2016-02-13 04:29:14 -05:00
Cameron Gutman 999043b4f6 Build with the PNaCl toolchain 2016-02-13 03:35:14 -05:00
Cameron Gutman 4db53bd4ed Add mouse event handling 2016-02-13 02:16:45 -05:00
Cameron Gutman b5b6329c9d Move MoonlightInstance declaration into a header 2016-02-13 02:15:33 -05:00
Cameron Gutman 8bd27fcf3c Include moonlight-common-c includes during build 2016-02-13 01:03:45 -05:00
Cameron Gutman 2e52d68fd7 Initialize nacl_io the correct way for BSD socket emulation to work 2016-02-13 00:50:14 -05:00
Cameron Gutman 88c0f7e96f Allow 'make serve' to work out of the examples directory 2016-02-12 22:46:15 -05:00
Cameron Gutman 28cafabd5f Update common-c with build fixes for NaCl 2016-02-12 22:26:14 -05:00
Cameron Gutman 364b8d6e9b Add a basic entry point to allow the nexe to link 2016-02-12 22:23:26 -05:00
Cameron Gutman 0a04b8dba3 Update gitignore to ignore NaCl SDK compilation output 2016-02-12 22:22:45 -05:00
Cameron Gutman 212de9a3a8 Add basic files for building common-c 2016-02-12 21:44:00 -05:00
Cameron Gutman 695d7bd345 Add moonlight-common-c as a submodule 2016-02-12 20:32:36 -05:00
Cameron Gutman 167d47fbb5 Initial commit 2016-02-12 20:28:41 -05:00