FBO used for webview capture rendered everytime the webview is updated, impacts rendering performance

Bug #1401581 reported by Olivier Tilloy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
webbrowser-app
Fix Released
Medium
Olivier Tilloy
webbrowser-app (Ubuntu)
Fix Released
Undecided
Olivier Tilloy

Bug Description

The current mechanism to implement tab previews in the browser uses a ShaderEffectSource on the WebView, which basically renders the WebView into a FBO. To ensure that the preview is always up-to-date, the 'live' property is set to true as long as the webview is visible, meaning that every pixel visible on screen is rendered twice.

This has a performance impact, which could be minimized if we found a way to have the 'live' property always false, except when a capture is requested.

Alternatively, the capture mechanism could be implemented in oxide, thus achieving a better performance, and removing complexity from the browser itself.

Note that https://code.launchpad.net/~osomon/webbrowser-app/webview-capture/+merge/243034 doesn’t address this specific issue (it doesn’t make it worse either).

Related branches

Olivier Tilloy (osomon)
Changed in webbrowser-app:
status: Triaged → In Progress
Olivier Tilloy (osomon)
Changed in webbrowser-app (Ubuntu):
assignee: nobody → Olivier Tilloy (osomon)
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package webbrowser-app - 0.23+15.04.20150226.1-0ubuntu1

---------------
webbrowser-app (0.23+15.04.20150226.1-0ubuntu1) vivid; urgency=medium

  [ CI Train Bot ]
  * New rebuild forced.

  [ Olivier Tilloy ]
  * Use the new Item::grabToImage() API (new in Qt 5.4) to replace the
    custom ItemCapture element. (LP: #1401581, #1425550)

  [ Robert Bruce Park ]
  * Launchpad automatic translations update.
 -- CI Train Bot <email address hidden> Thu, 26 Feb 2015 18:10:41 +0000

Changed in webbrowser-app (Ubuntu):
status: In Progress → Fix Released
Olivier Tilloy (osomon)
Changed in webbrowser-app:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.