Merge lp://staging/~nick-dedekind/qtmir/multiwindow.textures into lp://staging/qtmir

Proposed by Nick Dedekind
Status: Needs review
Proposed branch: lp://staging/~nick-dedekind/qtmir/multiwindow.textures
Merge into: lp://staging/qtmir
Prerequisite: lp://staging/~unity-team/qtmir/qtmir.api
Diff against target: 834 lines (+353/-131)
12 files modified
debian/changelog (+2/-1)
src/modules/Unity/Application/CMakeLists.txt (+1/-0)
src/modules/Unity/Application/compositortextureprovider.cpp (+87/-0)
src/modules/Unity/Application/compositortextureprovider.h (+77/-0)
src/modules/Unity/Application/mirsurface.cpp (+99/-78)
src/modules/Unity/Application/mirsurface.h (+11/-9)
src/modules/Unity/Application/mirsurfaceinterface.h (+5/-5)
src/modules/Unity/Application/mirsurfaceitem.cpp (+39/-22)
src/modules/Unity/Application/mirsurfaceitem.h (+2/-2)
tests/framework/fake_mirsurface.cpp (+9/-9)
tests/framework/fake_mirsurface.h (+5/-5)
tests/modules/WindowManager/mirsurface_test.cpp (+16/-0)
To merge this branch: bzr merge lp://staging/~nick-dedekind/qtmir/multiwindow.textures
Reviewer Review Type Date Requested Status
Unity8 CI Bot (community) continuous-integration Approve
Daniel d'Andrada (community) Needs Fixing
Review via email: mp+316864@code.staging.launchpad.net

This proposal supersedes a proposal from 2017-02-07.

Commit message

Multiple compositor support for surface textures.

To post a comment you must log in.
Revision history for this message
Gerry Boland (gerboland) wrote : Posted in a previous version of this proposal

+ int curentFrame()
MirSurface::setTexturePorvider
typos

+ int m_currentFrameNumber;
unsigned would help, would give 136 years at 60fps instead of 68 :)

Overall, this looks ok. I'm curious about one thing. We're using Mir's user_id thing, passing it to generate_renderables for each display. I am curious if that returns a single texture to be shared between each display - or a distinct texture per display. If the later, I would wonder why, and we (later) might try eradicating the copy and just share one, to save GPU memory.

Revision history for this message
Daniel d'Andrada (dandrader) wrote : Posted in a previous version of this proposal

Worth checking how this affects the new frame dropping implementation in MirSurface

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :
review: Needs Fixing (continuous-integration)
596. By Nick Dedekind

merged parent

597. By Nick Dedekind

merged parent

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:597
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/491/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4077
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4105
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/3945
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/3945/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/3945
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/3945/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/3945
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/3945/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/3945
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/3945/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/3945
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/3945/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/3945
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/3945/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/491/rebuild

review: Approve (continuous-integration)
598. By Nick Dedekind

merged parent

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:598
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/494/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4085
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4113
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/3953
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/3953/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/3953
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/3953/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/3953
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/3953/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/3953
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/3953/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/3953
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/3953/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/3953
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/3953/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/494/rebuild

review: Approve (continuous-integration)
599. By Nick Dedekind

merged parent

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

FAILED: Continuous integration, rev:599
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/502/
Executed test runs:
    FAILURE: https://unity8-jenkins.ubuntu.com/job/build/4100/console
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4128
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/3968
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/3968/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/3968
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/3968/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/3968
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/3968/artifact/output/*zip*/output.zip
    FAILURE: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/3968/console
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/3968
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/3968/artifact/output/*zip*/output.zip
    FAILURE: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/3968/console

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/502/rebuild

review: Needs Fixing (continuous-integration)
600. By Nick Dedekind

merged with parent

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:600
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/520/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4167
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4195
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4032
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4032/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4032
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4032/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4032
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4032/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4032
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4032/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4032
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4032/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4032
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4032/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/520/rebuild

review: Approve (continuous-integration)
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

Missing https://wiki.ubuntu.com/Process/Merges/Checklists/QtMir

Missing copyright headers in src/modules/Unity/Application/compositortextureprovider.*

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

In src/modules/Unity/Application/CMakeLists.txt:

"""
     windowmodel.cpp
+ compositortextureprovider.cpp
 # We need to run moc on these headers
"""

Please try to put it as close as you can to an alphabetical order (thus near the top of that list).

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

The cyclic dependency between MirSurfaceItem and its SurfaceItemTextureProvider looks unnecessary. Can't the former can update the latter upon QQuickItem::smoothChanged()?

That might even lead to more correct code as it will update SurfaceItemTextureProvider's filtering in more situations than the current implementation.

review: Needs Information
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

