问题
In my Qt app
with C++
, I am using a QQuickItem
derived class to display textures which are produced on every frame render by running some filters on each frame render. this works fine.
Next, I used the takeTexture
method provided by QOpenGLFramebufferObject
to save some textures & display them back whenever required. These saved textures are of type GLuint
s. I am able to display it back using the normal OpenGL rendering pipeline. It works well.
But, Is there a way I can avoid the rendering pipeline calls & map this saved texture on GPU memory directly to my QQuickItem
?
来源:https://stackoverflow.com/questions/42538001/how-to-map-a-saved-texture-directly-on-a-quickitem-display-it