obs-studio/libobs-opengl
jp9000 be52fa26f9 Add gs_blend_function_separate
This allows the ability to separate the blend states of color and alpha.

The default blend state has also changed so that alpha is always added
together to ensure that the destination image always gets an alpha value
that is actually usable after the operation (for render targets).

Old default state:
  color source: GS_BLEND_SRCALPHA, color dest: GS_BLEND_INVSRCALPHA
  alpha source: GS_BLEND_SRCALPHA, alpha dest: GS_BLEND_INVSRCALPHA

New default state:
  color source: GS_BLEND_SRCALPHA, color dest: GS_BLEND_INVSRCALPHA
  alpha source: GS_BLEND_ONE,      alpha dest: GS_BLEND_ONE
2015-03-27 11:18:02 -07:00
..
.gitignore
CMakeLists.txt Generate proper DL_OPENGL value for linux 2015-02-16 15:28:42 -05:00
gl-cocoa.m (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-helpers.c
gl-helpers.h
gl-indexbuffer.c (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-shader.c libobs-opengl: Do not fail if shader param unused 2015-03-22 18:38:46 -07:00
gl-shaderparser.c
gl-shaderparser.h
gl-stagesurf.c (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-subsystem.c Add gs_blend_function_separate 2015-03-27 11:18:02 -07:00
gl-subsystem.h (API Change) Use const params where applicable 2014-09-26 17:23:07 -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 (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-windows.c Fix windows printf format warnings (from mingw) 2015-02-09 03:49:14 -08:00
gl-x11.c Move from libX11/GLX to XCB/libX11/GLX. 2014-12-19 19:23:08 -08:00
gl-zstencil.c (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00