[Merge] lp:~gerboland/qtubuntu/adopt-more-eglconvenience2 into lp:qtubuntu

Gerry Boland gerry.boland at canonical.com
Thu May 19 18:00:40 UTC 2016


To test, verify that no visual regressions are evident in the application.

Also, use QT_LOGGING_RULES=ubuntumirclient=true to check things like this:

ubuntumirclient: EGL configuration attributes:
	EGL_BUFFER_SIZE: 32
	EGL_ALPHA_SIZE: 8
	EGL_BLUE_SIZE: 8
	EGL_GREEN_SIZE: 8
	EGL_RED_SIZE: 8
	EGL_DEPTH_SIZE: 24
	EGL_STENCIL_SIZE: 8
which should be the case for all QML apps.

Then, test that the "Actual format" contain:

Actual format: QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior 0, swapInterval 1, profile  0) with associated Mir pixel format: XBGR8888

for applications which do not need proper transparency (note the "Mir pixel format" being XBGR8888 - X=disabled).

But if it does need transparency (can use qmlscene --transparent to test this), it should report ABGR8888 instead.

Note that QML needs the alpha buffer to render correctly. But it is perfectly ok for the compositor to ignore the alpha channel when compositing an opaque surface.
-- 
https://code.launchpad.net/~gerboland/qtubuntu/adopt-more-eglconvenience2/+merge/295248
Your team Ubuntu Phablet Team is requested to review the proposed merge of lp:~gerboland/qtubuntu/adopt-more-eglconvenience2 into lp:qtubuntu.



More information about the Ubuntu-reviews mailing list