summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/video/qmlvideo/trace.h
diff options
context:
space:
mode:
authorVal Doroshchuk <valentyn.doroshchuk@qt.io>2018-07-26 15:08:28 +0200
committerVal Doroshchuk <valentyn.doroshchuk@qt.io>2019-11-12 13:04:59 +0100
commitf9a576826c0d770aaae8aadbedaf83e1c0b72e0a (patch)
treeaa0069bf51310e0e88e8475338db6449100254b3 /examples/multimedia/video/qmlvideo/trace.h
parent3d33ebd547d5cdc16e6f8700282035ac3b96e604 (diff)
Android: Fix fetching video frame data from the GUI thread5.13
If QAbstractVideoSurface is not used on rendering thread added a way to pass shared opengl context via GLContext surface property. Camera and media players that are created in Qt Quick will usually have their rendering done on the render thread, but the callback for custom video surface(s) (or probes) will usually be handle on the GUI thread, so to make it convenient to for the user to access the frame data, which is rendered on request, we now set-up context sharing and render to a fbo on the calling thread, if needed. Task-number: QTBUG-69333 Change-Id: I4cc5c1f741c82376f1402a047b946b59281c9a4c Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'examples/multimedia/video/qmlvideo/trace.h')
0 files changed, 0 insertions, 0 deletions