Bug 60983

Summary: [chromium] Set tiler layer size explicitly
Product: WebKit Reporter: Adrienne Walker <enne>
Component: WebCore Misc.Assignee: Adrienne Walker <enne>
Severity: Normal CC: alokp, enne, jamesr, vangelis
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 60719    

Description Adrienne Walker 2011-05-17 13:35:27 PDT
Alok's patch for 60719 ran into an issue where image layers are now going through the same path as content layers and are generating a paint rect that is larger than the image size (because the prepare step extends the paint rect to tile boundaries).

It's clear to me that the tiler shouldn't just grow its layer size incrementally.  Root, content, and image layers all know their sizes explicitly.  It seems clearer to just set this ahead of time and clamp edge tile sizes (and thus paint rects) to the layer size.
Comment 1 Adrienne Walker 2011-05-17 19:48:46 PDT
After some thought, I'm not sure this is a useful change.  See comments on 60719 for more details.