55 Commits

Author SHA1 Message Date
jp9000
24458c4943 Fix issues crop handling
The crop issue fixed by 3028c71 created another bug that would only
happen with flipped textures.  If the y value was above the y2 value for
example, it would cause it to always just remove the image.  This fixes
that bug.
2014-09-07 22:42:49 -07:00
jp9000
3028c7182f Temporary solution to mouse cursor crop issue
Cropping in OBS causes the sprite drawing function to crop any texture
drawn.  Because things like mouse cursors can be drawn separately, they
also have crop applied, which is kind of bad.  We shouldn't really be
cropping this way -- we should be using some math to intelligently cut
off the separate textures, but OBS1 can't really handle that properly
due to

Because crop also applies to the mouse cursors, any crop larger than the
mouse cursor could cause the cursor to draw incorrectly.  This
workaround just prevents drawing the mouse cursor if it's larger than
the mouse cursor.
2014-09-07 12:12:00 -07:00
palana
6ab815ddc9 Split shader creation into separate compilation and object creation functions 2014-03-21 22:23:05 +01:00
jp9000
e7201ce3d2 Reverted nvidia optimus enablement
Turned out to be causing crashes in some cases.  I wish they had better
laptop drivers.
2014-02-15 20:32:40 -07:00
Richard Stanway
b5239f7ee7 Improved debug logging
Log if QPC timestamps go backwards
2014-01-20 21:46:08 +01:00
jp9000
d5eb6f0dfd Fixed an rather unsightly mistake
I shouldn't have commited without compiling that last tiny change.
2014-01-14 00:42:15 -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
Muf
2d32af58fc Add functions for easier texture sharing 2013-12-16 04:27:29 +01:00
palana
fb605fa6e7 Also log adapter id (in case of duplicate adapter names due to Optimus/SLI) 2013-12-12 22:17:10 +01:00
palana
0a32e58f05 Updated Microsoft Basic Render Driver detection for display device enumeration 2013-10-17 22:41:28 +02:00
palana
00333d37a3 Added output enumeration to display adapter enumeration logging 2013-10-16 21:41:30 +02:00
HomeWorld
6f4bd41db1 Revert "Commented cropping stuff in D3D10System::DrawSpriteExRotate"
This reverts commit 8e2583c2c265c79dda24bd2c8fba22cba411b609.
2013-09-12 07:21:31 +03:00
HomeWorld
8e2583c2c2 Commented cropping stuff in D3D10System::DrawSpriteExRotate 2013-09-12 07:10:16 +03:00
palana
8890fdfe11 Added vertex rotation support to DrawSpriteExRotate
Allows for rotations that are not a multiple of 90 degrees
2013-09-12 03:39:32 +02:00
jp9000
8fd7282cb8 Added a "projector" mode to allow outputting the preview to a separate screen at the same time as the main window (differs from fullscreen preview in that you can do it to a separate monitor while still having the main OBS window open) 2013-09-02 17:34:36 -07:00
jp9000
6d1a39f833 finally fixed monitor rotation for monitor capture on windows 8 (though it still baffles me beyond reason why anyone would use monitor capture at all with a portrait desktop) 2013-08-04 15:26:30 -07:00
Richard Stanway
0fbc5d18b3 Update D3D10 startup failure error message 2013-07-30 00:26:34 -04:00
paibox
e9037cfd5a Cropping code cleanup, fix for cropping textures with inverted texture coords 2013-05-05 02:27:44 +02:00
jp9000
4b50f99f6b cleaned up shared texture functions a bit 2013-05-01 21:10:06 -07:00
jp9000
e9df987b73 Fixed a slight comment bug 2013-05-01 15:48:30 -07:00
jp9000
5077cc54a4 fixed cropping code to properly account for inversion of either positional values or texture coordinate values, and fixed the texture coordinate problem 2013-04-20 12:52:10 -07:00
Richard Stanway
be2e8582b8 Initial cropping support (no UI) 2013-04-19 13:21:06 -04:00
jp9000
5f417936d3 Added "Video adapter" selection option to video settings 2013-04-10 21:18:00 -07:00
Richard Stanway
9aceaadbcc Some small code cleanups via static analysis (cppcheck) 2013-04-04 03:20:02 -04:00
jp9000
abfef72d85 0.48.007 - removed circular list usage until I can verify it's 100% safe to use, removed a potential memory leak from directshow sources, other minor checks and tweaks 2013-03-31 05:47:11 -07:00
jp9000
ac3fc240e7 fixed hooking issues with D3D 10/10.1/11 games, made it hook by DXGI rather than by the individual APIs
also, added a copy for game capture to prevent render slowdowns
2013-02-28 18:33:49 -07:00
Richard Stanway
1686cdc9b8 Merge branch 'master' into updater 2012-12-30 18:10:14 -05:00
jp9000
ab859da2aa fixed some mic sync issues
fixed some potential desktop sync issues
fixed some bad names
fixed more json issues
fixed mp4 file syncing
2012-12-30 14:30:08 -07:00
Richard Stanway
e879be1480 Improve a few crash messages 2012-12-23 15:29:45 -05:00
Richard Stanway
575fe248b5 Add OS version to OBSApi, avoid redundant calls to GetVersionEx 2012-12-17 09:39:25 -05:00
jp9000
2573310d75 made volume controls linear again, updated win8 monitor capture 2012-12-15 16:53:33 -07:00
jp9000
b9d79f4c3f tons of fixes related to audio and crashes, argh. also win8 capture 2012-12-14 04:13:38 -07:00
Richard Stanway
ecd7c37fcf Add check for incompatible code patches 2012-12-12 06:36:07 -05:00
jp9000
8cd08c4a1d allow selective compiling of dxgi1.2 2012-12-05 22:32:31 -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
Richard Stanway
0361a0ce13 Fix that damn typo in every log file :) 2012-11-29 23:09:45 -05:00
jim
7e10a6cad2 added more info to crash handler, fixed some bugs, adjusted rtmp code, removed unnecessary traces 2012-11-22 06:50:22 -07:00
jim
7c65f2e5a7 minor tweaks, made d3d9 capture awesome, as well as d3d10.0 capture 2012-11-14 19:58:01 -07:00
jim
ee2d7fe16b graphics capture plugin update 2012-11-08 21:56:18 -07:00
jim
8021e7c49b 0.432a 2012-11-02 00:09:06 -07:00
jim
0cfae6cf51 0.43a 2012-10-28 17:36:11 -07:00
jim
42c6b401e2 threading, optimizations, api additions, directshow features 2012-10-24 23:58:42 -07:00
jim
75db90544f updated graphics capture code, other random tweaks 2012-10-20 22:42:35 -07:00
jim
d1536097a8 0.42a 2012-10-10 22:13:08 -07:00
jim
4699c61e0e 0.414 - finally truly fixed sync issues thank god - also tons of other stuff 2012-10-08 01:42:59 -07:00
jim
bcf5e3f702 fixed device format priority, added more supported device formats, added an option to force mono on mics, tweaked d3d code 2012-10-05 17:22:56 -07:00
jim
e544bbe758 flv fix, garbled output fix, tiny encoder adjustment, gpu compatibility fix, other dshow fixes 2012-10-04 17:38:26 -07:00
jim
30efe88459 0.411a hotfix and updated russian translation 2012-10-03 16:03:19 -07:00
jim
dc0c272100 0.41a 2012-10-02 19:09:18 -07:00
jim
eed3eab722 finished slide show source/etc 2012-10-02 15:45:58 -07:00