Bug 144140 - Make it possible to detach GraphicsLayerCA backing store
Summary: Make it possible to detach GraphicsLayerCA backing store
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-23 20:58 PDT by Simon Fraser (smfr)
Modified: 2015-04-23 21:37 PDT (History)
1 user (show)

See Also:


Attachments
Patch (20.75 KB, patch)
2015-04-23 21:05 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff
For EWS (20.68 KB, patch)
2015-04-23 21:10 PDT, Simon Fraser (smfr)
simon.fraser: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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