No description
Find a file
Michael Fabian 'Xaymar' Dirks c7cfbff7dd gs-vertexbuffer: Workaround for a foreign deallocation bug in libobs
The graphics subsystem in OBS is freeing memory it didn't allocate, resulting in stack/heap corruption and other kinds of messy situations. The official "fix" for this is to use bmalloc, but then you lose any kind of ability to re-use the same buffer for multiple vertex buffers or update on the fly without adjusting code that is possibly outside of your control (such as in libraries).

This works around the issues by "patching" the gs_vertexbuffer object to no longer hold a reference to the gs_vb_data object. Currently only D3D11 is supported for this kind of hack and it might break in a future obs-studio release.

PR fixing this Issue: https://github.com/jp9000/obs-studio/pull/993
2017-11-03 00:13:07 +01:00
data effect: Code update, clean up and optimization 2017-10-22 19:05:29 +02:00
rawdata filter-displacement: Cleanup data 2017-06-29 07:35:41 +02:00
source gs-vertexbuffer: Workaround for a foreign deallocation bug in libobs 2017-11-03 00:13:07 +01:00
.editorconfig project: Provide EditorConfig for Tab Spacing 2017-09-18 00:05:34 +02:00
.gitattributes LFS for image files 2017-06-28 23:55:22 +02:00
.gitignore project: Remove AMD text from gitignore 2017-08-19 23:32:18 +02:00
CMakeLists.txt gs: Wrap OBS Graphics Subsystem in proper C++ classes 2017-09-18 00:05:28 +02:00
LICENSE GPLv2 and gitignore 2017-06-28 23:20:50 +02:00