Bug 60983 - [chromium] Set tiler layer size explicitly
Summary: [chromium] Set tiler layer size explicitly
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Adrienne Walker
URL:
Keywords:
Depends on:
Blocks: 60719
  Show dependency treegraph
 
Reported: 2011-05-17 13:35 PDT by Adrienne Walker
Modified: 2011-05-17 19:48 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.