obs-StreamFX/source/filters
Michael Fabian 'Xaymar' Dirks 1c072d67cb filter-transform: Validate source size each tick
Rendering happens with cached Geometry that is only updated when necessary, such as when the user changes settings. This optimization was necessary to reduce CPU and GPU usage as we can simply re-use the same geomtry instead of recalculating it.

However, the actual source size was never checked. That meant that when a source changed size through any means, the filter would not update the geomtry accordingly, and the result was a squished or stretched image.

With this, the source size is now checked each tick.

Fixes #48
2019-02-15 13:52:44 +01:00
..
filter-blur.cpp project: Restructure of the file system 2019-02-11 04:03:57 +01:00
filter-blur.hpp project: Restructure of the file system 2019-02-11 04:03:57 +01:00
filter-custom-shader.cpp project: Restructure of the file system 2019-02-11 04:03:57 +01:00
filter-custom-shader.hpp project: Restructure of the file system 2019-02-11 04:03:57 +01:00
filter-displacement.cpp project: Restructure of the file system 2019-02-11 04:03:57 +01:00
filter-displacement.hpp project: Restructure of the file system 2019-02-11 04:03:57 +01:00
filter-sdf-effects.cpp project: Restructure of the file system 2019-02-11 04:03:57 +01:00
filter-sdf-effects.hpp project: Restructure of the file system 2019-02-11 04:03:57 +01:00
filter-shape.cpp project: Restructure of the file system 2019-02-11 04:03:57 +01:00
filter-shape.hpp project: Restructure of the file system 2019-02-11 04:03:57 +01:00
filter-transform.cpp filter-transform: Validate source size each tick 2019-02-15 13:52:44 +01:00
filter-transform.hpp filter-transform: Validate source size each tick 2019-02-15 13:52:44 +01:00