obs-StreamFX/source/gfx/blur
Michael Fabian 'Xaymar' Dirks 0c447f4055 gs-effect: Use std::shared_ptr and track effect lifetime
This fixes the case where the effect vanishes, but we still hold an invalid pointer to a parameter of that effect. With the new code, the effect will not vanish as long as an effect pointer exists.

However, all effects must be created either through std::shared_ptr or std::make_shared. If they were not made through one of those means, the code will crash on the ->shared_from_this() call.
2019-08-04 23:12:30 +02:00
..
gfx-blur-base.cpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
gfx-blur-base.hpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
gfx-blur-box-linear.cpp gs-effect: Use std::shared_ptr and track effect lifetime 2019-08-04 23:12:30 +02:00
gfx-blur-box-linear.hpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
gfx-blur-box.cpp gs-effect: Use std::shared_ptr and track effect lifetime 2019-08-04 23:12:30 +02:00
gfx-blur-box.hpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
gfx-blur-dual-filtering.cpp gs-effect: Use std::shared_ptr and track effect lifetime 2019-08-04 23:12:30 +02:00
gfx-blur-dual-filtering.hpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
gfx-blur-gaussian-linear.cpp gs-effect: Use std::shared_ptr and track effect lifetime 2019-08-04 23:12:30 +02:00
gfx-blur-gaussian-linear.hpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
gfx-blur-gaussian.cpp gs-effect: Use std::shared_ptr and track effect lifetime 2019-08-04 23:12:30 +02:00
gfx-blur-gaussian.hpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00