obs-studio/libobs-opengl
jp9000 2dbbffe4a2 Make a number of key optimizations
- Changed glMapBuffer to glMapBufferRange to allow invalidation.  Using
   just glMapBuffer alone was causing some unacceptable stalls.

 - Changed dynamic buffers from GL_DYNAMIC_WRITE to GL_STREAM_WRITE
   because I had misunderstood the OpenGL specification

 - Added _OPENGL and _D3D11 builtin preprocessor macros to effects to
   allow special processing if needed

 - Added fmod support to shaders (NOTE: D3D and GL do not function
   identically with negative numbers when using this.  Positive numbers
   however function identically)

 - Created a planar conversion shader that converts from packed YUV to
   planar 420 right on the GPU without any CPU processing.  Reduces
   required GPU download size to approximately 37.5% of its normal rate
   as well.  GPU usage down by 10 entire percentage points despite the
   extra required pass.
2014-02-16 19:28:21 -07:00
..
GL Remove majority of warnings 2014-02-14 15:13:36 -07:00
.gitignore first commit 2013-09-30 19:37:13 -07:00
CMakeLists.txt Fixed cmake for Windows 2014-01-25 22:26:55 -06:00
gl-cocoa.m I removed GLEW, added glLoadGen (renamed to GL here), and added implementations for all platforms. Hopefully this goes better than GLAD did. 2014-01-25 22:26:43 -06:00
gl-exports.h Make a number of key optimizations 2014-02-16 19:28:21 -07:00
gl-helpers.c Make a number of key optimizations 2014-02-16 19:28:21 -07:00
gl-helpers.h Implement FBO blit texture copy 2014-02-09 11:37:22 -07:00
gl-indexbuffer.c Use bzalloc instead of bmalloc then memset 2014-02-09 12:34:07 -07:00
gl-shader.c Use bzalloc instead of bmalloc then memset 2014-02-09 12:34:07 -07:00
gl-shaderparser.c Make a number of key optimizations 2014-02-16 19:28:21 -07:00
gl-shaderparser.h With the permission of my fellow contributors, I'm switching obs-studio back to GPL v2+ to prevent issues between this project and the original OBS project, and for personal reasons to avoid legal ambiguity (not political reasons, I admittedly would prefer GPL v3+) 2013-12-02 22:24:38 -07:00
gl-stagesurf.c Fix variable placement, not safe with goto usage 2014-02-14 18:23:21 -07:00
gl-subsystem.c Make a number of key optimizations 2014-02-16 19:28:21 -07:00
gl-subsystem.h Optimize GL staging surface and fix mac issue 2014-02-14 18:13:25 -07:00
gl-texture2d.c Use bzalloc instead of bmalloc then memset 2014-02-09 12:34:07 -07:00
gl-texturecube.c Use bzalloc instead of bmalloc then memset 2014-02-09 12:34:07 -07:00
gl-vertexbuffer.c Make a number of key optimizations 2014-02-16 19:28:21 -07:00
gl-windows.c Use bzalloc instead of bmalloc then memset 2014-02-09 12:34:07 -07:00
gl-x11.c Fix a some more linux/GCC specific warnings 2014-02-14 15:56:01 -07:00
gl-zstencil.c Use bzalloc instead of bmalloc then memset 2014-02-09 12:34:07 -07:00