Commit graph

1743 commits

Author SHA1 Message Date
Michael Fabian 'Xaymar' Dirks
c3b1dc2ec2 gfx/shader: Call defaults before update before properties
Fixes an unusual order of initialization bug resulting in poor user experience
2023-04-05 18:51:48 +02:00
Michael Fabian 'Xaymar' Dirks
86cb224783 gfx/shader: Clear render target before rendering
Accidentally left as a comment, this causes things like SMAA to freak out.
2023-04-05 18:51:48 +02:00
Michael Fabian 'Xaymar' Dirks
292562b63e project: Version 0.11.0b2 2023-04-05 18:51:48 +02:00
Michael Fabian 'Xaymar' Dirks
11f66dc306 examples: Add Sub-Pixel Morphological Anti-Aliasing
This requires a bit more complex setup compared to what you'd otherwise see, but it does work.

Adapted from: https://github.com/iryoku/smaa
2023-04-05 18:51:47 +02:00
Michael Fabian 'Xaymar' Dirks
89f1affe32 gfx/shader: Shaders don't render in sRGB mode 2023-04-05 18:51:47 +02:00
Michael Fabian 'Xaymar' Dirks
ab84537a6e gfx/shader/param-texture: Fix detection of enumerations and paths 2023-04-05 18:51:46 +02:00
Michael Fabian 'Xaymar' Dirks
5673138ff8 examples: FXAA requires Linear, not Point sampling 2023-04-05 18:51:46 +02:00
Michael Fabian 'Xaymar' Dirks
06e2dea1fa examples: Fix FXAA not working in OpenGL 2023-04-05 18:51:46 +02:00
Michael Fabian 'Xaymar' Dirks
4b86d67517 obs/gs/effect: Only add defines to the top level shader
Fixes certain warnings that are caused by duplicate '#define' lines.
2023-04-05 18:51:46 +02:00
Michael Fabian 'Xaymar' Dirks
686eebd969 examples: Fix float4->float2 cast 2023-04-05 18:51:45 +02:00
Michael Fabian 'Xaymar' Dirks
2962be9d52 obs/gs/effect: gs_get_device_type() requires graphics context 2023-04-05 18:51:45 +02:00
Michael Fabian 'Xaymar' Dirks
9859b44b1c obs/gs/mipmapper: Enable support for sRGB mip-mapping 2023-04-05 18:51:45 +02:00
Michael Fabian 'Xaymar' Dirks
9f035deaaa obs/gs/mipmapper: Don't cache the "source" parameter
Fixes #721
2023-04-05 18:51:45 +02:00
Michael Fabian 'Xaymar' Dirks
7edda268e0 project: Version 0.11.0b1 2023-04-05 18:51:45 +02:00
Michael Fabian 'Xaymar' Dirks
cd00ccb94f examples: Add FXAA shader 2023-04-05 18:51:44 +02:00
Michael Fabian 'Xaymar' Dirks
1d4bc9377f examples: Add RGB<->YUV color conversion shader 2023-04-05 18:51:44 +02:00
Xaymar
b366cf055c locale: New Crowdin updates (#711)
* New translations en-US.ini (German)

* New translations en-US.ini (Spanish)

* New translations en-US.ini (German)

* New translations en-US.ini (Thai)

* New translations en-US.ini (Chinese Simplified)

* New translations en-US.ini (Portuguese, Brazilian)

* New translations en-US.ini (Swedish)

* New translations en-US.ini (English, United Kingdom)

* New translations en-US.ini (Turkish)

* New translations en-US.ini (Russian)

* New translations en-US.ini (Spanish)

* New translations en-US.ini (Romanian)

* New translations en-US.ini (French)

* New translations en-US.ini (Arabic)

* New translations en-US.ini (Czech)

* New translations en-US.ini (Portuguese)

* New translations en-US.ini (Hungarian)

* New translations en-US.ini (Italian)

* New translations en-US.ini (Japanese)

* New translations en-US.ini (Korean)

* New translations en-US.ini (Dutch)

* New translations en-US.ini (Norwegian)

* New translations en-US.ini (Polish)
2023-04-05 18:51:44 +02:00
Michael Fabian 'Xaymar' Dirks
5f4b46f8f5 ci: Don't pin to a specific Qt5 version on MacOS with brew
This is more of a hotfix than an actual fix. Not sure if this has any effect on how StreamFX behaves on MacOS
2023-04-05 18:51:44 +02:00
Michael Fabian 'Xaymar' Dirks
0d15216761 ci: Don't perform tasks relying on secrets in pull requests 2023-04-05 18:51:44 +02:00
Michael Fabian 'Xaymar' Dirks
1b573103cc examples: New examples for Shader Texture parameters 2023-04-05 18:51:43 +02:00
coolsoft.rf
4601df76d9 gfx/shader/param/texture: Add support for Texture parameters
Implements File, Source and Enumeration type for Texture shader inputs, completing the initial Shader implementation.

Related: #5

Co-authored-by: Michael Fabian 'Xaymar' Dirks <info@xaymar.com>
2023-04-05 18:51:43 +02:00
Michael Fabian 'Xaymar' Dirks
1816e29862 gfx/shader: Optional sRGB support for inputs 2023-04-05 18:51:43 +02:00
Michael Fabian 'Xaymar' Dirks
93a20c7dd4 gfx/shader: Add profiling code and fix problems with properties 2023-04-05 18:51:43 +02:00
Michael Fabian 'Xaymar' Dirks
e1b7e6eaf2 gfx/shader: Get-er for currently loaded shader file 2023-04-05 18:51:43 +02:00
Michael Fabian 'Xaymar' Dirks
6f7c03fb28 obs/gs/effect-parameter: Add support for sRGB texture inputs 2023-04-05 18:51:42 +02:00
Michael Fabian 'Xaymar' Dirks
22786005d6 gfx/shader/param: Track the parent shader object 2023-04-05 18:51:42 +02:00
Michael Fabian 'Xaymar' Dirks
69a72d4975 gfx/shader: Add a way to retrieve the underlying obs_source_t* 2023-04-05 18:51:42 +02:00
coolsoft.rf
bba606e439 gfx/shader: Support for visible and active tracking in parameters
Co-authored-by: Michael Fabian 'Xaymar' Dirks <info@xaymar.com>
2023-04-05 18:51:42 +02:00
coolsoft.rf
6aa3f6dbc2 gfx/shader: De-duplicate some code paths
Co-authored-by: Michael Fabian 'Xaymar' Dirks <info@xaymar.com>
2023-04-05 18:51:41 +02:00
Michael Fabian 'Xaymar' Dirks
c5e69e4076 ci: Adjust to new Code Signing parameters 2023-04-05 18:51:41 +02:00
Michael Fabian 'Xaymar' Dirks
1f78de676d cmake: Fix and improve Code Signing on Windows
It was sometimes impossible to sign the binaries on Windows, depending on how CMake was being run. By explicitly converting to the intended native format, we avoid this problem for most situations. Additionally we now support per-project certificates, instead of global certificates only. This also allows multiple uses of cmake-codesign in the same overall project.
2023-04-05 18:51:41 +02:00
Michael Fabian 'Xaymar' Dirks
5b3aed3aff media: Define usage guidelines for the Logo and Icon 2023-04-05 18:51:41 +02:00
Michael Fabian 'Xaymar' Dirks
3ee31bf4c6 media: Define proper license for all media 2023-04-05 18:51:40 +02:00
Michael Fabian 'Xaymar' Dirks
d1fdab45fc filter/transform: Fix mip-map level calculation 2023-04-05 18:51:40 +02:00
Michael Fabian 'Xaymar' Dirks
10ec6a7ad2 obs/gs/mipmapper: Add support for OpenGL 2023-04-05 18:51:40 +02:00
Michael Fabian 'Xaymar' Dirks
655ff6e367 third-party: Add GLAD OpenGL wrapper 2023-04-05 18:51:40 +02:00
Michael Fabian 'Xaymar' Dirks
0e26018cd3 ci: Sign builds with the provided key automatically 2023-04-05 18:51:39 +02:00
Michael Fabian 'Xaymar' Dirks
e7d17695c5 cmake: Add support for Code Signing on supported platforms 2023-04-05 18:51:39 +02:00
Michael Fabian 'Xaymar' Dirks
b436eaaf28 project: Improve PR template 2023-04-05 18:51:39 +02:00
Michael Fabian 'Xaymar' Dirks
ab6ba5ee4c encoder/ffmpeg/nvenc: Swap parameter names in migration code 2023-04-05 18:51:39 +02:00
Michael Fabian 'Xaymar' Dirks
50a23799b0 filter/transform: Swap parameter names in migration code 2023-04-05 18:51:39 +02:00
Michael Fabian 'Xaymar' Dirks
5d89b0d8b1 project: Version 0.11.0a8 2023-04-05 18:51:39 +02:00
Xaymar
e730b5b9bd locale: New Crowdin updates (#695)
* New translations en-US.ini (Chinese Simplified)

* New translations en-US.ini (Chinese Simplified)

* New translations en-US.ini (Chinese Traditional)

* New translations en-US.ini (Chinese Traditional)

* New translations en-US.ini (Ukrainian)

* New translations en-US.ini (Ukrainian)

* New translations en-US.ini (Russian)

* New translations en-US.ini (Ukrainian)
2023-04-05 18:51:38 +02:00
Michael Fabian 'Xaymar' Dirks
e954e86308 encoder/ffmpeg: libOBS samples Chroma at Top, not Center
This bug predates the merge into StreamFX and was present in the original release as a separate plugin. libOBS has never sampled Chroma at Center as far as I can look back into its history.

Fixes #676
2023-04-05 18:51:38 +02:00
Michael Fabian 'Xaymar' Dirks
adc38738f7 effects: 'texture2D' -> 'texture2d'
Fixes #696
2023-04-05 18:51:38 +02:00
Michael Fabian 'Xaymar' Dirks
29bbe22bec obs/gs/effect: Preprocess shaders to improve platform compatibility
Improves cross-platform compatibility of Shaders written for StreamFX through the use of preprocessing to make things a bit more compatible. While we don't perform any proper parsing, this will be able to prevent basic issues.
2023-04-05 18:51:38 +02:00
Michael Fabian 'Xaymar' Dirks
2ccbd76c02 util/library: Don't mix incompatible parameters 2023-04-05 18:51:37 +02:00
Michael Fabian 'Xaymar' Dirks
aeb889091e filter/autoframing: Remaining part of ff235b765e 2023-04-05 18:51:37 +02:00
Xaymar
d46244ba89 locale: New Crowdin updates (#685)
* New translations en-US.ini (Russian)

* New translations en-US.ini (Russian)

* New translations en-US.ini (Dutch)

* New translations en-US.ini (Turkish)

* New translations en-US.ini (Chinese Simplified)

* New translations en-US.ini (Chinese Traditional)

* New translations en-US.ini (Portuguese, Brazilian)

* New translations en-US.ini (Thai)

* New translations en-US.ini (Russian)

* New translations en-US.ini (English, United Kingdom)

* New translations en-US.ini (Swedish)

* New translations en-US.ini (Portuguese)

* New translations en-US.ini (Romanian)

* New translations en-US.ini (Finnish)

* New translations en-US.ini (French)

* New translations en-US.ini (Spanish)

* New translations en-US.ini (Arabic)

* New translations en-US.ini (Czech)

* New translations en-US.ini (German)

* New translations en-US.ini (Polish)

* New translations en-US.ini (Hungarian)

* New translations en-US.ini (Italian)

* New translations en-US.ini (Japanese)

* New translations en-US.ini (Korean)

* New translations en-US.ini (Dutch)

* New translations en-US.ini (Norwegian)

* New translations en-US.ini (Polish)

* New translations en-US.ini (Russian)

* New translations en-US.ini (Italian)

* New translations en-US.ini (French)

* New translations en-US.ini (French)

* New translations en-US.ini (German)

* New translations en-US.ini (German)

* New translations en-US.ini (Portuguese, Brazilian)
2023-04-05 18:51:37 +02:00
Michael Fabian 'Xaymar' Dirks
2b3535f089 filter/autoframing: Allow specifying Tracking Frequency in Hz 2023-04-05 18:51:36 +02:00