Bug 144140

Summary: Make it possible to detach GraphicsLayerCA backing store
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
For EWS simon.fraser: review+

Description Simon Fraser (smfr) 2015-04-23 20:58:25 PDT
Make it possible to detach GraphicsLayerCA backing store
Comment 1 Simon Fraser (smfr) 2015-04-23 21:05:04 PDT
Created attachment 251532 [details]
Patch
Comment 2 Tim Horton 2015-04-23 21:07:54 PDT
Comment on attachment 251532 [details]
Patch

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

> Source/WebCore/platform/graphics/ca/mac/PlatformCALayerMac.mm:599
> +    // We could throw away backing store here with setContents:nil.

But would prefer to do something better where it just becomes volatile?
Comment 3 Simon Fraser (smfr) 2015-04-23 21:10:54 PDT
Created attachment 251533 [details]
For EWS
Comment 4 Simon Fraser (smfr) 2015-04-23 21:37:46 PDT
https://trac.webkit.org/r183242