Bug 39640 - [chromium] Remove persistent graphics contexts from composited layers
Summary: [chromium] Remove persistent graphics contexts from composited layers
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-24 19:22 PDT by Vangelis Kokkevis
Modified: 2010-05-25 10:03 PDT (History)
3 users (show)

See Also:


Attachments
Proposed patch (22.10 KB, patch)
2010-05-24 19:41 PDT, Vangelis Kokkevis
no flags Details | Formatted Diff | Diff

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