obs-studio/libobs-opengl
Norihiro Kamae 76f7a0c1c0 libobs-opengl: Use PBO in device_stage_texture on macOS
Previously glReadPixels was used to stage surfaces because Mac OS X at
that time supported some hardwares that didn't implement glGetTexImage.
However, OBS Studio now requires OpenGL 3.3 so that glGetTexImage on
macOS should work the same as on Linux.
The code using glReadPixels was introduced at 30af7dc. The minimum
requirements of the original OBS Studio for OSX was 10.8, which supports
hardwares with OpenGL 1.4. However, the function glGetTexImage requires
OpenGL >= 2.0.
2021-11-02 06:05:18 -07:00
..
.gitignore first commit 2013-09-30 19:37:13 -07:00
CMakeLists.txt libobs-opengl: Implement DMA-BUF importing on EGL renderers 2021-02-13 19:48:56 -03:00
gl-cocoa.m libobs: Add texture sharing support for macOS/OpenGL 2020-12-18 17:44:03 +01:00
gl-egl-common.c libobs, libobs-opengl: add drm format param 2021-03-29 17:00:31 -03:00
gl-egl-common.h libobs, libobs-opengl: add drm format param 2021-03-29 17:00:31 -03:00
gl-helpers.c libobs: Add support for volume textures 2019-12-15 14:38:26 -08:00
gl-helpers.h libobs-opengl: OpenGL thread-safety on Mac 2019-12-26 01:45:48 -08:00
gl-indexbuffer.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
gl-nix.c libobs, libobs-opengl: add drm format param 2021-03-29 17:00:31 -03:00
gl-nix.h libobs, libobs-opengl: add drm format param 2021-03-29 17:00:31 -03:00
gl-shader.c libobs: Add dormant SRGB format support 2021-01-21 07:42:13 -08:00
gl-shaderparser.c libobs-opengl: SRGB-safe GLSL path for raw loads 2021-01-19 12:24:36 -08:00
gl-shaderparser.h libobs-opengl: Add sincos to HLSL->GLSL transpile 2020-04-07 23:59:14 -07:00
gl-stagesurf.c libobs-opengl: Use PBO in device_stage_texture on macOS 2021-11-02 06:05:18 -07:00
gl-subsystem.c libobs, libobs-opengl: Consistent near/far undef 2021-10-10 19:12:45 -07:00
gl-subsystem.h libobs-opengl: Fix GS_R10G10B10A2 format 2021-07-11 08:26:29 -07:00
gl-texture2d.c libobs: Add support for volume textures 2019-12-15 14:38:26 -08:00
gl-texture3d.c libobs-opengl: Fix volume texture leak 2020-01-04 01:28:16 -08:00
gl-texturecube.c libobs: Add support for volume textures 2019-12-15 14:38:26 -08:00
gl-vertexbuffer.c libobs-opengl: Empty VAO 2019-06-24 23:13:04 -05:00
gl-wayland-egl.c libobs-opengl: Load EGL via Glad on Wayland platform 2021-09-21 12:57:49 -03:00
gl-wayland-egl.h libobs-opengl: Introduce an EGL/Wayland renderer 2021-02-09 09:39:17 -03:00
gl-windows.c libobs-opengl: OpenGL thread-safety on Mac 2019-12-26 01:45:48 -08:00
gl-x11-egl.c clang-format: Commit file changes for clang-format 12 2021-10-13 20:00:04 +11:00
gl-x11-egl.h libobs-opengl: Introduce the X11/EGL winsys 2021-02-01 19:03:14 -03:00
gl-x11-glx.c libobs, libobs-opengl: add drm format param 2021-03-29 17:00:31 -03:00
gl-x11-glx.h libobs-opengl: Factor out GLX winsys 2021-02-01 19:03:14 -03:00
gl-zstencil.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00