RESOLVED FIXED 46199
[chromium] LayerRendererChromium::prepareToDrawLayers logic needs cleanup
https://bugs.webkit.org/show_bug.cgi?id=46199
Summary [chromium] LayerRendererChromium::prepareToDrawLayers logic needs cleanup
Vangelis Kokkevis
Reported 2010-09-21 10:26:10 PDT
There are a couple of issues here: 1. When the window size changes the entire root layer texture must be updated. There's no reason to perform scrolling operations there. 2. When the scroll offset is larger than the size of the page we shouldn't be doing the glCopyPixels as there's no useful pixels to copy from 3. It shouldn't call updateLayersRecursive as that method is actually called right before the layers are drawn in the drawLayers() method.
Attachments
proposed patch (5.11 KB, patch)
2010-09-21 12:10 PDT, Vangelis Kokkevis
no flags
proposed patch - fixed some comments (5.13 KB, patch)
2010-09-21 12:20 PDT, Vangelis Kokkevis
jamesr: review+
Vangelis Kokkevis
Comment 1 2010-09-21 12:10:01 PDT
Created attachment 68272 [details] proposed patch
Vangelis Kokkevis
Comment 2 2010-09-21 12:20:18 PDT
Created attachment 68274 [details] proposed patch - fixed some comments
James Robinson
Comment 3 2010-09-21 12:40:09 PDT
Comment on attachment 68274 [details] proposed patch - fixed some comments Looks good
Vangelis Kokkevis
Comment 4 2010-09-21 12:49:18 PDT
Note You need to log in before you can comment on or make changes to this bug.