[Interest] Utilizing the GPU, how to start?
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Fri Jul 8 19:11:06 CEST 2016
Il 06/07/2016 18:19, Jason H ha scritto:
> What others have not said:
> I did extensive testing of Qt Quick1 with video playback.
This is a chapter on its own. (By the way, Qt Quick 1 is still
widget-based...)
In case of video playback, there's much more going on than using the GPU
for displaying the video. You want to use the GPU also to decode the
video stream (using whatever native APIs you have on your system) and,
in order to display it, it's not guaranteed at all the using OpenGL is
actually the best way.
Other overlaying solutions are usually much, much better
performance-wise (e.g. VDPAU). But: they don't allow you to embed the
video in arbitrary UI hierarchies. Media players usually have very
complex setups in order to be able to switch between presentation
backends when f.i. you set a videoplayer full screen rather than windowed.
Cheers,
--
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908
KDAB - The Qt Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4007 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160708/1523df82/attachment.bin>
More information about the Interest
mailing list