0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00
obs-studio/libobs-opengl
Lasse Dalegaard ebd837d605 libobs-opengl: Add xcb message poll to empty out the queue
The xcb message queue is not currently emptied.  If errors are generated
by any void requests the message queue will simply fill up and messages
will never be deleted.

Due to a (currently unknown) other problem this happens for me, and
results in OBS using up all memory with a queue that will never be
emptied.

Here we add a poll loop that will empty the xcb message queue and
discard the messages.  While this means that errors are still not
handled, OBS wont end up crashing either.

Closes jp9000/obs-studio#675
2016-11-24 12:55:51 -08:00
..
.gitignore first commit 2013-09-30 19:37:13 -07:00
CMakeLists.txt Generate proper DL_OPENGL value for linux 2015-02-16 15:28:42 -05:00
gl-cocoa.m libobs-opengl: Use windowless context (cocoa) 2015-08-05 01:07:18 -07:00
gl-helpers.c Use uint8_t* instead of void* for texture data 2014-06-28 10:12:57 -07:00
gl-helpers.h Use uint8_t* instead of void* for texture data 2014-06-28 10:12:57 -07:00
gl-indexbuffer.c libobs-opengl: Bind index buffers to VAO 2016-04-19 15:35:05 -07:00
gl-shader.c libobs/graphics: Add ability to set shader texture sampler 2016-06-29 04:15:38 -07:00
gl-shaderparser.c libobs-opengl: Fix bug with texelFetch shader intrinsic 2016-04-19 19:42:27 -07:00
gl-shaderparser.h (API Change) Improve graphics API consistency 2014-08-09 11:57:38 -07:00
gl-stagesurf.c (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-subsystem.c libobs-opengl: Add warning when used on windows 2016-11-20 01:48:16 -08:00
gl-subsystem.h libobs/graphics: Add ability to set shader texture sampler 2016-06-29 04:15:38 -07:00
gl-texture2d.c (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-texturecube.c (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-vertexbuffer.c libobs-opengl: Bind index buffers to VAO 2016-04-19 15:35:05 -07:00
gl-windows.c libobs-opengl: Use windowless context (windows) 2015-08-05 01:07:19 -07:00
gl-x11.c libobs-opengl: Add xcb message poll to empty out the queue 2016-11-24 12:55:51 -08:00
gl-zstencil.c (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00