Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Issue 1218013003: Keep a cache of caret painters to avoid recomputing all the time. (Closed)

Created:
5 years, 5 months ago by jbroman
Modified:
5 years, 5 months ago
Reviewers:
pdr.
CC:
blink-reviews, pdr+renderingwatchlist_chromium.org, zoltan1, szager+layoutwatch_chromium.org, eae+blinkwatch, leviw+renderwatch, slimming-paint-reviews_chromium.org, blink-reviews-rendering, jchaffraix+rendering, blink-reviews-paint_chromium.org, dshwang
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Keep a cache of caret painters to avoid recomputing all the time. PaintDataCache lives throughout the lifetime of a high-level paint call, and caches data which isn't safe to cache long term, but doesn't change during the paint lifecycle phase.

Patch Set 1 #

Patch Set 2 : a shade of deduplication blue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -46 lines) Patch
M Source/core/core.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp View 3 chunks +8 lines, -6 lines 0 comments Download
M Source/core/paint/BlockPainter.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/paint/BlockPainter.cpp View 1 4 chunks +21 lines, -33 lines 0 comments Download
M Source/core/paint/DeprecatedPaintLayerPainter.cpp View 4 chunks +5 lines, -3 lines 0 comments Download
M Source/core/paint/DeprecatedPaintLayerPaintingInfo.h View 3 chunks +4 lines, -1 line 0 comments Download
A Source/core/paint/PaintDataCache.h View 1 1 chunk +46 lines, -0 lines 0 comments Download
A Source/core/paint/PaintDataCache.cpp View 1 1 chunk +32 lines, -0 lines 0 comments Download
M Source/core/paint/PaintInfo.h View 4 chunks +7 lines, -1 line 0 comments Download
M Source/core/paint/ReplicaPainter.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (1 generated)
jbroman
I'm kinda loath to add yet another kind of caching, but on the other hand ...
5 years, 5 months ago (2015-07-03 13:24:45 UTC) #2
pdr.
On 2015/07/03 at 13:24:45, jbroman wrote: > I'm kinda loath to add yet another kind ...
5 years, 5 months ago (2015-07-03 20:07:10 UTC) #3
jbroman
On 2015/07/03 20:07:10, pdr wrote: > On 2015/07/03 at 13:24:45, jbroman wrote: > > I'm ...
5 years, 5 months ago (2015-07-06 15:03:40 UTC) #4
jbroman
On 2015/07/06 15:03:40, jbroman wrote: > On 2015/07/03 20:07:10, pdr wrote: > > On 2015/07/03 ...
5 years, 5 months ago (2015-07-07 15:22:04 UTC) #5
jbroman
5 years, 5 months ago (2015-07-07 20:57:39 UTC) #6
https://codereview.chromium.org/1226833007/ has LGTM; closing this CL.

Powered by Google App Engine
This is Rietveld 408576698