RESOLVED FIXED 45503
[chromium] Clear only the uploaded portion of the software backing store when in mixed mode
https://bugs.webkit.org/show_bug.cgi?id=45503
Summary [chromium] Clear only the uploaded portion of the software backing store when...
James Robinson
Reported 2010-09-09 17:05:56 PDT
[chromium] Clear only the uploaded portion of the software backing store when in mixed mode
Attachments
Patch (4.57 KB, patch)
2010-09-09 17:10 PDT, James Robinson
kbr: review+
James Robinson
Comment 1 2010-09-09 17:10:13 PDT
Vincent Scheib
Comment 2 2010-09-09 17:30:42 PDT
Looks good to me.
Kenneth Russell
Comment 3 2010-09-09 18:06:40 PDT
Comment on attachment 67121 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=67121&action=prettypatch Looks good overall with a couple of minor issues that can be fixed upon landing. > WebCore/platform/graphics/gpu/Texture.cpp:129 > + for (int y = 0; y < height; y++) { Apparently WebKit style prefers preincrement (++y rather than y++). Note that changing this wouldn't change the functionality of the loop. > WebCore/platform/graphics/skia/PlatformContextSkia.cpp:734 > // Start compositing into the empty canvas. This comment should probably change. > WebCore/platform/graphics/skia/PlatformContextSkia.cpp:818 > + SkRect bounds = {m_softwareDirtyRect.x(), m_softwareDirtyRect.y(), m_softwareDirtyRect.right(), m_softwareDirtyRect.bottom()}; There's a casting operator SkRect() on FloatRect when compiled against Skia.
James Robinson
Comment 4 2010-09-09 19:45:15 PDT
WebKit Review Bot
Comment 5 2010-09-09 20:10:29 PDT
Note You need to log in before you can comment on or make changes to this bug.