obs-StreamFX/source/obs/gs
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
..
gs-effect.cpp gs-effect: Use std::shared_ptr and track effect lifetime 2019-08-04 23:12:30 +02:00
gs-effect.hpp gs-effect: Use std::shared_ptr and track effect lifetime 2019-08-04 23:12:30 +02:00
gs-helper.cpp gs-helper: Add managed obs graphics context 2019-04-03 00:16:13 +02:00
gs-helper.hpp gs-helper: Add managed obs graphics context 2019-04-03 00:16:13 +02:00
gs-indexbuffer.cpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
gs-indexbuffer.hpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
gs-limits.hpp project: Restructure of the file system 2019-02-11 04:03:57 +01:00
gs-mipmapper.cpp gs-effect: Use std::shared_ptr and track effect lifetime 2019-08-04 23:12:30 +02:00
gs-mipmapper.hpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
gs-rendertarget.cpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
gs-rendertarget.hpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
gs-sampler.cpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
gs-sampler.hpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
gs-texture.cpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
gs-texture.hpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
gs-vertex.cpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
gs-vertex.hpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
gs-vertexbuffer.cpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00
gs-vertexbuffer.hpp project: Apply new coding guidelines 2019-08-04 16:20:26 +02:00