Review Request 117824: Discard window thumbnail pixmap after texture got destroyed by SceneGraph

David Edmundson david at davidedmundson.co.uk
Tue Apr 29 12:55:22 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/117824/#review56895
-----------------------------------------------------------



src/declarativeimports/core/windowthumbnail.cpp
<https://git.reviewboard.kde.org/r/117824/#comment39672>

    It seems more like you need to pass the arg:
    QQuickWindow::TextureOwnsGLTexture
    as you keep it in a QScopedPointer and will delete it yourselves


- David Edmundson


On April 28, 2014, 9:07 a.m., Martin Gräßlin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/117824/
> -----------------------------------------------------------
> 
> (Updated April 28, 2014, 9:07 a.m.)
> 
> 
> Review request for Plasma and Alexander Richardson.
> 
> 
> Bugs: 333482
>     http://bugs.kde.org/show_bug.cgi?id=333482
> 
> 
> Repository: plasma-framework
> 
> 
> Description
> -------
> 
> Discard window thumbnail pixmap after texture got destroyed by SceneGraph
> 
> If the window holding the WindowThumbnail item goes away the texture hold
> by the node is destroyed but our bound window pixmap is not yet freed.
> This results in incorrect state the next time the WindowThumbnail is
> shown.
> 
> To get back into a clean state discardPixmap() is called if there is no
> texture but a bound low level pixmap.
> 
> BUG: 333482
> 
> 
> Diffs
> -----
> 
>   src/declarativeimports/core/windowthumbnail.cpp d1a7fef1fc5fd119592710d80274d2abe0c8b3b1 
> 
> Diff: https://git.reviewboard.kde.org/r/117824/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Martin Gräßlin
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140429/833147f2/attachment.html>


More information about the Plasma-devel mailing list