obs-studio/libobs
Jim e62759a3fa libobs-d3d11: Make sure libobs knows the new adapter index
Because Intel has wonderful code which forces it to run on the iGPU if
there are both an Intel iGPU and an Intel dGPU on the same system, the
adapter index OBS is set to internally will no longer be valid, thus if
anyone calls `obs_get_video_info()` to try to find out what adapter
index OBS is running on, it will be invalid on those computers.
Wonderful.

So, basically, this code here just fixe it so if you want to call
`obs_get_video_info()`, it'll actually have a valid adapter index now,
that way we can reference the adapter index when determining what GPU
we're actually running on without having to like, do anything super
complicated and silly like comparing adapter GUIDs just to figure out
what adapter OBS is actually runing on. I don't want the code to be a
mess anymore.

(I like how in any other situation on the face of the planet, there's no
need to force OBS to run on an integrated adapter. *Normally* OBS
*should* run on the dedicated adapter, that way it can actually capture
games properly. You can probably guess as to why they're forcing it to
run on the integrated adapter rather than the dedicated adapter. But you
know what? Whatever. I don't really care anymore I guess. Just...
whatever. Here we are I guess. Also I was in a bad mood while writing
this just as a disclaimer.)

(I hate that this commit exist. I hate that the commit c83eaaa51c exists
even more.)
2022-11-21 08:47:36 -08:00
..
audio-monitoring libobs: Fix audio monitor output error in macOS 2022-07-25 17:28:42 +02:00
callback libobs/callback: Make proc_handler_t threadsafe 2021-10-14 04:28:04 -07:00
cmake cmake: Fix CMake package export templates for CMake 3.24 2022-08-09 19:48:03 -04:00
data libobs: Add P3 shaders for Mac 2022-11-09 22:34:50 -08:00
graphics libobs/graphics: Precompute more accurate matrix 2022-10-05 08:36:29 -07:00
media-io libobs: Change audio resampler to new channel API 2022-11-10 19:37:07 -05:00
pkgconfig cmake: Fix pkgconfig generation 2022-07-19 09:28:51 -03:00
util libobs: Replace invocations of sprintf with snprintf 2022-11-11 19:51:27 +01:00
CMakeLists.txt libobs: Use system header notation for pthread.h include 2022-08-24 05:40:37 -07:00
obs-audio-controls.c libobs: Remove unnecessary UTF characters 2022-08-13 00:49:17 -07:00
obs-audio-controls.h libobs: Mark unused audio functions as deprecated 2021-10-24 02:00:16 -07:00
obs-audio.c libobs: Remove set but not read variable 2022-07-19 11:01:00 -04:00
obs-avc.c libobs: Use nal_ref_idc for H.264 priority 2022-08-17 05:30:16 -07:00
obs-avc.h libobs: Implement H.264/HEVC priority parsing 2022-08-01 08:15:29 -07:00
obs-cocoa.m libobs: Log macOS Rosetta status 2022-11-09 03:03:26 -08:00
obs-config.h libobs: Update to 28.1.2 2022-11-05 06:33:04 -07:00
obs-data.c libobs: Remove redundant get_data calls in obs_data functions 2022-07-27 21:58:16 +02:00
obs-data.h libobs: Add obs_data_get_last_json() 2021-04-23 12:38:50 -07:00
obs-defs.h libobs,docs: Improve failed module loading logging 2022-07-30 16:55:03 -07:00
obs-display.c libobs: Extend NVIDIA anti-flicker to desktops 2022-08-29 10:02:32 -07:00
obs-encoder.c libobs: Allow overriding video resolution per view 2022-11-19 15:34:54 -08:00
obs-encoder.h libobs: Remove trailing whitespace 2022-07-26 09:23:35 -07:00
obs-ffmpeg-compat.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-hevc.c libobs: Implement H.264/HEVC priority parsing 2022-08-01 08:15:29 -07:00
obs-hevc.h libobs: Implement H.264/HEVC priority parsing 2022-08-01 08:15:29 -07:00
obs-hotkey-name-map.c libobs: Remove WIN32_LEAN_AND_MEAN 2021-10-10 19:12:45 -07:00
obs-hotkey.c libobs: Trigger bindings injected by Qt directly 2022-07-25 17:33:40 +02:00
obs-hotkey.h libobs: Deprecate obs_hotkey_enable_strict_modifiers 2022-06-04 16:03:23 -07:00
obs-hotkeys.h libobs: Remove _WIN32 ifdef from enum 2019-11-17 20:30:42 -08:00
obs-interaction.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-internal.h libobs-d3d11: Make sure libobs knows the new adapter index 2022-11-21 08:47:36 -08:00
obs-missing-files.c libobs: Add missing file API to sources 2021-01-17 10:31:58 +13:00
obs-missing-files.h libobs: Add missing file API to sources 2021-01-17 10:31:58 +13:00
obs-module.c libobs,docs: Improve failed module loading logging 2022-07-30 16:55:03 -07:00
obs-module.h libobs: Add functions to get locale text from modules 2020-08-10 12:24:01 -07:00
obs-nal.c libobs: Add HEVC parsing functions 2022-03-19 15:46:34 -07:00
obs-nal.h libobs: Consolidate H.264 priority scheme 2022-07-31 17:38:25 -07:00
obs-nix-platform.c Drop GLX renderer 2022-05-24 14:31:48 -03:00
obs-nix-platform.h Drop GLX renderer 2022-05-24 14:31:48 -03:00
obs-nix-wayland.c libobs: Add media key support for linux 2022-10-29 16:08:16 -07:00
obs-nix-wayland.h libobs: Add a Wayland platform 2021-02-09 09:39:04 -03:00
obs-nix-x11.c libobs: Add media key support for linux 2022-10-29 16:08:16 -07:00
obs-nix-x11.h libobs/nix: Move X11-specific code to obs-nix-x11.c 2021-02-01 19:03:43 -03:00
obs-nix.c libobs: Read /etc/os-release on FreeBSD 2022-08-16 18:40:48 -04:00
obs-nix.h libobs/nix: Move X11-specific code to obs-nix-x11.c 2021-02-01 19:03:43 -03:00
obs-output-delay.c libobs: Minor fixes / code cleanups 2021-03-04 19:29:33 +01:00
obs-output.c libobs: Fix warnings about type usage 2022-07-11 22:07:10 -07:00
obs-output.h libobs: Implement pausing of outputs 2019-07-07 16:38:22 -07:00
obs-properties.c libobs,UI,docs: Add info as text property sub-type in the property API 2022-06-26 17:31:59 +10:00
obs-properties.h libobs,UI,docs: Add info as text property sub-type in the property API 2022-06-26 17:31:59 +10:00
obs-scene.c libobs: Allow overriding video resolution per view 2022-11-19 15:34:54 -08:00
obs-scene.h libobs: Add support for nonlinear SRGB blending 2022-04-02 16:02:41 -07:00
obs-service.c libobs: Add func to get supported service codecs 2022-07-26 09:23:35 -07:00
obs-service.h libobs: Add func to get supported service codecs 2022-07-26 09:23:35 -07:00
obs-source-deinterlace.c libobs: Move async filtering from render to tick 2022-11-08 05:37:47 -08:00
obs-source-transition.c libobs: Allow transitions to mix CCCS sources 2022-05-08 14:25:33 -07:00
obs-source.c libobs: Fix SRGB to SCRGB async video rendering 2022-11-17 02:16:48 -08:00
obs-source.h libobs, UI: Add OBS_ICON_TYPE_PROCESS_AUDIO_OUTPUT 2022-07-23 17:41:34 -07:00
obs-ui.h docs/sphinx: Fix various typos 2019-10-14 17:19:38 -07:00
obs-video-gpu-encode.c libobs: Format changes for multiple video mixes 2022-07-31 15:35:37 -07:00
obs-video.c libobs: Allow overriding video resolution per view 2022-11-19 15:34:54 -08:00
obs-view.c libobs: Allow overriding video resolution per view 2022-11-19 15:34:54 -08:00
obs-win-crash-handler.c libobs: Specify format string for bcrash 2022-01-15 00:31:31 +01:00
obs-windows.c libobs: Log Windows emulation status 2022-11-09 03:03:26 -08:00
obs.c libobs-d3d11: Make sure libobs knows the new adapter index 2022-11-21 08:47:36 -08:00
obs.h libobs: Deprecate obs_get/set_master_volume 2022-11-19 20:37:22 -05:00
obs.hpp libobs: Add obs_object abstraction and functions 2022-02-02 22:35:56 -08:00
obsconfig.h.in libobs: Add currently used Qt version to obsconfig.h.in 2022-07-28 16:36:01 -07:00