WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
130990
Double-buffer RemoteLayerBackingStore
https://bugs.webkit.org/show_bug.cgi?id=130990
Summary
Double-buffer RemoteLayerBackingStore
Tim Horton
Reported
2014-03-31 15:19:56 PDT
We'll keep a front and back buffer for each surface; the front is generally currently being displayed in the UI process, and the back is the one we'll paint into. Swap the two surfaces each time we paint; since we synchronize with the UI process, the old front surface will generally be out-of-use by the render server by the time we paint again. However, since render server commits are asynchronous and we have no way to syncronize with them yet, we have to check if the (swapped to front) back buffer is in use, and create a new front buffer if it is. Triple-buffering would solve this problem, as would synchronization with the render server, as would a pool of surfaces - we will revisit these solutions in future patches.
Attachments
patch
(10.57 KB, patch)
2014-03-31 15:20 PDT
,
Tim Horton
simon.fraser
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Tim Horton
Comment 1
2014-03-31 15:20:44 PDT
Created
attachment 228209
[details]
patch
Tim Horton
Comment 2
2014-03-31 16:01:09 PDT
http://trac.webkit.org/changeset/166541
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug