lp://staging/~dandrader/qtmir/surviveEmptyTexture
- Get this branch:
- bzr branch lp://staging/~dandrader/qtmir/surviveEmptyTexture
Branch merges
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Gerry Boland (community): Abstain
-
Diff: 125 lines (+22/-17)6 files modifiedsrc/modules/Unity/Application/mirbuffersgtexture.cpp (+7/-2)
src/modules/Unity/Application/mirsurface.cpp (+8/-6)
src/modules/Unity/Application/mirsurface.h (+1/-1)
src/modules/Unity/Application/mirsurfaceinterface.h (+1/-1)
src/modules/Unity/Application/mirsurfaceitem.cpp (+4/-6)
tests/modules/common/fake_mirsurface.h (+1/-1)
Branch information
Recent revisions
- 386. By Daniel d'Andrada
-
MirSurfaceItem: Survive holding a surface with an empty texture
Survive having a surface whose texture holds no mir buffer at all.
Instead of crashing in such situation we simply don't render it. - 383. By Gerry Boland
-
Add "Closing" state to Application, use it to distinguish user-induced close from app-induced close. Don't clear QML cache if user-induced.
Much code taken from a partially-related branch by Nick Dedekind:
https://code.launchpad .net/~nick- dedekind/ qtmir/polite- close/+ merge/262188 Note there is 1 disabled test, which needs additional work to fix. Fixes: #1500372
Approved by: PS Jenkins bot - 382. By Daniel d'Andrada
-
MirSurfaceItem: texture must be manipulated only from the scene graph thread
Do not delete the texture from within the GUI thread ever, even if the
MirSurfaceItem is no longer holding the MirSurface that provided it.
Otherwise you run the risk of having the scene graph thread dereferencing
a pointer to a texture that no longer exists.This also fixes fd leak LP: #1495871 (which was a texture/buffer leak). Fixes: #1495871, #1499388
Approved by: Gerry Boland, PS Jenkins bot - 378. By Cemil Azizoglu
-
Port gl_bind_to_texture to the new TextureSource interface.
Update for Mir 0.16 release.
Approved by: Alan Griffiths
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/qtmir