[Webkit-unassigned] [Bug 184879] New: [GTK][WPE] Upload Tile buffers to textures as soon as they are rendered instead of waiting for all the buffers to be rendered
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 23 02:27:33 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=184879
Bug ID: 184879
Summary: [GTK][WPE] Upload Tile buffers to textures as soon as
they are rendered instead of waiting for all the
buffers to be rendered
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Gtk
Assignee: webkit-unassigned at lists.webkit.org
Reporter: magomez at igalia.com
CC: bugs-noreply at webkitgtk.org
Currently all the tile buffers are rendered with cairo and, only after of them are rendered, they are uploaded to textures in the compositor thread. This causes that we have to wait for the upload of all the buffers before performing the composition, which can be a bottleneck. With this patch, the buffers are uploaded as soon as they are rendered, which means that when we want to perform the composition all the textures will be ready. The advantage of this is that we release the buffer memory faster, which will reduce the memory consumption during rendering, and we don't have to wait for the buffer upload before compositing, as we upload the buffers on idle cycles of the compositor thread. The disadvantage is that we increase the usage of video memory, because instead of having a texture front buffer and a normal buffer as the back buffer, we now have 2 textures as the front and back buffers of the tiles.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180423/4358712c/attachment.html>
More information about the webkit-unassigned
mailing list