"""
+++ src/modules/Unity/Application/mirsurface.cpp 2017-02-22 11:48:55 +0000
@@ -20,6 +20,7 @@
 #include "session_interface.h"
 #include "timer.h"
 #include "timestamp.h"
+#include "compositortextureprovider.h"

"""

Again, striving for an alphabetical order would be nice.

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

In MirSurface::dropPendingBuffer() looks like you're replacing it with its old implementation. Is that intentional? If not, please update the current implementation to work with that new multi-texture scenario.

review: Needs Information
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

If you could keep MirSurface::updateTextureLocked in the same location as MirSurface::updateTexture we would get a better diff, since the former is essentially a slightly modified version of the latter, right?

Revision history for this message
Nick Dedekind (nick-dedekind) wrote :

> The cyclic dependency between MirSurfaceItem and its
> SurfaceItemTextureProvider looks unnecessary. Can't the former can update the
> latter upon QQuickItem::smoothChanged()?
>
> That might even lead to more correct code as it will update
> SurfaceItemTextureProvider's filtering in more situations than the current
> implementation.

Where is there a cyclic dependency? The items texture is dependant on the items smooth property.

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

> > The cyclic dependency between MirSurfaceItem and its
> > SurfaceItemTextureProvider looks unnecessary. Can't the former can update
> the
> > latter upon QQuickItem::smoothChanged()?
> >
> > That might even lead to more correct code as it will update
> > SurfaceItemTextureProvider's filtering in more situations than the current
> > implementation.
>
> Where is there a cyclic dependency?

Item has TextureProvider and TextureProvider has Item.

Revision history for this message
Nick Dedekind (nick-dedekind) wrote :

> In MirSurface::dropPendingBuffer() looks like you're replacing it with its old
> implementation. Is that intentional? If not, please update the current
> implementation to work with that new multi-texture scenario.

It was intentional.
Your reason for changing the code was "Make frame dropper work even when there's no texture around".
In this impl for the frame dropper we iterate over the textures which we have already generated and update the texture. We wouldn't have any renderables for something we hadn't requested (and therefore have a texture).

601. By Nick Dedekind

review comments

Revision history for this message
Nick Dedekind (nick-dedekind) wrote :

> > > The cyclic dependency between MirSurfaceItem and its
> > > SurfaceItemTextureProvider looks unnecessary. Can't the former can update
> > the
> > > latter upon QQuickItem::smoothChanged()?
> > >
> > > That might even lead to more correct code as it will update
> > > SurfaceItemTextureProvider's filtering in more situations than the current
> > > implementation.
> >
> > Where is there a cyclic dependency?
>
> Item has TextureProvider and TextureProvider has Item.

Removed. Added TextureProvider::setSmooth

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:601
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/523/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4173
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4201
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4038
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4038/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4038
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4038/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4038
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4038/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4038
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4038/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4038
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4038/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4038
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4038/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/523/rebuild

review: Approve (continuous-integration)
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

> > In MirSurface::dropPendingBuffer() looks like you're replacing it with its
> old
> > implementation. Is that intentional? If not, please update the current
> > implementation to work with that new multi-texture scenario.
>
> It was intentional.
> Your reason for changing the code was "Make frame dropper work even when
> there's no texture around".
> In this impl for the frame dropper we iterate over the textures which we have
> already generated and update the texture. We wouldn't have any renderables for
> something we hadn't requested (and therefore have a texture).

What you're explaining is the wrong assumption that the previous implementation had.

The problematic case is this: When closing and application, QSG might have already freed the texture by the time you try to drop the pending surface frame. Since there's no texture anymore, updateTexture() fails to consume the frame.

The client application will then get stuck on swap_buffers(), unable to consume the pending close_surface event coming from mir.

See https://code.launchpad.net/~dandrader/qtmir/frameDropperNoTexture/+merge/315911 for details

602. By Nick Dedekind

merged with parent

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:602
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/539/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4268
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4296
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4130
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4130/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4130
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4130/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4130
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4130/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4130
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4130/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4130
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4130/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4130
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4130/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/539/rebuild

review: Approve (continuous-integration)
603. By Nick Dedekind

use newer drop frame algorithm

Revision history for this message
Nick Dedekind (nick-dedekind) wrote :

> > > In MirSurface::dropPendingBuffer() looks like you're replacing it with its
> > old
> > > implementation. Is that intentional? If not, please update the current
> > > implementation to work with that new multi-texture scenario.
> >
> > It was intentional.
> > Your reason for changing the code was "Make frame dropper work even when
> > there's no texture around".
> > In this impl for the frame dropper we iterate over the textures which we
> have
> > already generated and update the texture. We wouldn't have any renderables
> for
> > something we hadn't requested (and therefore have a texture).
>
> What you're explaining is the wrong assumption that the previous
> implementation had.
>
> The problematic case is this: When closing and application, QSG might have
> already freed the texture by the time you try to drop the pending surface
> frame. Since there's no texture anymore, updateTexture() fails to consume the
> frame.
>
> The client application will then get stuck on swap_buffers(), unable to
> consume the pending close_surface event coming from mir.
>
> See https://code.launchpad.net/~dandrader/qtmir/frameDropperNoTexture/+merge/3
> 15911 for details

