[Qt-interest] Mapping a video on an OpenGL texture

Christophe de Dinechin christophe at taodyne.com
Wed Sep 1 08:16:35 CEST 2010


Is there a supported way with Phonon to map a video on an OpenGL texture? Through debugging, I noticed that at least on the Mac, this is how the Quicktime stream is actually rendered. In other words, internally, Phonon generates an OpenGL texture. However, I have been unable to access that texture efficiently. The only way I found through standard Qt interfaces will render in a QImage along the way, therefore copying every frame from the GPU to the CPU and then back, which is not exactly efficient...



More information about the Qt-interest-old mailing list