Bug 182958

Summary: [Cairo] Leverage ShadowBlur without using scratch buffer, target GraphicsContext
Product: WebKit Reporter: Zan Dobersek <zan>
Component: New BugsAssignee: Zan Dobersek <zan>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, cgarcia, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing none

Description Zan Dobersek 2018-02-19 23:44:41 PST
[Cairo] Leverage ShadowBlur without using scratch buffer, target GraphicsContext
Comment 1 Zan Dobersek 2018-02-20 00:37:25 PST
Created attachment 334250 [details]
Patch
Comment 2 Carlos Garcia Campos 2018-02-20 01:06:30 PST
Comment on attachment 334250 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=334250&action=review

> Source/WebCore/platform/graphics/cairo/CairoOperations.cpp:181
> +    if (image) {

Use an early return here.

> Source/WebCore/platform/graphics/cairo/CairoOperations.cpp:237
> +        (GraphicsContext& shadowContext)

Move this to previous line for consistency with other lambdas.
Comment 3 Zan Dobersek 2018-02-20 02:43:35 PST
Created attachment 334256 [details]
Patch for landing
Comment 4 Zan Dobersek 2018-02-20 02:52:18 PST
Comment on attachment 334256 [details]
Patch for landing

Clearing flags on attachment: 334256

Committed r228776: <https://trac.webkit.org/changeset/228776>
Comment 5 Zan Dobersek 2018-02-20 02:52:23 PST
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2018-02-20 02:59:53 PST
<rdar://problem/37702933>