obs-StreamFX/source
Michael Fabian 'Xaymar' Dirks e0e2d9fe80 project: Improve Linux support (#27 and #13)
While Linux was not an original goal of the project, it should still be supported out of the box. Therefore a number of changes are contained in this changeset:

- All C++ .h files were renamed to .hpp.
- All C includes (<....h>) were replaced with C++ includes (<c...>) and missing includes were added.
- std::memset and std::memcpy was replaced with memset and memcpy.
- All anonymous structs were removed where necessary.
- `extern "C"` was removed where it wasn't needed.
- #pragma warning was placed behind an #ifdef _MSC_VER
- The macros for `min`, `max` and `clamp` were removed as they were not used.
- `-fpedantic` was added to the GCC flags for bitmask support.
- `gs::rendertarget_op` is now declared before use.
- std::exception(const char*) was replaced with std::runtime_error(const char*).
- Added aligned_alloc and aligned_free macros for GCC and MSVC support.
- Replaced use of `sprintf_s` with `snprintf`.
- Placed additional guards around windows only code.

Additonally some changes were made that do not affect Linux:
- `NOMINMAX` and `NOINOUT` were removed.

Fixes: #27
Fixes: #13
2019-01-14 22:31:35 +01:00
..
filter-blur.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
filter-blur.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
filter-custom-shader.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
filter-custom-shader.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
filter-displacement.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
filter-displacement.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
filter-shadow-sdf.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
filter-shadow-sdf.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
filter-shape.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
filter-shape.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
filter-transform.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
filter-transform.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gfx-effect-source.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gfx-effect-source.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gfx-source-texture.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gfx-source-texture.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gs-effect.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gs-effect.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gs-helper.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gs-helper.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gs-indexbuffer.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gs-indexbuffer.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gs-limits.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gs-mipmapper.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gs-mipmapper.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gs-rendertarget.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gs-rendertarget.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gs-sampler.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gs-sampler.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gs-texture.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gs-texture.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gs-vertex.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gs-vertex.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gs-vertexbuffer.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
gs-vertexbuffer.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
obs-audio-capture.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
obs-audio-capture.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
obs-source.cpp obs-source: Add support for all signals on a source 2018-11-08 08:08:06 +01:00
obs-source.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
obs-tools.cpp project: Formatting 2018-11-07 15:24:25 +01:00
obs-tools.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
plugin.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
plugin.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
source-mirror.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
source-mirror.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
strings.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
util-event.cpp util-event: Template event handler class 2018-11-08 08:07:49 +01:00
util-event.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
util-math.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
util-math.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
util-memory.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
util-memory.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
utility.cpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00
utility.hpp project: Improve Linux support (#27 and #13) 2019-01-14 22:31:35 +01:00