Public bug reported: 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). ** Affects: webbrowser-app Importance: Medium Assignee: Olivier Tilloy (osomon) Status: Triaged -- You received this bug notification because you are a member of Ubuntu WebApps bug tracking, which is subscribed to webbrowser-app. https://bugs.launchpad.net/bugs/1401581 Title: FBO used for webview capture rendered everytime the webview is updated, impacts rendering performance Status in Web Browser App: Triaged 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). To manage notifications about this bug go to: https://bugs.launchpad.net/webbrowser-app/+bug/1401581/+subscriptions -- Mailing list: https://launchpad.net/~ubuntu-webapps-bugs Post to : ubuntu-webapps-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-webapps-bugs More help : https://help.launchpad.net/ListHelp