I see! I've changed it to match the current impl + multiple textures.

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:603
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/562/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4367
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4395
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4228
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4228/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4228
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4228/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4228
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4228/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4228
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4228/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4228
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4228/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4228
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4228/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/562/rebuild

review: Approve (continuous-integration)
604. By Nick Dedekind

merged with parent

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:604
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/564/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4389
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4417
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4250
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4250/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4250
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4250/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4250
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4250/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4250
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4250/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4250
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4250/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4250
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4250/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/564/rebuild

review: Approve (continuous-integration)
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

Since CompositorTexture is only meant to be created and filled in by CompositorTextureProvider, it makes sense to make its constructor and setTexture methods private and declaring CompositorTextureProvider its friend. That would make roles more clear when you read the header

review: Needs Fixing
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

That would simplify your code:
http://pastebin.ubuntu.com/24151803/

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

MirSurface::dropPendingBuffer() is looking good now. Thanks!

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

> That would simplify your code:
> http://pastebin.ubuntu.com/24151803/

Actually not, as the new texture would lose its only strong ref when leaving the if(){}
Ignore me. :)

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

> Since CompositorTexture is only meant to be created and filled in by
> CompositorTextureProvider, it makes sense to make its constructor and
> setTexture methods private and declaring CompositorTextureProvider its friend.
> That would make roles more clear when you read the header

Aside from this nit, code looks good and unity8 still works.

605. By Nick Dedekind

merged parent

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:605
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/585/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4510
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4538
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4365
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4365/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4365
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4365/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4365
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4365/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4365
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4365/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4365
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4365/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4365
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4365/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/585/rebuild

review: Approve (continuous-integration)
606. By Nick Dedekind

merged with parent

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:606
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/593/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4558
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4586
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4412
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4412/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4412
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4412/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4412
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4412/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4412
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4412/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4412
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4412/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4412
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4412/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/593/rebuild

review: Approve (continuous-integration)
Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :
review: Needs Fixing (continuous-integration)
607. By Nick Dedekind

merged parent

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

FAILED: Continuous integration, rev:607
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/624/
Executed test runs:
    FAILURE: https://unity8-jenkins.ubuntu.com/job/build/4660/console
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4688
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4511
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4511/artifact/output/*zip*/output.zip
    FAILURE: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4511/console
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4511
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4511/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4511
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4511/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4511
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4511/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4511
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4511/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/624/rebuild

review: Needs Fixing (continuous-integration)
608. By Nick Dedekind

Compositor texture privates

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:608
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/639/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4721
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4749
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4572
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4572/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4572
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4572/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4572
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4572/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4572
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4572/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4572
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4572/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4572
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4572/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/639/rebuild

review: Approve (continuous-integration)
Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :
review: Needs Fixing (continuous-integration)
609. By Nick Dedekind

merged with parent

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:609
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/658/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4826
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4854
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4665
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4665/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4665
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4665/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4665
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4665/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4665
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4665/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4665
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4665/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4665
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4665/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/658/rebuild

review: Approve (continuous-integration)
610. By Nick Dedekind

merged pre-req

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:610
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/662/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4859
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4887
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4698
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4698/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4698
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4698/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4698
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4698/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4698
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4698/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4698
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4698/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4698
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4698/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/662/rebuild

review: Approve (continuous-integration)
611. By Nick Dedekind

merged pre-req

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:611
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/667/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4893
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4921
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4729
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4729/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4729
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4729/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4729
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4729/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4729
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4729/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4729
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4729/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4729
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4729/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/667/rebuild

review: Approve (continuous-integration)
612. By Nick Dedekind

changelog

613. By Nick Dedekind

changelog

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:613
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/672/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4913
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4941
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4749
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4749/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4749
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4749/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4749
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4749/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4749
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4749/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4749
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4749/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4749
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4749/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/672/rebuild

review: Approve (continuous-integration)

Unmerged revisions

613. By Nick Dedekind

changelog

612. By Nick Dedekind

changelog

611. By Nick Dedekind

merged pre-req

610. By Nick Dedekind

merged pre-req

609. By Nick Dedekind

merged with parent

608. By Nick Dedekind

Compositor texture privates

607. By Nick Dedekind

merged parent

606. By Nick Dedekind

merged with parent

605. By Nick Dedekind

merged parent

604. By Nick Dedekind

merged with parent

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches