14 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
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
5d25874131 Clear the decode queue on mouse lock or focus gain. This closes #5 2016-02-18 13:25:49 -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
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
fe0120ca16 Allow software decoding fallback for OS X 2016-02-16 12:33:33 -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
9a38318210 Video decoding is partially working 2016-02-13 09:12:41 -05:00