Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not pass texture ownership to scenegraph in WaylandSurfaceItem
Doing so breaks many simple cases of GL rendering where there is one attach followed by multiple damages. Letting SG destroy the GL texture when deleting the old QSGTexture instance is wrong and results in showing nothing but the very first frame on the screen. Also, SurfaceBuffer does delete the GL texture upon destruction so the ownership should stay with it. This reverts c1ee015, not sure why the change was introduced in the first place. Change-Id: Ie91574daadeeb7214a55f8e32c10d0a316c0e2c8 Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
- Loading branch information