gstreamer/subprojects/gst-plugins-base/gst-libs/gst/gl
Piotr Brzeziński ca0d4dd6cc macos: Fix glimagesink not respecting preferred size
Cocoa version of glwindow only checks the preferred size upon window creation. glimagesink sets the size right before
calling gst_gl_window_show(), which might be way after the window is created in some cases. If the size was set too
late, glimagesink on macOS would remain 320x240 unless manually resized.

This change makes sure to resize the existing window when _show() is called.

Curiously, this has always been an issue, but went from manifesting every once in a while to being almost completely
broken once old event loop workarounds were removed and gst_macos_main() was introduced.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6185>
2024-03-06 15:48:03 +00:00
..
android
cocoa macos: Fix glimagesink not respecting preferred size 2024-03-06 15:48:03 +00:00
dispmanx
eagl gl/eagl: ignore OpenGLES deprecation on ios 2023-07-27 13:05:37 +00:00
egl glcontext/egl: Prefer GLES2 over GL/GL3 by default 2023-11-17 15:02:50 +00:00
gbm libs: gl: drop use of GSlice 2023-01-24 15:25:06 +00:00
glprototypes
utils
viv-fb viv-fb: fix build warning of [-Wunused-variable] 2024-01-15 07:24:47 +00:00
wayland gst-launch: accept option to set program name 2024-01-12 17:11:11 +00:00
wgl glcontext_wgl: fix missing unref 2023-04-11 20:05:17 +00:00
win32 vulkan: gl: change symbols to static 2023-03-23 00:56:04 +00:00
winrt meson: Do hard build error for some MSVC warnings 2022-02-16 17:03:29 +00:00
x11 gl/x11: fix memory leak when retrieiving a foreign context's info 2024-02-22 10:24:24 +00:00
gl-prelude.h gl: Add GST_GL_DEPRECATED 2022-02-21 21:26:43 +00:00
gl.h gl/mixer: make fbo instance field private and provide accessor function 2023-05-18 19:34:14 +00:00
gl_mkenum.py
gstgl_enums.h
gstgl_fwd.h
gstglapi.c
gstglapi.h
gstglbasefilter.c gl: basefilter: Ensure we have a context before running allocation query 2024-01-13 10:36:51 +00:00
gstglbasefilter.h
gstglbasememory.c gl: Add/fix various annotations 2022-10-18 08:56:58 +00:00
gstglbasememory.h gl: Add/fix various annotations 2022-10-18 08:56:58 +00:00
gstglbasemixer.c gl: update docs for mixer move 2023-05-18 19:34:15 +00:00
gstglbasemixer.h gl: update docs for mixer move 2023-05-18 19:34:15 +00:00
gstglbasesrc.c glbasesrc: Reverse order of error/debug messages 2023-04-11 12:28:27 +01:00
gstglbasesrc.h
gstglbuffer.c gl: Mark GL memory GType functions as deprecated 2022-02-21 21:26:43 +00:00
gstglbuffer.h gl: Mark GL memory GType functions as deprecated 2022-02-21 21:26:43 +00:00
gstglbufferpool.c gl/bufferpool: add configuration to extend buffer lifetime before reuse 2023-08-31 01:24:38 +00:00
gstglbufferpool.h gl/bufferpool: add configuration to extend buffer lifetime before reuse 2023-08-31 01:24:38 +00:00
gstglcolorconvert.c glcolorconvert: fix wrong RGB to YUV matrix with bt709 2024-01-29 20:38:15 +00:00
gstglcolorconvert.h gl: colorconvert: Add DMA_DRM passtrough support 2024-01-25 20:39:37 +00:00
gstglconfig.h.meson
gstglcontext.c gldisplay: Mark gst_gl_display_create_context() other_context parameter as nullable 2023-01-27 16:22:06 +02:00
gstglcontext.h
gstglcontext_private.h gl/context: disable timer queries for ARM Mali-G52 2022-05-12 00:22:21 +00:00
gstglcontextconfig.c docs/glcontextconfig: rename title to not be GstGLContext 2022-10-19 13:01:06 +00:00
gstglcontextconfig.h
gstglcontextquirks.c gl/context: disable timer queries for ARM Mali-G52 2022-05-12 00:22:21 +00:00
gstgldebug.c
gstgldebug.h
gstgldisplay.c gl/display: fix build warning of [-Wint-in-bool-context] 2024-01-15 07:24:47 +00:00
gstgldisplay.h gl: add support for surfaceless display in GstGL 2023-10-20 12:46:48 +00:00
gstglfeature.c
gstglfeature.h
gstglfeature_private.h
gstglfilter.c glfiter: Protect GstGLContext access 2023-10-18 11:22:31 +00:00
gstglfilter.h
gstglformat.c gl: Add RBGA format support 2023-12-01 12:19:12 +00:00
gstglformat.h gl: expose calculating swizzle indices to/from RGBA/YUVA 2023-07-28 03:29:09 +00:00
gstglframebuffer.c
gstglframebuffer.h
gstglfuncs.h
gstglmemory.c video: Add arbitrary tile dimensions support 2022-11-18 22:59:29 +00:00
gstglmemory.h gl: Add RBGA format support 2023-12-01 12:19:12 +00:00
gstglmemorypbo.c gl: Mark GL memory GType functions as deprecated 2022-02-21 21:26:43 +00:00
gstglmemorypbo.h gl: Mark GL memory GType functions as deprecated 2022-02-21 21:26:43 +00:00
gstglmixer.c gl/mixer: use the pad's video info instead of creating our own 2023-09-07 02:12:29 +00:00
gstglmixer.h gl: update docs for mixer move 2023-05-18 19:34:15 +00:00
gstgloverlaycompositor.c gloverlaycompositor: Add GL sync point when uploading overlays 2023-11-07 00:32:39 +01:00
gstgloverlaycompositor.h
gstglpixelformat.c
gstglquery.c
gstglquery.h
gstglrenderbuffer.c gl: Mark GL memory GType functions as deprecated 2022-02-21 21:26:43 +00:00
gstglrenderbuffer.h gl: Mark GL memory GType functions as deprecated 2022-02-21 21:26:43 +00:00
gstglshader.c Fix various warnings from gobject-introspection 2022-10-25 09:45:25 +03:00
gstglshader.h
gstglshaderstrings.c gl: Add #ifndef GST_REMOVE_DEPRECATED for existing deprecated API 2022-02-21 21:26:43 +00:00
gstglshaderstrings.h gl: Replace existing G_DEPRECATED_FOR usage with GST_GL_DEPRECATED_FOR 2022-02-21 21:26:43 +00:00
gstglsl.c gl: Add/fix various annotations 2022-10-18 08:56:58 +00:00
gstglsl.h
gstglsl_private.h
gstglslstage.c
gstglslstage.h
gstglsyncmeta.c
gstglsyncmeta.h
gstglupload.c gl: upload: Add DMA_DRM passthrough upload 2024-01-25 20:39:37 +00:00
gstglupload.h gl: upload: Implement the fixate_caps virtual function 2023-10-18 19:56:30 +00:00
gstglutils.c video: Add arbitrary tile dimensions support 2022-11-18 22:59:29 +00:00
gstglutils.h glutils: Export affine transformation functions for gtkglsink 2021-10-12 20:27:34 +00:00
gstglutils_private.h glutils: Export affine transformation functions for gtkglsink 2021-10-12 20:27:34 +00:00
gstglviewconvert.c gl: Add/fix various annotations 2022-10-18 08:56:58 +00:00
gstglviewconvert.h
gstglwindow.c gl: add support for surfaceless display in GstGL 2023-10-20 12:46:48 +00:00
gstglwindow.h
gstglwindow_private.h
meson.build gl: add support for surfaceless display in GstGL 2023-10-20 12:46:48 +00:00