RESOLVED FIXED 85848
[Chromium] Use ThrottledTextureUploader with threaded compositing.
https://bugs.webkit.org/show_bug.cgi?id=85848
Summary [Chromium] Use ThrottledTextureUploader with threaded compositing.
David Reveman
Reported 2012-05-07 17:36:42 PDT
Attachments
Patch (3.75 KB, patch)
2012-05-07 17:43 PDT, David Reveman
no flags
Patch (1.19 KB, patch)
2012-05-08 10:23 PDT, David Reveman
no flags
Patch (1.42 KB, patch)
2012-05-11 12:45 PDT, David Reveman
no flags
David Reveman
Comment 1 2012-05-07 17:43:27 PDT
James Robinson
Comment 2 2012-05-07 18:00:30 PDT
Comment on attachment 140638 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=140638&action=review > Source/WebCore/platform/graphics/chromium/cc/CCThreadProxy.cpp:808 > + OwnPtr<TextureUploader> uploader = ThrottledTextureUploader::create(m_contextBeforeInitializationOnImplThread.get()); seems odd to create this uploader before we check if initialization is going to succeed or not. Is this ordering intentional - i.e. do we need an uploader to make it through initialization?
David Reveman
Comment 3 2012-05-08 10:17:01 PDT
(In reply to comment #2) > (From update of attachment 140638 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=140638&action=review > > > Source/WebCore/platform/graphics/chromium/cc/CCThreadProxy.cpp:808 > > + OwnPtr<TextureUploader> uploader = ThrottledTextureUploader::create(m_contextBeforeInitializationOnImplThread.get()); > > seems odd to create this uploader before we check if initialization is going to succeed or not. Is this ordering intentional - i.e. do we need an uploader to make it through initialization? Good point. This is odd and need to be fixed. We don't need the uploader to make it through initialization but I also find it a bit odd to give the LRC an uploader instance post initialization that has certain requirements for when to be destroyed. I think the best solution is to do land this change: https://bugs.webkit.org/show_bug.cgi?id=85893 which makes the change required to enable the throttled uploader: s/layerRenderer()->unthrottledTextureUploader()/layerRenderer()->throttledTextureUploader()/ in CCThreadProxy::scheduledActionUpdateMoreResources().
David Reveman
Comment 4 2012-05-08 10:23:56 PDT
David Reveman
Comment 5 2012-05-11 12:45:45 PDT
Created attachment 141478 [details] Patch Rebase
Adrienne Walker
Comment 6 2012-05-11 17:07:55 PDT
Comment on attachment 141478 [details] Patch R=me, since the Chromium side fix is in now and the unit tests all passed.
David Reveman
Comment 7 2012-05-15 19:39:20 PDT
Comment on attachment 141478 [details] Patch Finished the testing I wanted to do. I think this is ready to land.
WebKit Review Bot
Comment 8 2012-05-16 11:31:13 PDT
Comment on attachment 141478 [details] Patch Clearing flags on attachment: 141478 Committed r117312: <http://trac.webkit.org/changeset/117312>
WebKit Review Bot
Comment 9 2012-05-16 11:31:18 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.