obs-studio/plugins/linux-capture
jp9000 e20ec366b2 Make capture sources w/o alpha use opaque effect
This fixes an issue primarily with filter rendering: when capturing
windows and displays, their alpha channel is almost always 0, causing
the image to be completely invisible unintentionally.  The original fix
for this for many sources was just to turn off the blending, which would
be fine if you're not rendering any filters, but filters will render to
render targets first, and that lack of alpha will end up carrying over
in to the final image.

This doesn't apply to any mac captures because mac actually seems to set
the alpha channel to 1.
2015-03-22 19:18:05 -07:00
..
data/locale Add latest translations from CrowdIn 2015-02-09 19:26:17 -05:00
CMakeLists.txt linux-capture: Remove unused dependencies 2014-12-22 00:47:44 +01:00
README Rename linux-xshm module to linux-capture 2014-08-29 17:19:30 -07:00
linux-capture.c Combine linux-xcomposite and linux-capture (xshm) 2014-08-29 17:20:02 -07:00
xcompcap-helper.cpp Mark windows changed on Expose 2014-12-24 15:23:08 -05:00
xcompcap-helper.hpp Combine linux-xcomposite and linux-capture (xshm) 2014-08-29 17:20:02 -07:00
xcompcap-main.cpp Make capture sources w/o alpha use opaque effect 2015-03-22 19:18:05 -07:00
xcompcap-main.hpp (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00
xcomposite-main.cpp linux-capture: Mark captures as custom drawn 2015-03-22 18:38:49 -07:00
xcursor-xcb.c Make capture sources w/o alpha use opaque effect 2015-03-22 19:18:05 -07:00
xcursor-xcb.h linux-capture: Add xcb cursor helper library 2014-12-21 23:13:46 +01:00
xcursor.c Make capture sources w/o alpha use opaque effect 2015-03-22 19:18:05 -07:00
xcursor.h (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00
xhelpers.c linux-capture: Port geometry functions to xcb 2014-12-22 00:13:42 +01:00
xhelpers.h linux-capture: Port geometry functions to xcb 2014-12-22 00:13:42 +01:00
xshm-input.c Make capture sources w/o alpha use opaque effect 2015-03-22 19:18:05 -07:00

README

Linux XShm capture plugin

  This plugin uses the MIT-SHM extension for the X-server to capture the
  desktop.

Todo:

 - handle resolution changes of screens
 - handle adding/removing screens while recording
 - support different depths

Contributing:

  If you are interested in helping out with the plugin, please drop by in the
  #obs-dev channel on quakenet.

References:
 - http://www.x.org/releases/current/doc/xextproto/shm.html