summaryrefslogtreecommitdiffstats
path: root/src/plugins/gstreamer/mediacapture/qgstreamerrecordercontrol.cpp
diff options
context:
space:
mode:
authorVal Doroshchuk <valentyn.doroshchuk@qt.io>2020-05-28 17:35:16 +0200
committerVal Doroshchuk <valentyn.doroshchuk@qt.io>2020-06-10 10:06:22 +0200
commit22ae5eec6314b59c8a969b743a9c05fb184cc9b2 (patch)
tree898464db0d98f53ff7f10dd378c2dc4ed842cfd1 /src/plugins/gstreamer/mediacapture/qgstreamerrecordercontrol.cpp
parentb5a55492a63cb2cda75d6f980acb7fc5ae8dfc22 (diff)
Introduce QAbstractVideoBuffer::MTLTextureHandle
Added MTLTextureHandle to render metal textures. Is used by default if rhi is enabled for metal backend. Also fixed the frame renderer to create new opengl context and use provided one from the video surface as a share context. To remember, when the quick item is created and updatePaintNode is called, current gl context is set to the video surface as a property. When the frame renderer is ready, it extracts the gl context and uses it as a share one. Task-number: QTBUG-78678 Change-Id: I51ce666ca7c2adc10dd2c1d1dfed99cc9f596e2b Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'src/plugins/gstreamer/mediacapture/qgstreamerrecordercontrol.cpp')
0 files changed, 0 insertions, 0 deletions