How can I map the saved texture directly to the QuickItem and display it?

In my C Qt app

, C++

I am using a derived class QQuickItem

to display the textures that are produced on every render of a frame, by running some filters on every render of a frame. it works great.

Then I used the method takeTexture

provided QOpenGLFramebufferObject

to save some textures and display them when needed. These saved textures are of type GLuint

s. I can render it back using the normal OpenGL rendering pipeline. It works well.

But is there a way to avoid the calls to the render pipeline and map that saved texture in GPU memory directly to mineQQuickItem

?

+1


source to share





All Articles