← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1439133] [NEW] [MainView] Background color and image rendering is too slow

 

Public bug reported:

The MainView renders at the bottom-most layer a background composed of a
colored rectangle and an image. The way it is currently implemented
implies two fullscreen passes with alpha blending on. This is very slow.
A solution would be to use just one pass using a ShaderEffect or a
dedicated C++ component. Disabling alpha blending (possible since it's
the bottom-most layer) would also provide a good performance boost.
Another idea, if no image needs to be rendered, would be to simply set
the GPU clear color to the background color, to render it for free.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: High
     Assignee: Loïc Molinari (loic.molinari)
         Status: Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1439133

Title:
  [MainView] Background color and image rendering is too slow

Status in ubuntu-ui-toolkit package in Ubuntu:
  Confirmed

Bug description:
  The MainView renders at the bottom-most layer a background composed of
  a colored rectangle and an image. The way it is currently implemented
  implies two fullscreen passes with alpha blending on. This is very
  slow. A solution would be to use just one pass using a ShaderEffect or
  a dedicated C++ component. Disabling alpha blending (possible since
  it's the bottom-most layer) would also provide a good performance
  boost. Another idea, if no image needs to be rendered, would be to
  simply set the GPU clear color to the background color, to render it
  for free.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1439133/+subscriptions


Follow ups

References