RESOLVED FIXED Bug 81552
[chromium] Push culled tiles that are prepainted
https://bugs.webkit.org/show_bug.cgi?id=81552
Summary [chromium] Push culled tiles that are prepainted
Dana Jansens
Reported 2012-03-19 13:32:11 PDT
[chromium] Push culled tiles that are prepainted
Attachments
Patch (5.68 KB, patch)
2012-03-19 13:34 PDT, Dana Jansens
enne: review+
Patch (7.51 KB, patch)
2012-03-19 14:55 PDT, Dana Jansens
no flags
Patch (7.41 KB, patch)
2012-03-19 17:53 PDT, Dana Jansens
no flags
Dana Jansens
Comment 1 2012-03-19 13:34:08 PDT
Dana Jansens
Comment 2 2012-03-19 13:49:05 PDT
To be clear, during an idle paint, we still attempt to VisiblePaint, which would mark the tile culled. Then even though we would actually idle-paint the tile, we would not push it to the impl thread.
Dana Jansens
Comment 3 2012-03-19 14:55:01 PDT
Dana Jansens
Comment 4 2012-03-19 14:56:13 PDT
Comment on attachment 132652 [details] Patch Fix this up a bit. I want a tile to be marked as "updated" ie not culled if it was updated on any pass through prepareToUpdateTiles. Previous version depended on the fact that PaintVisible culled and PaintIdle did not, this one is more robust.
Adrienne Walker
Comment 5 2012-03-19 17:19:17 PDT
Comment on attachment 132652 [details] Patch Looks good to me.
Adrienne Walker
Comment 6 2012-03-19 17:27:40 PDT
Comment on attachment 132678 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=132678&action=review I like this one better too. One small nit: > Source/WebCore/platform/graphics/chromium/TiledLayerChromium.cpp:-432 > - tile->m_updateCulled = true; Can you add an assert(!tile->m_updated) here, since this would cause issues if m_updateRect got touched but somehow m_updated was true?
Dana Jansens
Comment 7 2012-03-19 17:42:46 PDT
Comment on attachment 132678 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=132678&action=review >> Source/WebCore/platform/graphics/chromium/TiledLayerChromium.cpp:-432 >> - tile->m_updateCulled = true; > > Can you add an assert(!tile->m_updated) here, since this would cause issues if m_updateRect got touched but somehow m_updated was true? Yeh, great plan. Thanks.
Dana Jansens
Comment 8 2012-03-19 17:53:04 PDT
WebKit Review Bot
Comment 9 2012-03-19 20:11:01 PDT
Comment on attachment 132737 [details] Patch Clearing flags on attachment: 132737 Committed r111335: <http://trac.webkit.org/changeset/111335>
WebKit Review Bot
Comment 10 2012-03-19 20:11:05 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.