GStreamer: Resolve EGL/GLX display and context via QNativeInterface


Replace soon-to-be-deprecated QPlatformNativeInterface-based lookups for
the GStreamer GL plumbing with the typed QNativeInterface accessors.

As drive-by we factor out helper functions and improve the type-safety.

Task-number: QTBUG-149916
Pick-to: 6.12
Change-Id: I5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
commit9be22421d4700ad6e02d08b7bcfaf44116889cd1
parent533290031359d5449a54d04afa28b22c4a945da3
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeThu, 10 Sep 2026 15:08:08 +0000