Commit graph

1292 commits

Author SHA1 Message Date
Michael Fabian 'Xaymar' Dirks
fbd5c956a5 nvidia/ar: Fix bad function definition 2021-04-27 03:12:59 +02:00
Michael Fabian 'Xaymar' Dirks
cfbc7833f3 project: Apply formatting 2021-04-27 03:12:59 +02:00
Michael Fabian 'Xaymar' Dirks
ac967cadae nvidia/cuda/obs: Add simple CUDA manager for OBS 2021-04-27 03:12:59 +02:00
Michael Fabian 'Xaymar' Dirks
e4996cdc80 nvidia/cuda/stream: Add synchronize function 2021-04-27 03:12:59 +02:00
Michael Fabian 'Xaymar' Dirks
ebdda0162f nvidia/cuda/gs-texture: Add accessors for internals 2021-04-27 03:12:59 +02:00
Michael Fabian 'Xaymar' Dirks
e678570bba nvidia/cuda/context: Merge context-stack into context header 2021-04-27 03:12:59 +02:00
Michael Fabian 'Xaymar' Dirks
e75986f0a8 nvidia/cuda: Log extra information when built for Debug 2021-04-27 03:12:59 +02:00
Michael Fabian 'Xaymar' Dirks
be7a0d9a5e nvidia/cuda: Add custom exception for CUDA 2021-04-27 03:12:59 +02:00
Michael Fabian 'Xaymar' Dirks
c7f517e206 nvidia/cuda: Use util::library and remove CUDA library argument
The CUDA library is always available as a singleton, so it does not make sense for it to be passed in. Instead we can simply grab it from the singleton and use it as it is, which makes the code easier to maintain and automates certain code.
2021-04-27 03:12:59 +02:00
Michael Fabian 'Xaymar' Dirks
fee3d2cd5c util/logging: Add logging utility
Also contains the function signature and name macros.
2021-04-27 03:12:59 +02:00
Michael Fabian 'Xaymar' Dirks
5888c7d23f project: Version 0.10 2021-04-25 15:48:43 +02:00
Michael Fabian 'Xaymar' Dirks
a1dbb2e75b examples: Improve 'crt-scanlines.effect' 2021-04-25 15:37:32 +02:00
Michael Fabian 'Xaymar' Dirks
a755809805 examples: Improve 'crt-curvature.effect'
The code of this effect was quite dated and no longer up to my standards of coding, and lacking pretty much all comments that explain what things do. This meant that it was not a great example by default, and couldn't be used by new Effect creators as a reference.

