Mir

Merge lp://staging/~robertcarr/mir/nested-dont-require-opaque-surface into lp://staging/mir

Proposed by Robert Carr
Status: Rejected
Rejected by: Robert Carr
Proposed branch: lp://staging/~robertcarr/mir/nested-dont-require-opaque-surface
Merge into: lp://staging/mir
Diff against target: 17 lines (+4/-1)
1 file modified
src/server/graphics/nested/nested_display.cpp (+4/-1)
To merge this branch: bzr merge lp://staging/~robertcarr/mir/nested-dont-require-opaque-surface
Reviewer Review Type Date Requested Status
Daniel van Vugt Needs Fixing
Alan Griffiths Abstain
Kevin DuBois (community) Needs Information
Michael Terry (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+196026@code.staging.launchpad.net

Commit message

nested mir: Do not require an opaque surface format.It seems one is not available on the n4

Description of the change

nested mir: Do not require an opaque surface format. It seems one is not available on the n4

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Michael Terry (mterry) wrote :

Tested and it works for me.

review: Approve
Revision history for this message
Kevin DuBois (kdub) wrote :

i'm still wondering about why we had nested selecting an opaque pixel format in the first place... is there something in the compositor that needs to change too?

review: Needs Information
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I think your assertion is out of date. Nexus4 acquired an opaque pixel format recently in r1229 which resolved bug 1240833.

As such, I don't think this is required any more (?)

review: Disapprove
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

I don't think opaque is a hard requirement - but is desirable for a desktop session (as we'd like to enable bypass).

The current code is a simplistic POC that got nested running. (Although we're still waiting for some supporting elements - e.g. in Mesa - to land.)

I don't like this approach but, if it is actually useful, don't really mind it landing either.

Going forward I'd prefer to see a mechanism by which the client code can identify an acceptable format for frame buffers.

review: Abstain
Revision history for this message
Michael Terry (mterry) wrote :

> I think your assertion is out of date. Nexus4 acquired an opaque pixel format recently in r1229 which resolved bug 1240833.
>
> As such, I don't think this is required any more (?)

Oh, hm. I bet you are right. I reported this problem to Robert based on libmirserver10, which didn't include that fix. Looks like that fix will land in libmirserver11.

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

> > I think your assertion is out of date. Nexus4 acquired an opaque pixel
> > format recently in r1229 which resolved bug 1240833.
> >
> > As such, I don't think this is required any more (?)
>
> Oh, hm. I bet you are right. I reported this problem to Robert based on
> libmirserver10, which didn't include that fix. Looks like that fix will land
> in libmirserver11.

libmirserver11 is based on r1192 (which is somewhat earlier)

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Reviewing the change again, in context, it actually looks almost harmless despite not really being required any more.

Although if it were to land then we might have to fix this too:
    EGL_ALPHA_SIZE, 0,

review: Needs Fixing

Unmerged revisions

1245. By Robert Carr

nested mir: Do not require an opaque surface format.It seems one is not available on the n4

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