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

Description Vangelis Kokkevis 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.
Comment 1 Vangelis Kokkevis 2010-05-24 19:41:59 PDT
Created attachment 56963 [details]
Proposed patch
Comment 2 Darin Fisher (:fishd, Google) 2010-05-25 09:34:43 PDT
Comment on attachment 56963 [details]
Proposed patch

r=me
Comment 3 WebKit Commit Bot 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>
Comment 4 WebKit Commit Bot 2010-05-25 10:03:20 PDT
All reviewed patches have been landed.  Closing bug.