52 Commits

Author SHA1 Message Date
jp9000
ed58b5b46e Revert "Use D3D11 for intermediary game capture contexts"
This reverts commit f5c2dc094aade1feeb50220fa7583b5616e02b3d.

This was a change that was added to fix support for certain intel
devices, but ultimately I feel like it's just not needed and is trying
to fix something that isn't broken.
2015-01-23 14:51:18 -08:00
jp9000
f5c2dc094a Use D3D11 for intermediary game capture contexts
This should hopefully prevent issues with those intel integrated laptops
2014-11-19 15:48:36 -08:00
jp9000
43d4fbaa6c Game capture: make minor GL imrovements
There's no need to create a dummy context for GL -- always use the
game's context.  The dummy context is completely pointless for GL.
2014-05-21 02:11:56 -07:00
Richard Stanway
a3ebd68928 Revert some fixes that broke game capture 2014-04-09 01:04:48 +02:00
Richard Stanway
5d6cc218eb Some static analysis fixes via Coverity Scan 2014-04-09 00:47:39 +02:00
Sean Stanek
f4b30120e5 GraphicsCaptureHook.h change #define OLDHOOKS : 0 for new hooking methods, 1 for original hooking methods 2014-03-31 00:36:33 -05:00
jp9000
50055a80b5 Update version to 0.60 test 8 2014-01-17 17:08:13 -07:00
jp9000
9746254639 Add nvidia optimus hint if user selects nvidia
Right now, the state of things is that if the user was running an nvidia
laptop, he/she "had" to use the first adapter, and then fool with the
nvidia control panel to get the nvidia working properly.

This change makes it so that the nvidia optimus hint will be activated
and the first adapter will be forced if the user selects the nvidia
adapter in OBS' video adapter drop down, making it much easier for users
to deal with the nvidia laptop issue.
2014-01-13 20:05:25 -07:00
jp9000
f7a512f597 added windows 8.1 fixes for game capture, and fixed some potential opengl bugs 2013-10-19 21:21:01 -07:00
jp9000
c580de97ec fixed a bug with gl game capture where it was using a NULL window handle to initialize the swap chains. surprisingly, it still worked on some video drivers. 2013-08-17 11:25:35 -07:00
jp9000
6a35942477 actually, keep that new windowing code in game capture. 2013-08-16 17:38:43 -07:00
jp9000
0861f628c2 revert recent patch to separate the windowing out into a thread 2013-08-16 17:19:17 -07:00
jp9000
27aa4ef755 put all game capture windowing into a separate thread 2013-08-16 17:00:47 -07:00
jp9000
73309485c8 testing out a fix for fast GL game capture 2013-08-15 20:39:59 -07:00
jp9000
dfcf2d81df disabled the new GL capture extensions until I can put a proper interface to toggle them 2013-08-10 01:48:09 -07:00
jp9000
9e6ea97181 added a flush to the interop code just for further testing 2013-07-26 15:33:31 -07:00
jp9000
a2aa24582d revert d3d9 interop stuff (through defines) 2013-07-25 13:01:14 -07:00
jp9000
7b4a8cfecf updated version and added a minor opengl capture tweak to test 2013-07-21 10:33:22 -07:00
jp9000
999d41b10c fixed a minor bug with the interop2->interop1 commit 2013-07-19 00:21:02 -07:00
jp9000
3fe7c11cfc use the interop1 extension instead of interop2 2013-07-18 22:52:41 -07:00
jp9000
4021dc0780 game capture - fixed a GL capturing bug that would cause black screens with the latest update on some systems that have issues with or do not fully support the new capture type. 2013-07-18 19:21:44 -07:00
jp9000
6e1253f831 fixed a leak with GL shutdown 2013-07-10 22:25:28 -07:00
jp9000
7603b27981 just added a few tiny things to GL capture for debugging purposes 2013-07-10 22:06:22 -07:00
jp9000
f0466ebfe6 fixed a bug with opengl capture where it would cease capturing some games after going fullscreen because their device context handles or window handles change 2013-07-10 19:08:25 -07:00
jp9000
e26a0e131b made a minor fix to the new GL capture, was using the functions that were incompatible with many devices 2013-06-23 18:04:53 -07:00
jp9000
6c739ae966 one minor memory leak fix to new gl capture method 2013-06-23 00:00:18 -07:00
jp9000
94269cff8e implemented new capture for GL games 2013-06-22 23:53:27 -07:00
jp9000
2d05e4edd3 reverted to memcpy because Jim apparently didn't do proper testing like he should have 2013-05-03 17:17:45 -07:00
jp9000
96dc5b84a0 game capture - added yet more logging to d3d10/d3d11/gl 2013-05-01 17:57:43 -07:00
jp9000
b07fe5526d Significantly increased game capture logging data, added a variety of reacquiring fixes, fixed natural selection 2 not acquiring when windowed 2013-05-01 15:51:07 -07:00
jp9000
8c25c0ca53 game capture: fixed an issue where keepalive would fail before it even had a chance to start up 2013-04-25 16:00:57 -07:00
jp9000
6e21083ba6 game capture - changed where the keepalive check occurs in code, just to be safe 2013-04-20 11:01:12 -07:00
jp9000
e124433d53 added keepalive message for GL 2013-04-19 08:41:26 -07:00
jp9000
044a8b6882 fixed some bugs with game capture 2013-04-15 05:44:29 -07:00
jp9000
3e314ce6e2 add new keepalive code to the opengl capture as well 2013-03-21 19:30:49 -07:00
jp9000
6a44eba695 fixed game capture to work regardless of target application bit 2013-02-11 19:26:35 -07:00
jp9000
0fb0ce81f6 fixed issues with game capture not acquiring 2012-12-10 06:29:02 -07:00
jp9000
6ebf3633d9 tons of bug fixes, added send buffer again, fixed japanese localization, added outline 2012-12-05 19:43:44 -07:00
jp9000
0d5fb12717 minor fixes to graphics capture hook 2012-12-04 04:06:04 -07:00
jp9000
286704a176 another CTS/DTS fix, fixed network issues, removed send buffer, fixed some graphics capture crashes, fixed win 8 sleep problems 2012-12-04 03:17:34 -07:00
jim
8a5995e19f changed pdbs to output to rundir, added mouse cursor to graphics capture, removed redundant hook stuff, reverted frame drop code, and other tweaks 2012-11-22 18:02:33 -07:00
jim
bf71c44e6a fixed some alt-tab issues with graphics capture, also still tweaking frame drop code 2012-11-20 20:53:58 -07:00
jim
7c65f2e5a7 minor tweaks, made d3d9 capture awesome, as well as d3d10.0 capture 2012-11-14 19:58:01 -07:00
Richard Stanway
52095eae20 Don't try to initialize OpenGL hook when window is minimized 2012-11-12 23:35:18 -05:00
jim
4ae2865744 more graphics capture tweaks and optimizations 2012-11-11 21:23:48 -07:00
Richard Stanway
19cae02948 Merge remote-tracking branch 'origin/master' 2012-11-10 18:35:11 -05:00
Richard Stanway
27deb9552c Additionally hook wglSwapBuffers for OpenGL 2012-11-10 16:52:23 -05:00
jim
3774a5d6f0 test new d3d9 capture code - gl & d3d10.0 additions on the way 2012-11-09 20:50:55 -07:00
Richard Stanway
f9187b9ea8 Fix OpenGL capture hook setup 2012-11-09 22:19:25 -05:00
jim
ee2d7fe16b graphics capture plugin update 2012-11-08 21:56:18 -07:00