Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure surface textures are deleted from the render thread.
Keep a reference to the QWaylandBuffer in QSGTexture instances wrapping that buffer and destroy the texture in their destructor to ensure it is also deleted in the render thread rather than whereever the last reference to QWaylandBuffer expires. Change-Id: Id83d40b6fea7c679d638b9209cdd1a3bdd37e741
- Loading branch information
Showing
1 changed file
with
35 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters