obs-StreamFX/source
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
..
filters gs-effect: Use std::shared_ptr and track effect lifetime 2019-08-04 23:12:30 +02:00
gfx gs-effect: Use std::shared_ptr and track effect lifetime 2019-08-04 23:12:30 +02:00
obs gs-effect: Use std::shared_ptr and track effect lifetime 2019-08-04 23:12:30 +02:00
sources project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
plugin.cpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
plugin.hpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
strings.hpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
util-event.cpp util-event: Template event handler class 2018-11-08 08:07:49 +01:00
util-event.hpp util-event: Automatically clear event listeners when destructed 2019-04-02 19:11:26 +02:00
util-math.cpp project: Fix up previous commit 2019-08-04 20:29:04 +02:00
util-math.hpp project: Fix up previous commit 2019-08-04 20:29:04 +02:00
util-memory.cpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
util-memory.hpp project: Fix up previous commit 2019-08-04 20:29:04 +02:00
utility.cpp utility: Add recursive text lookup function 2019-05-28 19:54:23 +02:00
utility.hpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00