obs-studio/plugins/linux-xshm
jp9000 41176eef27 (API Change) Remove obs_graphics()
API Removed:
- graphics_t obs_graphics();
Replaced With:
- void obs_enter_graphics();
- void obs_leave_graphics();

Description:
  obs_graphics() was somewhat of a pointless function.  The only time
that it was ever necessary was to pass it as a parameter to
gs_entercontext() followed by a subsequent gs_leavecontext() call after
that.  So, I felt that it made a bit more sense just to implement
obs_enter_graphics() and obs_leave_graphics() functions to do the exact
same thing without having to repeat that code.  There's really no need
to ever "hold" the graphics pointer, though I suppose that could change
in the future so having a similar function come back isn't out of the
question.

Still, this at least reduces the amount of unnecessary repeated code for
the time being.
2014-08-08 11:04:45 -07:00
..
data/locale Move all data into the subdir it belongs to 2014-07-19 01:38:41 +02:00
CMakeLists.txt Move all data into the subdir it belongs to 2014-07-19 01:38:41 +02:00
linux-xshm.c Remove macro to free locale 2014-07-27 17:29:10 -07:00
README Add README for the xshm plugin 2014-05-12 22:07:07 +02:00
xcursor.c Reset blend state to default after drawing 2014-07-03 14:12:48 -07:00
xcursor.h Add offset to xcursor 2014-05-12 22:07:07 +02:00
xhelpers.c linux-xshm: Fix potentially uninitialized var. 2014-06-27 21:43:42 -07:00
xhelpers.h Add support for multi-screen setups 2014-05-12 22:07:07 +02:00
xshm-input.c (API Change) Remove obs_graphics() 2014-08-08 11:04:45 -07:00

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