[Webkit-unassigned] [Bug 116505] New: Avoid explicit rasterization in RenderBoxModelObject::paintFillLayerExtended()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 20 19:34:39 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=116505

           Summary: Avoid explicit rasterization in
                    RenderBoxModelObject::paintFillLayerExtended()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: BlinkMergeCandidate
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: hyatt at apple.com, simon.fraser at apple.com,
                    dino at apple.com


Consider merging https://chromium.googlesource.com/chromium/blink/+/b0107d990051caf8b544d2c3befc215800655b84

Currently, -webkit-background-clip: text is implemented by drawing the text
content into a mask bitmap allocated in paintFillLayerExtended(). This is
problematic when using impl-side painting on HiDPI devices, because the image
buffer cannot be sized accurately at record time (the device scale factor &
page scale are unknown).

To avoid computing a mask size, this patch replaces explicit bitmap allocation
with Skia saveLayer() calls. This way the actual backing bitmap allocation is
deferred until playback time, when the true resolution is known.

Adding a test to exercise '-webkit-background-clip: text' in non-SourceOver
background compositing mode.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list