Bug 39640

Summary: [chromium] Remove persistent graphics contexts from composited layers
Product: WebKit Reporter: Vangelis Kokkevis <vangelis>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dglazkov, fishd
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Proposed patch none

Vangelis Kokkevis
Reported 2010-05-24 19:22:04 PDT
Each composited layer (LayerChromium's) currently owns a GraphicsContext to which it renders into. This is left over from the days of the software compositing path. A persistent GraphicsContext per layer isn't required anymore (and wasted system memory) as the layer uses a GL texture for backing store.
Attachments
Proposed patch (22.10 KB, patch)
2010-05-24 19:41 PDT, Vangelis Kokkevis
no flags
Vangelis Kokkevis
Comment 1 2010-05-24 19:41:59 PDT
Created attachment 56963 [details] Proposed patch
Darin Fisher (:fishd, Google)
Comment 2 2010-05-25 09:34:43 PDT
Comment on attachment 56963 [details] Proposed patch r=me
WebKit Commit Bot
Comment 3 2010-05-25 10:03:14 PDT
Comment on attachment 56963 [details] Proposed patch Clearing flags on attachment: 56963 Committed r60171: <http://trac.webkit.org/changeset/60171>
WebKit Commit Bot
Comment 4 2010-05-25 10:03:20 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.