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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1439133

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to