12 EMSCRIPTEN_WEBGL_CONTEXT_HANDLE glContext,
14 : QHwVideoBuffer(QVideoFrame::RhiTextureHandle),
15 m_glTextureHandle(std::move(textureHandle)),
17 m_videoFrameFormat(size, QVideoFrameFormat::Format_RGBA8888),
18 m_glContext(glContext),
20 m_rhiThread(QThread::currentThread())
quint64 textureHandle(QRhi &, int plane) override
void unmap() override
Releases the memory mapped by the map() function.
QWasmGLTextureVideoBuffer::MapData map(QVideoFrame::MapMode) override
Maps the planes of a video buffer to memory.