Merge lp:~aacid/qtubuntu/match_function_signature into lp:qtubuntu

Proposed by Albert Astals Cid
Status: Rejected
Rejected by: Gerry Boland
Proposed branch: lp:~aacid/qtubuntu/match_function_signature
Merge into: lp:qtubuntu
Diff against target: 24 lines (+2/-2)
2 files modified
src/ubuntumirclient/glcontext.cpp (+1/-1)
src/ubuntumirclient/glcontext.h (+1/-1)
To merge this branch: bzr merge lp:~aacid/qtubuntu/match_function_signature
Reviewer Review Type Date Requested Status
Unity8 CI Bot continuous-integration Approve
Gerry Boland (community) Disapprove
Review via email: mp+295953@code.launchpad.net

Commit message

Match the function signature of qplatformopenglcontext.h

Makes coverity understand the code

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

Okies!

Revision history for this message
Gerry Boland (gerboland) :
review: Approve
Revision history for this message
Gerry Boland (gerboland) wrote :

My eglconvenience branch completely removes these lines from qtubuntu. This won't be needed shortly. Thanks though

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

PASSED: Continuous integration, rev:
https://unity8-jenkins.ubuntu.com/job/lp-qtubuntu-ci/68/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/1819
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/1840
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-1-sourcepkg/release=vivid+overlay/1780
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-1-sourcepkg/release=xenial+overlay/1780
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-1-sourcepkg/release=yakkety/1780
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=vivid+overlay/1771
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=vivid+overlay/1771/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/1771
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/1771/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=yakkety/1771
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=yakkety/1771/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=vivid+overlay/1771
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=vivid+overlay/1771/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/1771
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/1771/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=yakkety/1771
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=yakkety/1771/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=vivid+overlay/1771
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=vivid+overlay/1771/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/1771
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/1771/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=yakkety/1771
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=yakkety/1771/artifact/output/*zip*/output.zip

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

review: Approve (continuous-integration)

Unmerged revisions

317. By Albert Astals Cid

Match the function signature of qplatformopenglcontext.h

Also makes coverity understand the code

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/ubuntumirclient/glcontext.cpp'
2--- src/ubuntumirclient/glcontext.cpp 2016-04-28 14:09:54 +0000
3+++ src/ubuntumirclient/glcontext.cpp 2016-05-27 13:19:15 +0000
4@@ -219,7 +219,7 @@
5 ubuntuWindow->onSwapBuffersDone();
6 }
7
8-void (*UbuntuOpenGLContext::getProcAddress(const QByteArray& procName)) ()
9+QFunctionPointer UbuntuOpenGLContext::getProcAddress(const QByteArray &procName)
10 {
11 ASSERT(eglBindAPI(api_in_use()) == EGL_TRUE);
12 return eglGetProcAddress(procName.constData());
13
14=== modified file 'src/ubuntumirclient/glcontext.h'
15--- src/ubuntumirclient/glcontext.h 2016-04-28 14:09:54 +0000
16+++ src/ubuntumirclient/glcontext.h 2016-05-27 13:19:15 +0000
17@@ -34,7 +34,7 @@
18 bool makeCurrent(QPlatformSurface *surface) override;
19 void doneCurrent() override;
20 bool isValid() const override { return mEglContext != EGL_NO_CONTEXT; }
21- void (*getProcAddress(const QByteArray& procName)) () override;
22+ QFunctionPointer getProcAddress(const QByteArray &procName) override;
23
24 EGLContext eglContext() const { return mEglContext; }
25

Subscribers

People subscribed via source and target branches