Bug 74962 - [Chromium] NativeImageSkia should mark SkBitmaps as immutable
Summary: [Chromium] NativeImageSkia should mark SkBitmaps as immutable
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Justin Novosad
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-20 15:03 PST by Justin Novosad
Modified: 2012-01-05 16:44 PST (History)
4 users (show)

See Also:


Attachments
Patch (5.15 KB, patch)
2011-12-20 15:32 PST, Justin Novosad
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Novosad 2011-12-20 15:03:38 PST
Resized bitmaps, and bitmaps that are finished loading should be marked as immutable since their pixels will remain unchanged for the lifetime of the bitmap.  Setting this flag enables optimizations in Skia.
Comment 1 Justin Novosad 2011-12-20 15:32:58 PST
Created attachment 120099 [details]
Patch
Comment 2 Stephen White 2012-01-05 14:03:23 PST
Comment on attachment 120099 [details]
Patch

OK.  r=me
Comment 3 WebKit Review Bot 2012-01-05 16:44:29 PST
Comment on attachment 120099 [details]
Patch

Clearing flags on attachment: 120099

Committed r104246: <http://trac.webkit.org/changeset/104246>
Comment 4 WebKit Review Bot 2012-01-05 16:44:33 PST
All reviewed patches have been landed.  Closing bug.