Bug 114272 - [BlackBerry][CSS Filters] Blur filter fails to recompute blur size when layer size changes
Summary: [BlackBerry][CSS Filters] Blur filter fails to recompute blur size when layer...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit BlackBerry (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Arvid Nilsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-09 06:00 PDT by Arvid Nilsson
Modified: 2013-04-11 07:35 PDT (History)
9 users (show)

See Also:


Attachments
Patch (7.00 KB, patch)
2013-04-11 03:29 PDT, Arvid Nilsson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Nilsson 2013-04-09 06:00:52 PDT
This seems to happen frequently with CSS filters applied to images - the initial
image size is small, and when the image is fully decoded the surface size
increases to the true image size.

If a surface starts out at 12x12, the blur distance will be computed as 1/12
and that will still be used when the surface increases to the right size.

Can be seen by manual inspection ofLayoutTests/css3/filters/effect-blur-hw.html

PR 323730
Comment 1 Arvid Nilsson 2013-04-11 02:54:46 PDT
"blur size" is the term used in the actual shader
Comment 2 Arvid Nilsson 2013-04-11 03:29:01 PDT
Created attachment 197567 [details]
Patch
Comment 3 Rob Buis 2013-04-11 07:00:36 PDT
Comment on attachment 197567 [details]
Patch

Nice fix.
Comment 4 WebKit Commit Bot 2013-04-11 07:34:57 PDT
Comment on attachment 197567 [details]
Patch

Clearing flags on attachment: 197567

Committed r148201: <http://trac.webkit.org/changeset/148201>
Comment 5 WebKit Commit Bot 2013-04-11 07:35:00 PDT
All reviewed patches have been landed.  Closing bug.