← Back to team overview

touch-packages team mailing list archive

[Bug 1458609] Re: Requested window surface format is ignored

 

** Branch linked: lp:~loic.molinari/qtubuntu/qtubuntu-requested-surface-
format-fix

** Description changed:

- QPlatformIntegration::createPlatformWindow() is given a QWindow with an
- associated QSurfaceFormat describing the surface format (and options
- like the swap interval) requested by the user. This is currently ignored
- by QtUbuntu which always creates an ARGB8888 surface.
+ QPlatformIntegration::createOpenGLContext() and
+ QPlatformIntegration::createPlatformWindow()are given a QSurfaceFormat
+ describing the format (and other options like the swap interval)
+ requested by the user. This is currently ignored by QtUbuntu which
+ always creates an ARGB8888 context and an ARGB surface.
  
- On top of that, it should also tell Mir whether the requested surface is
- opaque or not and allow compositing optimization by rendering opaque
- surfaces front-to-back with depth write/test on (early z-culling) and
- blending off.
+ Telling mir whether the requested surface is opaque or not allows
+ compositing optimization by rendering opaque surfaces front-to-back with
+ depth write/test on (early z-culling) and blending off.

** Changed in: qtubuntu (Ubuntu)
     Assignee: (unassigned) => Loïc Molinari (loic.molinari)

** Changed in: qtubuntu (Ubuntu)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtubuntu in Ubuntu.
https://bugs.launchpad.net/bugs/1458609

Title:
  Requested window surface format is ignored

Status in qtubuntu package in Ubuntu:
  In Progress

Bug description:
  QPlatformIntegration::createOpenGLContext() and
  QPlatformIntegration::createPlatformWindow()are given a QSurfaceFormat
  describing the format (and other options like the swap interval)
  requested by the user. This is currently ignored by QtUbuntu which
  always creates an ARGB8888 context and an ARGB surface.

  Telling mir whether the requested surface is opaque or not allows
  compositing optimization by rendering opaque surfaces front-to-back
  with depth write/test on (early z-culling) and blending off.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtubuntu/+bug/1458609/+subscriptions


References