diff options
author | Pablo Luis Garcia <pablo@skandal.tech> | 2019-08-19 13:58:42 +0200 |
---|---|---|
committer | Andy Shaw <andy.shaw@qt.io> | 2021-03-30 13:24:05 +0200 |
commit | 1c9da622dc7e8ac6fa42f5263a5410098073b662 (patch) | |
tree | 85915ba9a6868adc44845e3c516033570a2a154d /src/plugins/avfoundation/mediaplayer/avfmediaplayermetadatacontrol.h | |
parent | 1994b277bfb5420afbbe814e9cb2ab47e1c45b78 (diff) |
macOS: Fix video rendering on with OpenGL Core profile
CoreAnimation OpenGL renderer only has support for pre 3.0 profiles.
Changed CoreAnimation renderer to use a Metal texture for rendering
and use a pixel buffer to share the texture data with an OpenGL
texture, making it possible to render with 3.2+ profiles.
Fixes: QTBUG-51064
Fixes: QTBUG-62694
Change-Id: I48a4a6e0d8fbc48170dfe82d1e71cd265d70179a
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
(cherry picked from commit abab792c4f0977a4599e5b7b2e97a5ee586fe388)
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/plugins/avfoundation/mediaplayer/avfmediaplayermetadatacontrol.h')
0 files changed, 0 insertions, 0 deletions