Bug 44094

Summary: [Qt] Short lived shadow buffer for blur operation
Product: WebKit Reporter: Ariya Hidayat <ariya.hidayat>
Component: Layout and RenderingAssignee: Ariya Hidayat <ariya.hidayat>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, eric, kling, krit, webkit.review.bot
Priority: P2 Keywords: HTML5, Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 34479    
Attachments:
Description Flags
Patch kenneth: review+

Description Ariya Hidayat 2010-08-17 01:11:04 PDT
Everytime we need blur shadow, we create and destroy QImage for the scratch buffer. Technically we do not need to do this, we can keep a persistent buffer which has a limited life time so that successive blur will just reuse the same buffer.
Comment 1 Ariya Hidayat 2010-08-18 16:08:09 PDT
Created attachment 64784 [details]
Patch
Comment 2 Andreas Kling 2010-08-18 16:20:10 PDT
Comment on attachment 64784 [details]
Patch

(Informal) LGTM :)
Comment 3 Kenneth Rohde Christiansen 2010-08-18 22:45:27 PDT
Comment on attachment 64784 [details]
Patch

Making it formal :-) r=me

WebCore/ChangeLog:10
 +          we create a buffer which will be automatically purged via a timer.
Maybe this description would be nice to have in the class?
Comment 4 Ariya Hidayat 2010-08-18 23:21:56 PDT
Committed r65654: <http://trac.webkit.org/changeset/65654>
Comment 5 WebKit Review Bot 2010-08-18 23:39:39 PDT
http://trac.webkit.org/changeset/65654 might have broken SnowLeopard Intel Release (Tests)