Mir

Merge lp://qastaging/~albaguirre/mir/move-gl-program into lp://qastaging/mir

Proposed by Alberto Aguirre
Status: Merged
Approved by: Alan Griffiths
Approved revision: no longer in the source branch.
Merged at revision: 1609
Proposed branch: lp://qastaging/~albaguirre/mir/move-gl-program
Merge into: lp://qastaging/mir
Diff against target: 46 lines (+4/-4)
3 files modified
src/platform/graphics/CMakeLists.txt (+1/-0)
src/platform/graphics/gl_program.cpp (+3/-3)
src/server/graphics/CMakeLists.txt (+0/-1)
To merge this branch: bzr merge lp://qastaging/~albaguirre/mir/move-gl-program
Reviewer Review Type Date Requested Status
Alan Griffiths Approve
Daniel van Vugt Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+218674@code.qastaging.launchpad.net

Commit message

GLProgram should be part of platform/graphics (LP: #1317200)

Description of the change

GLProgram should be part of platform/graphics (LP: #1317200)

OverlayGLProgram uses a unique_ptr<mir::graphics::GLProgram> which needs the definition of ~GLProgram()
GLProgram currently compiles into mirgraphics which is GPL - libmirplatformgraphics should not link against mirgraphics so this MP moves GLProgram to src/platform/graphics

Alternatively it could live in a LGPL sharedgraphics library perhaps under src/shared/graphics

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
Daniel van Vugt (vanvugt) wrote :

I'm a bit confused by our overuse of generic (meaningless) words like "platform" and "graphics". It's not yet clear to me what the right place for GLProgram is until I dig into it.

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

Alright, after a bit more analysis I agree this is the right answer.

Argue about our library design another day...

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

Yes. This matches the "licensing" plans. (Which we ought to write up in a public document instead of hearsay and notes from internal discussions/.)

review: Approve

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