Also the following settings were adjusted:
- 'Strength' now ranges from 0 to 200 %.
- 'Border Color' defaults to Opaque Black.
- 'Feathering' now ranges from 0 to 100 %.
2021-04-25 15:37:32 +02:00
Michael Fabian 'Xaymar' Dirks
95ae20e504 examples: Add base effect for common functionality
Many shader examples share quite a bit of code, and the OBS Studio parser and GPU driver shader compiler actually get rid of unused code quite well. So we can simply share the code between many examples, which drastically improves the quality of the code.
2021-04-25 15:37:32 +02:00
Xaymar
30f18faaba
locale: New Crowdin updates (#531)
* New translations en-US.ini (Turkish)
* New translations en-US.ini (Chinese Simplified)
* New translations en-US.ini (Romanian)
* New translations en-US.ini (German)
* New translations en-US.ini (Spanish)
* New translations en-US.ini (French)
2021-04-25 01:16:15 +02:00
Michael Fabian 'Xaymar' Dirks
a51bc3aff0 ui/about: Update Supporter and Translator entries 2021-04-24 00:05:28 +02:00
Michael Fabian 'Xaymar' Dirks
f1b0b725fb ui/about: Fix stack size problem 2021-04-24 00:05:28 +02:00
Michael Fabian 'Xaymar' Dirks
2ba94dabbc ui/about: Remove outdated entry roles 2021-04-24 00:05:28 +02:00
Michael Fabian 'Xaymar' Dirks
5d5709764e ui/about: Replace buttons with clickable Entries
This reduces the total amount of links Supporters can submit to just one instead of two. Additionally by removing the buttons and making the entry itself clickable, the UI can show more entries at once and allow users to easily make the connection between the entry and the link it opens when clicked.
2021-04-24 00:05:28 +02:00
Michael Fabian 'Xaymar' Dirks
ffc14e1d2d filters/color-grading: Use explicit matrix initializer for GLSL support
Fixes #510
2021-04-22 12:12:49 +02:00
Michael Fabian 'Xaymar' Dirks
9498411783 ffmpeg/tools: Adjust to match ffmpeg-mux color settings
The 'obs-ffmpeg-mux.c' file specifies different color parameters than StreamFX does. This causes re-muxing to go haywire, and editors that trust these tags suddenly spew out bad colors for BT.601 and sRGB.

Reverts #478
2021-04-20 04:25:13 +02:00
Michael Fabian 'Xaymar' Dirks
ba3451a836 project: Redirect support requests to Discord or OBS Studio
As users repeatedly fail to provide the basic minimum of Information, we instead now direct users towards the Discord support instead.
2021-04-19 16:10:58 +02:00
Michael Fabian 'Xaymar' Dirks
4b75577afe ui: Prevent Qt from automatically assigning Menu roles
Qt defaults to give every QAction a TextHeuristicRole, which means that certain key words will cause Qt to change how the QAction behaves. We do not want this, so we explicitly assign it to have NoRole instead.

Fixes #323
2021-04-19 14:19:27 +02:00
Michael Fabian 'Xaymar' Dirks
18e8aa8f04 ui: Insert StreamFX menu before OBS "Help" menu
Instead of adding ourselves as the last entry which seems to confuse the MacOS Qt implementation, we instead insert ourselves before the Help menu. This should hopefully prevent the StreamFX menu from overriding the OBS About entry.

Fixes #323
2021-04-19 14:19:27 +02:00
Michael Fabian 'Xaymar' Dirks
8de32fd6c4 filters/sdf-effects: Improve user experience with visual property groups
Grouping properties by what they do improves the user experience as the user does not have to guess at what belongs to which part of the effect. Additionally toggleable groups automatically disable all child elements, so the user is not confused by them still being active.
2021-04-18 15:47:54 +02:00
Michael Fabian 'Xaymar' Dirks
c7b4450d9d filters/displacement: Permanently deprecate the filter 2021-04-18 15:17:56 +02:00
Xaymar
9a107de1ce
locale: New Crowdin updates (#521)
* New translations en-US.ini (Turkish)
* New translations en-US.ini (Korean)
* New translations en-US.ini (Sinhala)
* New translations en-US.ini (Chinese Simplified)
* New translations en-US.ini (Russian)
* New translations en-US.ini (Portuguese)
* New translations en-US.ini (Polish)
* New translations en-US.ini (Norwegian)
* New translations en-US.ini (Dutch)
* New translations en-US.ini (Japanese)
* New translations en-US.ini (Romanian)
* New translations en-US.ini (Italian)
* New translations en-US.ini (Finnish)
* New translations en-US.ini (German)
* New translations en-US.ini (Czech)
* New translations en-US.ini (Spanish)
* New translations en-US.ini (French)
* New translations en-US.ini (Thai)
* New translations en-US.ini (Portuguese, Brazilian)
* New translations en-US.ini (Serbo-Croatian)
2021-04-18 14:57:43 +02:00
Michael Fabian 'Xaymar' Dirks
b1f4998601 project: Version 0.10.0b3 2021-04-17 03:46:25 +02:00
Michael Fabian 'Xaymar' Dirks
36862ed795 ci: (Windows) Show full compile output for InnoSetup 2021-04-17 03:34:39 +02:00
Michael Fabian 'Xaymar' Dirks
5baf8524d5 plugin: Replace long descriptions with "Open Manual" button
While the long descriptions were useful, keeping the updated and translated is pretty much impossible. Technology moves fast and not everyone that translates the project knows a lot about technology.

Therefore the long descriptions have now been replaced with a button that opens the wiki page for the feature instead. This should drastically reduce the number of help cases, and improve the translation coverage at the same time.
2021-04-17 03:34:39 +02:00
Michael Fabian 'Xaymar' Dirks
e0e889287b plugin: Add function to open an URL 2021-04-17 03:34:39 +02:00
Michael Fabian 'Xaymar' Dirks
b0842e8927 filters/color-grading: Add proper suffixes to UI properties 2021-04-17 03:19:21 +02:00
Michael Fabian 'Xaymar' Dirks
b837d94d91 source/shader: Fix missing buffered draw requirement (#516)
Fixes #516
2021-04-14 13:41:52 +02:00
Michael Fabian 'Xaymar' Dirks
515f9c659e filters/color-grading: Adjust range for Lift and Gain (#515)
Fixes #515
2021-04-14 13:41:52 +02:00
Michael Fabian 'Xaymar' Dirks
36b12d971b filters/color-grading: Fix incorrect Lift logic (#515)
Fixes #515
2021-04-14 13:41:52 +02:00
Michael Fabian 'Xaymar' Dirks
895b1a06e6 filters/color-grading: Fix Gamma function and improve code readability
Fixes #510
2021-04-14 13:41:52 +02:00
Michael Fabian 'Xaymar' Dirks
bd0831bf9b filters/color-grading: Replace log10 command for GLSL (#510)
Fixes #510
2021-04-14 13:41:52 +02:00
Michael Fabian 'Xaymar' Dirks
9e6ed9aa94 project: Version 0.10.0b2
* Fixed a bug preventing versions from being parsed correctly in CMake.
* Fixed a bug introduced between 0.9.3 and 0.10.0b1 which broke transparency support for Color Grading.
* Added support for direct rendering to some sources/filters/transitions.
* Added .pkg based Installer for MacOS, thanks to @cpyarger.
* Updated translations from Crowdin.
2021-04-08 09:48:35 +02:00
Xaymar
42f47898bf
locale: New Crowdin updates (#500) 2021-04-08 09:48:15 +02:00
Michael Fabian 'Xaymar' Dirks
a47d068012 transition/shader: Use direct rendering (#501) 2021-03-28 15:02:11 +02:00
Michael Fabian 'Xaymar' Dirks
8aba2bd2be source/shader: Use direct rendering (#501) 2021-03-28 15:02:11 +02:00
Michael Fabian 'Xaymar' Dirks
069061274b filter/shader: Use direct rendering (#501) 2021-03-28 15:02:11 +02:00
Michael Fabian 'Xaymar' Dirks
0fe913a94c gfx/shader: Allow specifying effect for direct rendering (#501) 2021-03-28 15:02:11 +02:00
Michael Fabian 'Xaymar' Dirks
78b91c9957 filter/dynamic-mask: Require buffered rendering 2021-03-28 15:02:11 +02:00
Michael Fabian 'Xaymar' Dirks
f9d4c48237 filter/displacement: Require buffered rendering 2021-03-28 15:02:11 +02:00
Michael Fabian 'Xaymar' Dirks
40bf73bc22 filter/color-grade: Add direct rendering support (#501) 2021-03-28 15:02:11 +02:00
Michael Fabian 'Xaymar' Dirks
dfec841054 filters/color-grade: Fix support for translucent Inputs
Additionally also document some of the code and enforce certain GPU states for rendering.
2021-03-28 10:43:35 +02:00
Xaymar
f25123f717 locale: New Crowdin updates (#482) 2021-03-28 08:48:41 +02:00
Michael Fabian 'Xaymar' Dirks
4f24fff219 cmake: (Windows) Fix incorrect reference to CMAKE_PACKAGE_PREFIX 2021-03-28 08:07:14 +02:00
Michael Fabian 'Xaymar' Dirks
a20e9c64e2 ci: (MacOS) Build .pkg installer 2021-03-28 06:42:38 +02:00